LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2003, 01:16 PM   #1
mister_math
Member
 
Registered: Feb 2003
Location: /USA/IL/Chicago
Distribution: Ubuntu 5.10
Posts: 37

Rep: Reputation: 15
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?
 
Old 03-08-2003, 03:49 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

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

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


Cheers,
Tink
 
Old 03-11-2003, 09:28 PM   #3
delboy711
LQ Newbie
 
Registered: Mar 2003
Distribution: Mandriva
Posts: 10

Rep: Reputation: 0
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.
 
Old 03-12-2003, 03:53 AM   #4
poloktim
Member
 
Registered: Feb 2003
Location: Australia
Distribution: Debian
Posts: 104

Rep: Reputation: 15
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.

Last edited by poloktim; 03-12-2003 at 04:07 AM.
 
Old 03-12-2003, 04:08 AM   #5
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
does a flux-menu in the /home/.fluxbox directory overrule the Debian menu?

Anne
 
Old 03-12-2003, 04:17 AM   #6
poloktim
Member
 
Registered: Feb 2003
Location: Australia
Distribution: Debian
Posts: 104

Rep: Reputation: 15
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

Last edited by poloktim; 03-12-2003 at 04:18 AM.
 
Old 03-12-2003, 04:20 AM   #7
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
Thanks!

Anne
 
Old 03-12-2003, 10:13 AM   #8
mister_math
Member
 
Registered: Feb 2003
Location: /USA/IL/Chicago
Distribution: Ubuntu 5.10
Posts: 37

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox menus socks Linux - General 2 02-05-2005 07:29 AM
Menus in fluxbox are REALLY BIG DeadPenguin Linux - Newbie 15 11-24-2004 12:27 PM
fluxbox menus greythorne Slackware 2 06-06-2004 09:18 AM
fluxbox menus xviddivxoggmp3 Linux - Software 5 03-22-2004 09:22 PM
fluxbox menus - problems rlculver Linux - Software 4 11-27-2002 10:08 PM


All times are GMT -5. The time now is 08:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration