Fluxbox: Automatic update of menus
Running:
Mandrake 9.0 KDE 3.0.5b Fluxbox 0.1.12 The situation: I install an RPM package that has a file under /usr/lib/menu/. When I'm running KDE, the menu is automatically updated and the new program is accessible through the menu. When I'm running Fluxbox, the menu is not updated. If I leave Flux, go into KDE, then return to Flux, the entry is there. So how can I make it so that Flux automatically updates the menu? Barring that, how can I update the menu without leaving Flux? |
No idea what mandy does to update flux from kde :)
however, to udate flux menues manually, look at ~/.fluxbox/menu Cheers, Tink |
Re : Fluxbox: Automatic update of menus
If you install a Mandrake RPM all the different WM menus will be automatically updated (except XFce). It can take a few minutes so be patient.
If you think it has 'got stuck' you can run 'update-menus' to force it. |
Also be careful not to edit the wrong menufile.
~/.fluxbox/menu is the default file however (I know Debian does) the distro could change the update-menu file to somewhere else. I know Debian makes a horrible Fluxbox menu. I edited that quickly. Debians Fluxbox menu (for those interested) is in: /etc/X11/fluxbox/fluxbox-menu <--- don't edit, if you want to use it as a base copy and paste to another editer and work there. |
does a flux-menu in the /home/.fluxbox directory overrule the Debian menu?
Anne |
You'd have to set init up to use another menu. Do that outside of fluxbox as well.
Where it says 'session.menuFile:' replace /etc/X11/fluxbox/fluxbox-menu with /home/user/.fluxbox/[insert name of menufile here]. It's important it's done outside of fluxbox. init saves on exit, so edit it after exit. Edit: whoops, init is in /home/user/.fluxbox/init |
Thanks!
Anne |
I actually figured out a way to do it. It's not automatic, but I don't have to go into KDE (it feels so bloated after using Flux :-))
After installing the program, run menudrake. The entries for the newly installed programs are there. Just save the menu. |
All times are GMT -5. The time now is 03:41 AM. |