1

I only have one simple question: How to customize the /Debian and the menu design in openbox.

This link here shows an Openbox menu that has a black title in it. How do I do that?

And the /Debian thing, is missing too many applications like Web Browser and doesn't even have icons. How can I make it update, and seperate the directories in /Debian out like CrunchBang?

  • Is this about ubuntu? – Tim May 09 '15 at 09:38
  • Lubuntu is an official flavor supported here. It has Openbox as its default window manager. However, OP needs to clarify the OS. – DK Bose May 09 '15 at 12:06
  • @DKBose I use Xubuntu and then installed Openbox. – diamondburned May 10 '15 at 02:59
  • You also wrote this: "And for note, I AM running Xubuntu 14.10.4 Trusty Tahr on e17 Desktop Environment." Sometimes, things can get complicated with too many DEs around. – DK Bose May 10 '15 at 04:53
  • @DKBose I use e17 because I'm waiting for an answer here. – diamondburned May 10 '15 at 05:53
  • @DKBose By the way I've founded this file: /var/lib/openbox/debian-menu.xml. So now how do I make it to update itself? – diamondburned May 10 '15 at 05:56
  • Sorry for the late response. I played with the debian menu thing very briefly. All I use is the plain menu.xml in ~/.config/openbox/menu.xml. If I need to change things in there, I edit the xml file directly. I don't add or subtract much from my system. – DK Bose May 10 '15 at 12:20
  • @DKBose Just want to know how do I seperate the Directory like CrunchBang – diamondburned May 10 '15 at 13:16

2 Answers2

1

Changing the color of the openbox menu can be done with the program openbox configuration manager or obconf from the command line. Lubuntu comes with several different themes preinstalled. To choose that particular theme for the color of the menu looks like oynx-Citrus. If you wish to add an external theme like one you downloaded from boxlook.org you can click the install new theme and point it at the .obt archive. If you have lxappearnce and lxappearnce-obconf the window border tab also lets you have the same functionality just in a different application.

The content and the items in the menu are actually stored in an xml file. The full specification is found at http://openbox.org/wiki/Help:Menus. If you want a GUI application to make your own custom menus I suggest the obmenu package. http://manpages.ubuntu.com/manpages/utopic/en/man1/obmenu.1.html

ianorlin
  • 757
  • 4
  • 12
  • But I mean the black solid title on top. Even Oynx-Citrus doesn't display. – diamondburned May 10 '15 at 02:58
  • @ianorlin, maybe OP should look at themerc which is in ~/.themes/Theme_in_use/openbox-3 or in /usr/share/themes/Theme_in_use/openbox-3, whichever is appropriate. themerc has lines related to menu.title.bg, menu.title.bg.color, and menu.title.text.color. – DK Bose May 10 '15 at 04:47
  • @DKBose For example, Numix (Because it's also in GTK+) so how do I change it. And also, where can I get the Openbox Bluebird theme and install it? – diamondburned May 10 '15 at 05:58
  • You may know that themes can be installed system-wide or user-specific. Anyway, does Numix have an openbox subfolder? I have no idea about "Openbox Bluebird". I looked at various themerc files and then I made my own minimal themerc. – DK Bose May 10 '15 at 12:23
  • @DKBose ok, first, numix is a built-in theme. Second, you know the Bluebird theme in XFCE desktop? Bingo. – diamondburned May 10 '15 at 13:15
  • There are even more themes than there are ones in the repos at box-look.org. I think I could probably make my answer better by including how to add those. – ianorlin May 10 '15 at 16:19
0

All you need to add to your menu.xml is something like

<separator label="Openbox 3"/> 

This produces a separator with the label (or title) Openbox 3. If you just have:

<separator/>

you'll get a simple line between items. For example, if you do this:

<item label="term">
  <!-- stuff goes here -->
</item>
<separator label="Applications"/>
<item label="emacs">
  <!-- stuff goes here -->
</item>
<separator/>
<item label="www">
  <!-- stuff goes here -->
</item>

Your Openbox menu will have an Applications-labelled separator between the items term and emacs, followed by a thin line separating emacs from www.

Of course, there's a lot more to the specification, but adding labelled separators is quite easy.

jon
  • 188