Menu Home End users Hacking Humour Interviews Opinons Reviews All articles Issues Books
Free Software magazine
Gary Richmond [end_users]

Powering up the Fluxbox Menus with Fluxbox Editor

fsmsh.com/3797 [fluxbox] [menus] [editors] [configuration]

All desktops are created equal; however, some desktops are created more equal than others. LXDE, Gnome, Unity and KDE are brimming with menus but Fluxbox is Spartan by comparison. Great for speed on older, slower machines but I still use on my latest dual core, 3GB memory laptop. I want that speed but I also want a better choice of applications in the Fluxbox menus. In short, all the speed without sacrificing the power. That's the problem. Fluxbox Editor is the solution.

A picture paints a thousand words, so here's why you need it.

Figure 1: Where are my browsers

Fluxbox is holding out on me. Where's Konqueror, Firefox and Chromium? They're in the menus in other desktops. I want them back, and Fluxbox Editor is going to put them back in for me, so let's do it. As they are all browsers, I'll create a sub menu called Internet and then populate it with them.

There's no stand-alone binary or PPA (that I know of), just a tarball, but it's a breeze to install. Download it from Sourceforge. Open your file manager to where you downloaded it, right click on the tarball and extract it to a directory called fluxmenu and from there run the file called fluxMenu.py. Provided you have Python and GTK installed you should see this.

Figure 2: Fluxbox Editor's default window

Highlight an entry in the side pane and click on New submenu, give it a name and Save.

Figure 3: Create a menu in a few clicks

And now we have a new menu and submenu.

Figure 4: Building a menu one step at a time

Next, select the New item button and fill in the boxes. Note that if the application is not in Fluxbox's PATH you will need to type it in.

Lastly, click on the icon button. Icons (in xpm, jpeg and png formats) will be found in usr/share/pixmaps. (You can check if Fluxbox supports them, type fluxbox -i in a terminal. Anything with a minus before it is unsupported).

Figure 5: Adding an entry for the Chromium browser

I repeat this for Konqueror and Firefox and now we have a fully functioning menu with entries and icons.

Figure 6: That's more accessible

TIP: Don't uncheck any of the Save and Backup options in Preferences. They're lifesavers, believe me. Finally,if you prefer to roll you own menus, navigate to /home/your username/.fluxbox/menu and add applications in this format.

Figure 7: Use this format to add items

License

This work is licensed under a Creative Commons Attribution 3.0 Unported License.