LinuxQuestions.org
Review your favorite Linux distribution.
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 10-16-2006, 07:49 PM   #1
android6011
Member
 
Registered: May 2005
Posts: 255

Rep: Reputation: 30
Edit Fluxbox menu


I am editing the fluxbox menu to make shortcuts to certain scripts, such as dnsspoof. When I click the menu entry though, the window opens and closes right away. How do I get it to open the window and stay open? This is my entry in ./fluxbox/menu:

[begin] (fluxbox)
[submenu] (My Menu)
[exec] (dnsspoof) { x-terminal-emulator -T "dnsspoof" -e /usr/sbin/dnsspoof) <>
[end]
[include] (/etc/X11/fluxbox/fluxbox-menu)
[end]
 
Old 10-16-2006, 08:31 PM   #2
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Rep: Reputation: 31
Generally speaking, I have found it easiest to goto term and type; 'update-menus' in order to update your menus.

Then make a copy of the fluxbox-menu and call it something else, fluxbox-menu1 or some such. Then go to into 'init' in order to change the path of the menu to fluxbox-menu1. Once this is done, you can copy and paste new items to your menu1 or delete stuff you dont want.

If you already know all this and were just having probs with that specific app, try shortening { x-terminal-emulator -T "dnsspoof" -e /usr/sbin/dnsspoof) to; {/usr/sbin/dnsspoof) and/or look at other examples in the menu.

As a side note, it looks like your right bracket is an ) instead of a proper bracket.
 
  


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
Edit fluxbox menu Swift&Smart Slackware 11 09-13-2009 12:12 PM
how do you edit the menu in gnome? aaronruss Linux - Newbie 7 02-23-2005 06:55 AM
Edit K Menu not working! keithieopia Linux - Software 1 02-21-2005 03:00 AM
How do you edit the Sessions menu? lyonsd Linux - General 2 02-05-2005 01:01 PM
Edit KDE Menu bigfoot1974 Linux - Newbie 2 04-12-2003 04:53 PM

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

All times are GMT -5. The time now is 07:15 AM.

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
Open Source Consulting | Domain Registration