Genmenu

The genmenu tool is able to generate menus for freedesktop-compliant user desktop (e17, gnome, kde (bleh)). It's a command-line utility that takes parameters and generates the xml menu as well as copy/create icons in the current-user env.

It is composed of a csv database containing the Gentoo category/utility, menu position and icon/shortcut name.

For terminal-based apps, you can pass the term you want to be launched as an argument to genmenu (gnome-terminal, Eterm or xterm).

$ genmenu.py -t xterm

Actually, it is pretty straightforward but working. You can find the sources here

Possible enhancement are :

  • Add a function that creates DB entries
  • Add dir icons theme ?