Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Linux Resources > Linux Tutorials, HOWTO's & Reference Material > Editing the Menu on Fluxbox
 Linux Tutorials, HOWTO's & Reference Material   A useful collection of tutorials, guides and reviews compiled here for easy reference purposes.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
 
Thread Tools Display Modes
Old 11-23-2004   #1 (permalink)
Linux Guru
 
lakerdonald's Avatar
 
Join Date: Jun 2004
Location: St. Petersburg, FL
Posts: 5,039
Editing the Menu on Fluxbox

Fluxbox is growing in popularity as a lightweight alternative window manager, and as such, many new users are switching to us. Many are turned off, however, by the fact that you have to edit your menus by hand. I can't tell you the number of times I've been interuppted from my game of frozen bubble to answer fluxbox menu editing questions on irc or here. So for the sake of my gaming, I decided to write a tutorial!

Here is what you need to do:
1)Install Fluxbox (duh)
2)Either open up a shell (konsole, xterm, Eterm, etc.) and type:
Code:
vi ~/.fluxbox/menu
replacing vi with your favorite editor
OR
Open '~/.fluxbox/menu' with your favorite WYSIWYG editor
3)The file might seem a bit intimidating at first, but it's really not that bad!
Fluxbox Menu files take this form:
Code:
[Begin] (Fluxbox)
[submenu] (Menu1)
[exec] (item1) {item1 -a -b -c}
[exec] (item2) {item2 --option}
[end]
[submenu] (Menu2)
[exec] (item3) {item3}
[end]
[end]
You can add and delete things as you please:
Code:
[exec] [name] {command}
and also add submenus:
Code:
[submenu] (Name)
[exec] (blah) {blah}
[end]
, just don't forget to close each new menu with a "[end]"

4)Then, to put your new menu into action, right click somewhere on the desktop. Then go to "fluxbox menu" (or something similar), and select "reload configuration" or "restart"
If your menu becomes corrupt, just type from a terminal:
Code:
fluxbox-generate_menu
, which restores the menu to something sane

-lakerdonald
__________________
the lost art of found sound
lakerdonald is offline  

Old 11-23-2004   #2 (permalink)
Linux Engineer
 
Join Date: Jul 2003
Location: Farnborough, UK
Posts: 1,301
Send a message via MSN to Chris H Send a message via Skype™ to Chris H
Or you could just install this nifty bit of scripting

http://devaux.fabien.free.fr/flux/

Which adds itself to the fluxbox menu.
__________________
Plans to Prosper

thekiadriver on #linuxforums - fleetingly
Chris H is offline  
Old 11-23-2004   #3 (permalink)
Linux Guru
 
lakerdonald's Avatar
 
Join Date: Jun 2004
Location: St. Petersburg, FL
Posts: 5,039
you COULD do that. or you could do it MY way like a masochist muwahahaa
lol
i was seriously thinking of writing a graphical menu editor for flux, but i guess its been done :/
__________________
the lost art of found sound
lakerdonald is offline  
Old 11-23-2004   #4 (permalink)
Linux Engineer
 
Join Date: Oct 2004
Location: Vancouver
Posts: 1,366
Send a message via AIM to genesus Send a message via Skype™ to genesus
Well, they only way that I've done it so far is the lakerdonald way...which really works great man, just the logical step of doing it this way has opened up my ability to play with filestructures quite a bit. Thank you for showing me how to do this in an earlier post laker... err, sorry about interupting the gaming!
genesus is offline  
Old 11-23-2004   #5 (permalink)
Linux Guru
 
lakerdonald's Avatar
 
Join Date: Jun 2004
Location: St. Petersburg, FL
Posts: 5,039
no problem. everybody gets one. but god help you if you interrupt my gaming again.
-lakerdonald
__________________
the lost art of found sound
lakerdonald is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Free Network Mapping Tool for Microsoft® Office Visio® Professional 2007 Users
Don't map your network by hand – let LANsurveyor Express for Microsoft Visio Professional 2007 automatically create network diagrams for you.
subscribe
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 11:24 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2