Preface
Goal: Explaining openbox menu.xml configuration.
Table of Content
Reading
There is also a whole article for this.
Default rc.xml.
The default ~/.config/openbox/rc.xml
looks similar to this below:
It simply show something like this:
My openSUSE’s openbox come without ~/.config/openbox/menu.xml
.
We need to create it manually.
Source
2: Main Menu: OpenSUSE
You can find the default at /etc/xdg/openbox/menu.xml
.
However, this is a manually created
~/.config/openbox/menu.xml
.
Note that the system menu is recreated manually.
Source
3: Main Menu: Fedora
With Fedora, it slighlty different:
4: Main Menu: Debian
With Debian, it is also different:
We can add sub menu in separate xml file.
I would rather create custom menu ~/.config/openbox/menu.favorites.xml
,
based on my favorites application.
It needs a openbox_pipe_menu
tag to deliver a pipe menu
The complete version is here:
Source
Icons
You may also consider to use the nice Numix Circle
icon set.
But I personally, like the plain menu, depend on my mood.
We can create xdg menu for openbox using this command:
First prepare your ~/.config/openbox/menu.xml
Depend on your setup,
the result of ~/.config/openbox/menu.xdg.xml
would looks similar like this one:
We need to change a bit before we can use it as pipe menu.
Now you can see the openSUSE’s XDG menu.
Source
7: Merge All
You can merge the XDG menu to menu.xml
as a static menu,
to have a nice looking menu.
You need to copy the contetn of XDG menu under id="root-menu"
.
And the final result is.
OB Log Out/ BL Exit
You can add oblogout
or item right away.
What’s Next
Consider continue reading [ Menu: Dynamic ].