LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fluxbox: Automatic update of menus (https://www.linuxquestions.org/questions/linux-newbie-8/fluxbox-automatic-update-of-menus-48865/)

mister_math 03-08-2003 12:16 PM

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?

Tinkster 03-08-2003 02:49 PM

No idea what mandy does to update flux from kde :)

however, to udate flux menues manually, look at
~/.fluxbox/menu


Cheers,
Tink

delboy711 03-11-2003 08:28 PM

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.

poloktim 03-12-2003 02:53 AM

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.

annehoog 03-12-2003 03:08 AM

does a flux-menu in the /home/.fluxbox directory overrule the Debian menu?

Anne

poloktim 03-12-2003 03:17 AM

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

annehoog 03-12-2003 03:20 AM

Thanks!

Anne

mister_math 03-12-2003 09:13 AM

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.