Preface
Goal: Using openbox-menu Script as Dynamic Openbox menu.
Table of Content
-
Preface: Table of Content
1: openbox-menu Script
My friend, named Addy DCVLXVI, as always giving me a good suggestion.
openbox-menu
, a very useful trick,
to make an openbox menu without sweating.
Respect
XDG menus
If you haven’t notice, there are these files
in /etc/xdg/menus
.
We are going to utilize this.
For this example let use use this lxde-applications.menu
.
Sub Menu
Create the ~/.config/openbox/menu.applications.xml
.
Sometime there are icon errors.
you can surpress with redirecting to /dev/null
.
Main Menu
To create dynamic menu, we utilize script,
and use menu execute=""
.
Modify the ~/.config/openbox/menu.xml
.
Consider reconfigure openbox. And have a look at the result.
Voila… It is so easy.
2: Install openbox-menu
The downside of this method is, sometimes it is not easy to setup.
Debian based, and Gentoo play well with this openbox-menu
.
Other than that, we might need to clone from repository.
Debian-based
Install in Debian-based is as easy as:
Gentoo
Install in Gentoo is as easy as:
Allright, now you can apply the USE
by applying.
And run it, once again.
Mercurial Clone
The official documentation is here:
We need to know where the source:
This is a mercurial
repository.
Not a git
repository.
And here is the magical command:
make and make install
As usual common installation from source.
Now you can run from anywhere in your linux box.
openSUSE Dependency
lxmenu-data
is available in openSUSE repository
In order to compile the source above properly, you need to install the development package, as the compile time dependency.
-
gtk2-devel
-
menu-cache-devel
Fedora Dependency
lxmenu-data
is also available in repository
: .img-responsive }
In order to compile the source above properly, you need to install the development package, as the compile time dependency.
What’s Next
Consider continue reading [ Menu: Generator ].