Results 1 to 10 of 10
Hey guys, I'm used to using kde and gnome, but have chosen to go fluxbox for good. The problem is I am trying to figure out exactly how to add ...
- 11-10-2004 #1Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
How to add meny items in fluxbox
Hey guys, I'm used to using kde and gnome, but have chosen to go fluxbox for good. The problem is I am trying to figure out exactly how to add items, links, to the menu so I don't have to open a terminal and manually run the program...this is not really a problem, just more of a nuisance. Well here is my fluxbox menu file...could someone please tell me how to edit it to add a program, and what each of the syntaxes mean so that I can do so on my own.
Thank you so much guys,
Thanks
- 11-10-2004 #2
...
well, where's this menu file you were supposed to bring us?
...lol
- 11-10-2004 #3Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
oh yeah, here is the menu, sorry...
[begin] (Fluxbox-0.1.14)
[exec] (rxvt) {rxvt}
[exec] (mozilla) {mozilla}
[submenu] (Terminals)
[exec] (xterm) {xterm}
[exec] (gnome-terminal) {gnome-terminal}
[exec] (rxvt) {rxvt}
[end]
[submenu] (Net)
[submenu] (Browsers)
[exec] (netscape) {netscape}
[exec] (mozilla) {mozilla}
[exec] (links) {rxvt -e links fluxbox.org}
[exec] (lynx) {rxvt -e lynx fluxbox.org}
[end]
[submenu] (IM)
[exec] (gaim) {gaim}
[end]
[submenu] (Mail)
[exec] (mutt) {rxvt -e mutt}
[end]
[submenu] (IRC)
[exec] (xchat) {xchat}
[exec] (*****X) {rxvt -e *****X -N}
[end]
[exec] (gftp) {gftp}
[exec] (pan) {pan}
[end]
[submenu] (Editors)
[exec] (gvim) {gvim}
[exec] (emacs) {emacs}
[exec] (gedit) {gedit}
[exec] (xedit) {xedit}
[end]
[submenu] (Multimedia)
[submenu] (Graphics)
[exec] (gimp) {gimp}
[exec] (xv) {xv}
[exec] (xpaint) {xpaint}
[exec] (xscreensaver-demo) {xscreensaver-demo}
[end]
[submenu] (Music)
[exec] (xmms) {xmms}
[end]
[submenu] (X-utils)
[exec] (xfontsel) {xfontsel}
[exec] (xman) {xman}
[exec] (xload) {xload}
[exec] (editres) {editres}
[exec] (viewres) {viewres}
[exec] (xclock) {xclock}
[end]
[end]
[submenu] (Office)
[exec] (xclock) {xclock}
[exec] (xcalc) {xcalc}
[exec] (gcalc) {gnome-calculator}
[exec] (abiword) {abiword}
[exec] (xpdf) {xpdf}
[end]
[submenu] (Games)
[exec] (gnibbles) {gnibbles}
[exec] (gnobots2) {gnobots2}
[exec] (gataxx) {gataxx}
[exec] (glines) {glines}
[exec] (gnect) {gnect}
[exec] (mahjongg) {mahjongg}
[exec] (gnomine) {gnomine}
[exec] (gnome-stones) {gnome-stones}
[exec] (gnometris) {gnometris}
[exec] (gnotravex) {gnotravex}
[exec] (gnotski) {gnotski}
[exec] (iagno) {iagno}
[exec] (same-gnome) {same-gnome}
[exec] (xboard) {xboard}
[exec] (freecell) {freecell}
[exec] (gtali) {gtali}
[exec] (xsnow) {xsnow}
[exec] (xeyes) {xeyes}
[end]
[submenu] (Fluxbox-menu)
[config] (Configure)
[submenu] (Styles) {Choose a style...}
[stylesdir] (/usr/X11R6/share/fluxbox/styles)
[stylesdir] (~/.fluxbox/styles)
[end]
[workspaces] (Workspace List)
[submenu] (Tools)
[exec] (Windowname) {xprop|grep WM_CLASS|cut -d \" -f 2|xmessage -file - -center}
[end]
[reconfig] (Reload config)
[restart] (Restart)
[exit] (Exit)
[end]
[end]
- 11-10-2004 #4
well it's pretty straightforward.
pick a program you want on the menu and open nano, pico, emacs, vi, whatever
if there isn't already a good submenu, make your own with with
then for a new item:Code:[submenu](name)
-lakerdonaldCode:[exec](name) {command}
- 11-10-2004 #5Linux User
- Join Date
- Jul 2004
- Posts
- 256
lakerdonald beat me to it :P Don't forget your submenu and root end's
Search the man page for the menu syntax, it tells you everythingCode:$ man fluxbox /menu syntax
--monkey
- 11-10-2004 #6Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
so for example if I was creating a link for firefox I would do this:
[exec] (firefox) {firefox}
or do I have to be more specific and locate the command, like this:
[exec] (firefox) {/home/genesus/firefox/firefox}
?
thank you guys so much! flux is very new, but I like the idea of being able to configure in this way.
- 11-10-2004 #7
well if firefox is in your path, then the first one. but for sheer compatibility's sake, i'd do it the second way
- 11-10-2004 #8Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
Thank you so much laker...now I'm cooking with gas!!!
- 11-10-2004 #9Linux Engineer
- Join Date
- Jul 2003
- Location
- Farnborough, UK
- Posts
- 1,305
You may find the fluxconf tool useful.
http://devaux.fabien.free.fr/flux/
- 11-15-2004 #10Linux User
- Join Date
- Jul 2004
- Posts
- 256
FYI, version 0.1.x hasn't been updated for a few years
You should try the "beta" version. I haven't had any problems with it.--monkey


Reply With Quote
