LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-27-2005, 04:46 PM   #1
TomalakBORG
Member
 
Registered: Dec 2004
Posts: 245

Rep: Reputation: 30
Custom Fluxbox Menu


Hello All!
I am a kde user, but have opted for fluxbox because it runs so much faster. Since I am using SuSE, every program I use is loaded into the kde menu perfectally, but not the Fluxbox menu. I was looking in ~/.fluxbox/menuconfig and tried the KDE options, but they didint seem to work, and I really don't understand them. So what I was wondering is, is there a file that the the kde menu is saved in much like ~/.fluxbox/menu ? If I could find a file like that, I'd manually fix the fluxbox menu to contain the categories off the kmenu. (A franken-menu!) I've looked but have not found, so if anybody knows, that would rock! -Bill
 
Old 02-27-2005, 05:56 PM   #2
funkydan2
Member
 
Registered: Mar 2004
Location: Brisbane, Australia
Distribution: VectorLinux; Ubuntu
Posts: 135

Rep: Reputation: 15
There is a nice tool as part of FluxConf http://devaux.fabien.free.fr/flux/ which allows you to use a GUI to edit your Flux menu.

Also read http://fluxbox.sourceforge.net/docbo...html/c724.html which talks about editing menus and also fluxbox-generate_menu.

Daniel
 
Old 02-27-2005, 06:11 PM   #3
Optimistic
Member
 
Registered: Jun 2004
Location: Germany
Distribution: Debian (testing)
Posts: 276

Rep: Reputation: 33
The 'session.menuFile: /home/YOU/.fluxbox/menu' line in ~/.fluxbox/init tells you where the fluxbox menu is. After that building your own menu is pretty easy.

This is the basic setup:
Code:
[begin] (fluxbox)
[submenu] (NAME) {}
[exec] (SOME NAME) {command or path to app}
[end]
I alway use my own custom menu so things are where I want them. I also change the name onthe menu file (and tell init what it is called) so that I don't overwrite it with an update or something similar.

Here is a sample:
Code:
[begin] (fluxbox)
[exec] (firefox) {firefox}
[exec] (rox) {rox-filer}
[exec] (aterm) {aterm -sh 40 -tr -fg white +sb}
[separator]
[submenu] (Games) {}
	[exec] (GBA) {gnomeboyadvance}
	[exec] (SNES) {zsnes}
	[exec] (N64) {mupen64}
[end]
[submenu] (Multimedia) {}
	[exec] (xmms) {xmms}
	[exec] (xine) {xine}
	[exec] (mplayer) {gmplayer}
	[exec] (k3b) {/usr/sbin/su-to-root -X -c k3b}
	[exec] (grip) {grip}
[end]
I don't know anything about Suse, but you can probably use yast to figure out what programs are installed so that you can populate your menu. You can also hit tab tab in a terminal to tell you which commands are available and that will tell you a lot about apps on the machine.
 
Old 02-27-2005, 07:53 PM   #4
TomalakBORG
Member
 
Registered: Dec 2004
Posts: 245

Original Poster
Rep: Reputation: 30
Well yes, I know the format and can do it myself - but I have a ton of apps, and would like this to be a fairly automated or one step operation. *Like copying the kmenu code into a section of the fluxmenu code* but thankyou for the websites notheless. I was just wondering if there was a place where the kmenu code was stored.
 
  


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
Can't create custom menu.xml for openbox LogicNZ Linux - Newbie 6 07-19-2008 11:37 AM
Custom shell menu? Darkfin Linux - Newbie 1 04-24-2005 10:37 AM
fluxbox menu help cs-cam Linux - Software 3 11-13-2004 09:05 PM
Custom yum menu script. GufyMike Fedora 2 05-25-2004 01:38 PM
Custom Gnome Menu semaphore Linux - Newbie 5 03-04-2004 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:14 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