I am running 2.4.22-gentoo kernel built with genkernel. My system was build originally as a KDE system but I recently switched to fluxbox. Everything is working, including backgrounds except I cant get the apps in [submenu] (Startup) to load when fluxbox boots. I have tried with and without them in the apps file. Reproducible: Always Steps to Reproduce: 1.Add this to ~/.fluxbox/menu [submenu] (Startup) [exec] (xterm) {xterm} [end] 2. Make sure that ~/.fluxbox/init has ~/.fluxbox/menu setup and not /usr/share/fluxbox/menu. 3. Change your /etc/rc.conf XSESSION variable to fluxbox 4. startx Actual Results: Nothing is loaded when fluxbox comes up. Expected Results: and xterm should have been started
Fluxbox doesn't use a Startup menu for this. If you want to run apps automatically, use the ~/.fluxbox/startup file instead.
From man fluxbox: <snip> [submenu] (label) {title for menu - optional} This tells Fluxbox to create and parse a new menu. This menu is inserted as a submenu into the parent menu. These menus are parsed recursively, so there is no limit to the number of levels or nested submenus you can have. The title for the new menu is optional, if none is supplied, the new menu's title is the same as the item label. An [end] tag is required to end the submenu. If you create a submenu labelled 'Startup', applications located in this submenu will be launched on fluxbox startup. </snip>
Also ... again from man fluxbox: Menu example Now let's put together some things. Here is a short example of a menu file: # Fluxbox menu file [begin] (Fluxbox) [exec] (rxvt) {rxvt -ls} [exec] (netscape) {netscape -install} [exec] (The GIMP) {gimp} [exec] (XV) {xv} [exec] (Vim) {rxvt -geometry 132x60 -name VIM -e screen vim} [exec] (Mutt) {rxvt -name mutt -e mutt} [submenu] (mozilla) [exec] (browser) {mozilla -browser} [exec] (news) {mozilla -news} [exec] (mail) {mozilla -mail} [exec] (edit) {mozilla -edit} [exec] (compose) {mozilla -compose} [end] [submenu] (Startup) [exec] (gkrellm) {gkrellm -w} [exec] (xmms) {xmms -p} [exec] (galeon) {galeon -s} [exec] (kdeinit) {kdeinit} [end] [submenu] (Window Manager) [exec] (Edit Menus) {nedit ~/.fluxbox/menu} [submenu] (Style) {Which Style?} [stylesdir] (~/.fluxbox/styles) [stylesmenu] (Fluxbox Styles) {/usr/share/fluxbox/styles} [end] [config] (Config Options) [reconfig] (Reconfigure) [restart] (Restart) [end] [exit] (Log Out) [end] # end of menu file
I've spoken to upstream about this and they say it's a documentation error. These should be fixed in the next fluxbox release -- if this is too far off I'll backport the man page updates.
Looks like the fluxbox docs guy doesn't read his email...
Is this in fluxbox cvs?
According to upstream, the man page in CVS is now correct on this. Haven't checked this myself...
Fixed in 0.9.10