Sunday, August 1, 2010

my fluxbox menu

Here's the Fluxbox menu I'm currently using in Linux Mint 9 (Isadora) (note that I installed the main GNOME version and then later added Fluxbox):


~/.fluxbox/menu

[begin] (fluxbox) {} <>

   [exec] (firefox 3.6) {/home/steve/firefox/firefox} <>
   [exec] (chromium) {chromium-browser} <>[exec] (dolphin) {dolphin} <>
   [exec] (gnome-terminal) {gnome-terminal} <>

   [submenu] (other file managers) {} <>
      [exec] (krusader) {krusader} <>
      [exec] (konqueror) {kfmclient openProfile filemanagement} <>
      [exec] (nautilus) {nautilus --no-desktop} <>
   [end]

   [submenu] (other terminals) {} <>
      [exec] (xterm) {xterm} <>
      [exec] (konsole) {konsole} <>
   [end]

   [submenu] (tools) {} <>
      [exec] (gcalctool) {gcalctool} <>
      [exec] (xcacl) {xcalc} <>
      [exec] (character map) {gucharmap} <> [exec] (yelp) {/usr/bin/yelp} <>
   [end]

   [submenu] (administration) {} <>
      [exec] (synaptic) {gksu synaptic} <>
      [exec] (guarddog) {sudo guarddog} <>
   [end]

   [submenu] (office) {} <> [exec] (kwrite) {kwrite} <>
      [exec] (gedit) {gedit} <>
      [exec] (OOo Calc) {oocalc} <>
      [exec] (OOo Writer) {oowriter} <>
   [end]

   [submenu] (graphics & sounds) {} <>
      [exec] (ksnapshot) {ksnapshot} <>
      [exec] (geeqie) {geeqie} <>
      [exec] (amarok) {amarok} <> [exec] (rhythmbox) {rhythmbox} <>
   [end]

   [submenu] (Fluxbox) {} <>
      [exec] (fluxconf) {/usr/bin/fluxconf} <>
      [exec] (fluxkeys) {/usr/bin/fluxkeys} <>
      [exec] (fluxmenu) {/usr/bin/fluxmenu} <>
   [end]

   [config] (Configuration) {} <>

   [submenu] (Styles) {} <>
      [stylesdir] (/usr/share/fluxbox/styles) {} <>
      [stylesdir] (~/.fluxbox/styles) {} <>
   [end]

   [workspaces] (Workspaces) {} <>
   [reconfig] (Reconfigure) {} <>
   [restart] (Restart) {} <>
   [exit] (Exit) {} <>

[end]


A sharp eye will notice that I'm using nautilus --no-desktop for my Nautilus command. This is because if you're using Fluxbox on a GNOME distro and you start Nautilus normally, GNOME takes control of the desktop.

I tried that just to see what would happen. The desktop went from Fluxbox to GNOME, but with the Fluxbox toolbar instead of a GNOME panel. I couldn't get out of the session. ctrl+alt+backspace didn't work (oh, yeah, I think that keystroke is disabled in recent Ubuntu and Mint versions!). So, I used the following command to reboot:

$ sudo shutdown -r now

Anyway, I put the above menu together by hand, using /etc/X11/fluxbox/fluxbox-menu as a reference. The changes take effect as soon as the ~/.fluxbox/menu file is saved. Nice menu -- works for me!

Here's what it looks like, with one of the submenus selected:



No comments: