Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42954 - Fluxbox 0.9.8 - unable to use [submenu] (Startup) sucessfully.
Summary: Fluxbox 0.9.8 - unable to use [submenu] (Startup) sucessfully.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-25 20:50 UTC by Adam Hewgill
Modified: 2004-09-01 09:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Hewgill 2004-02-25 20:50:44 UTC
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
Comment 1 Ciaran McCreesh 2004-02-26 08:59:43 UTC
Fluxbox doesn't use a Startup menu for this. If you want to run apps automatically, use the ~/.fluxbox/startup file instead.
Comment 2 Adam Hewgill 2004-02-26 09:53:23 UTC
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>
Comment 3 Adam Hewgill 2004-02-26 09:56:45 UTC
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
Comment 4 Ciaran McCreesh 2004-03-01 14:38:38 UTC
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.
Comment 5 Ciaran McCreesh 2004-05-11 11:55:09 UTC
Looks like the fluxbox docs guy doesn't read his email...
Comment 6 Brandon Hale (RETIRED) gentoo-dev 2004-07-09 08:53:20 UTC
Is this in fluxbox cvs?
Comment 7 Ciaran McCreesh 2004-07-09 09:14:29 UTC
According to upstream, the man page in CVS is now correct on this. Haven't checked this myself...
Comment 8 Ciaran McCreesh 2004-09-01 09:55:06 UTC
Fixed in 0.9.10