obmenu-generator

obmenu-generator is a simple, lightweight, easily configurable Perl script that generates a full Openbox XML-menu based upon the information present in *.desktop application files (related to fbmenugen and menutray).


It has full support for icons (respecting the current icon theme) and can generate either a static or a dynamic menu.

When a menu with icons is generated, the GDBM_File module will be used for storing the icon paths, giving us a big performance boost. This functionality is implemented inside the Linux::DesktopFiles module.

The icon database is updated automatically when a new application is installed or when the current icon theme is changed by the user.

Starting with version 0.61, obmenu-generator introduced a new smart-cache system which will store all the required data from the *.destkop files in a new cache.db file, which is also updated automatically when a new application is (re)installed or when the config.pl is changed. With the new cache-system in place, a full menu with icons is generated in ~20ms (compared to ~60ms before).

To generate a static menu with icons, execute:
   obmenu-generator -i -s -c

To generate a dynamic menu with icons, execute:
   obmenu-generator -i -p

For more details, see: obmenu-generator -h

BONUS: Check out another nice script, which can be used with obmenu-generator, called obbrowser.

AUR Linkhttps://aur.archlinux.org/packages/obmenu-generator/