In this post I assume that you're using Fluxbox 1.3.7 or newer. In this version of Fluxbox, adding new menu entries to the "root menu" (the one shown when you right click on the desktop) consists of these steps:
- Add the menu entries in ~/.fluxbox/usermenu
- Run fluxbox-generate_menu
Editing ~/.fluxbox/menu directly is not recommended. However, I recommend you to read the file to get an idea about the syntax to create menu entries and submenus. Therefore, we would just add the new menu entries in usermenu file. This is an example:
[exec] (Evince Reader) {evince}
[exec] (File Manager) {pcmanfm}
Usually, usermenu is empy, unless you have alter it previously. The configuration above means I added two entries, i.e. Evince Reader and pcmanfm file manager to the root menu. Once usermenu file is ready as shown in the configuration file above, I run fluxbox_generate-menu to create the new root menu in Fluxbox. This is the result:
As you can see, the new menu entries are now integrated into fluxbox root menu.
Post a Comment
No comments:
Post a Comment