Results 1 to 5 of 5
Fluxbox is growing in popularity as a lightweight alternative window manager, and as such, many new users are switching to us. Many are turned off, however, by the fact that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-23-2004 #1
Editing the Menu on Fluxbox
Fluxbox is growing in popularity as a lightweight alternative window manager, and as such, many new users are switching to us. Many are turned off, however, by the fact that you have to edit your menus by hand. I can't tell you the number of times I've been interuppted from my game of frozen bubble to answer fluxbox menu editing questions on irc or here. So for the sake of my gaming, I decided to write a tutorial!

Here is what you need to do:
1)Install Fluxbox (duh)
2)Either open up a shell (konsole, xterm, Eterm, etc.) and type:
replacing vi with your favorite editorCode:vi ~/.fluxbox/menu
OR
Open '~/.fluxbox/menu' with your favorite WYSIWYG editor
3)The file might seem a bit intimidating at first, but it's really not that bad!
Fluxbox Menu files take this form:
You can add and delete things as you please:Code:[Begin] (Fluxbox) [submenu] (Menu1) [exec] (item1) {item1 -a -b -c} [exec] (item2) {item2 --option} [end] [submenu] (Menu2) [exec] (item3) {item3} [end] [end]
and also add submenus:Code:[exec] [name] {command}
, just don't forget to close each new menu with a "[end]"Code:[submenu] (Name) [exec] (blah) {blah} [end]
4)Then, to put your new menu into action, right click somewhere on the desktop. Then go to "fluxbox menu" (or something similar), and select "reload configuration" or "restart"
If your menu becomes corrupt, just type from a terminal:
, which restores the menu to something saneCode:fluxbox-generate_menu
-lakerdonald
- 11-23-2004 #2Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
Or you could just install this nifty bit of scripting
http://devaux.fabien.free.fr/flux/
Which adds itself to the fluxbox menu.
- 11-23-2004 #3
you COULD do that. or you could do it MY way like a masochist muwahahaa
lol
i was seriously thinking of writing a graphical menu editor for flux, but i guess its been done :/
- 11-23-2004 #4Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
Well, they only way that I've done it so far is the lakerdonald way...which really works great man, just the logical step of doing it this way has opened up my ability to play with filestructures quite a bit. Thank you for showing me how to do this in an earlier post laker...
err, sorry about interupting the gaming!
- 11-23-2004 #5
no problem. everybody gets one. but god help you if you interrupt my gaming again.
-lakerdonald



