Re: Fluxbox... A couple of assorted issues
Originally Posted by
Wisp558
5)I need a good way to edit the menu. To this end I have fme installed. Great! I can add things to the menu. However, the first entry is an include file, to include the default menu. That menu file has a big fat [DO NOT EDIT] sign on it. How can I change my menus without breaking them?
I find it easier to just use a text editor to edit the menu file by hand.
Open up you menu file in .fluxbox and either delete or comment out the default menu entry. Then open up the fluxbox-menu file (/etc/x11/fluxbox/fluxbox-menu) and copy/paste the items you want from there into the menu file in .fluxbox, adding submenus when needed. It's a little time consuming but pretty simple overall. You could also leave the menu file in .fluxbox alone and edit fluxbox-menu instead, but I like to leave that file alone so I can use it as a reference.
https://wiki.ubuntu.com/Fluxbox is a nice little guide to getting things set up.
Edit: Here's my menu file as an example:
Code:
[begin] () {} <>
[submenu] (Accessories) {} <>
[exec] (Calculator) {/usr/bin/gcalctool} <>
[exec] (Character map) {/usr/bin/gucharmap} <>
[exec] (Gedit) {gedit} <>
[exec] (XTerm) {xterm -foreground dimgray -background gainsboro} <>
[exec] (Screenshot) {gnome-screenshot --interactive} <>
[end]
[submenu] (Drives) {} <>
[exec] (Home) {nautilus --no-desktop} <>
[exec] (Storage) {nautilus /media/Storage --no-desktop}
[exec] (Windows) {nautilus /media/Windows --no-desktop}
[end]
[submenu] (Flux Tools) {} <>
[exec] (fluxconf) {/usr/bin/fluxconf} <>
[exec] (fluxkeys) {/usr/bin/fluxkeys} <>
[exec] (fluxmenu) {/usr/bin/fluxmenu} <>
[end]
[submenu] (Games) {} <>
[exec] (ePSXe) {xterm ~/Games/epsxe/epsxe} <>
[exec] (Gnometris) {/usr/games/gnometris} <>
[exec] (Mahjongg) {/usr/games/mahjongg} <>
[exec] (Solitaire) {/usr/games/sol} <>
[end]
[submenu] (Graphics) {} <>
[exec] (OpenOffice.org Draw) {/usr/bin/oodraw} <>
[exec] (GIMP) {/usr/bin/gimp} <>
[end]
[submenu] (Internet) {} <>
[exec] (Elinks) {xterm /usr/bin/elinks} <>
[exec] (Firefox) {firefox} <>
[exec] (Gnome ppp) {sudo /usr/bin/gnome-ppp} <>
[exec] (Gwget) {/usr/bin/gwget} <>
[exec] (Pidgin) {pidgin} <>
[exec] (Transmission) {/usr/bin/transmission} <>
[end]
[submenu] (Office) {} <>
[exec] (OpenOffice.org Calc) {/usr/bin/oocalc} <>
[exec] (OpenOffice.org Impress) {/usr/bin/ooimpress} <>
[exec] (OpenOffice.org Writer) {/usr/bin/oowriter} <>
[end]
[submenu] (Sound) {} <>
[exec] (Brasero) {/usr/bin/brasero} <>
[exec] (Recorder) {/usr/bin/gnome-sound-recorder} <>
[exec] (Rhythmbox) {/usr/bin/rhythmbox} <>
[end]
[submenu] (Styles) {} <>
[exec] (GTK Switcher) {switch2} <>
[stylesdir] (~/.fluxbox/styles) {} <>
[end]
[submenu] (System) {} <>
[exec] (Conky) {conky} <>
[exec] (Control Center) {/usr/bin/gnome-control-center} <>
[exec] (Startup-Manager) {su-to-root -X -c /usr/sbin/startupmanager} <>
[exec] (Synaptic Package Manager) {/usr/bin/gksu /usr/sbin/synaptic} <>
[end]
[submenu] (Video) {} <>
[exec] (Totem) {/usr/bin/totem-gstreamer} <>
[exec] (VLC) {/usr/bin/qvlc} <>
[end]
[restart] (Restart) {} <>
[exit] (Exit) {} <>
[end]
Last edited by .arean; December 25th, 2008 at 05:33 AM.
This isn't NORML..
<ZZZZZZ#
Bookmarks