Image
 
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 10 guests online
EH-Net Donations

Enter Amount:
$

Google Ads
EH-Net News Feeds
Latest Additions
Book Recommendations





 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Otherarrow Add CLI tools to Ubuntu App Menu
Ethical Hacker Community Forums
November 23, 2008, 06:23:40 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: ChicagoCon 2-Day Ethical Hacking Conference with MS Blue Hats Oct 31 - Nov 1. Tickets Only $100! www.chicagocon.com/content/view/103/51/
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Add CLI tools to Ubuntu App Menu  (Read 1938 times)
0 Members and 1 Guest are viewing this topic.
BillV
Hero Member
*****
Offline Offline

Posts: 862


View Profile
« on: March 20, 2008, 09:04:42 PM »

Alright, so I'm trying to figure out how I can create shortcuts in the Gnome application menu on Ubuntu to launch standard CLI tools (nmap, dig, anything else). I've found the 'edit menu' utility, but when I have it create a 'terminal application' link and then click it from the menu, I just get the terminal to flash for a split second and then close. I haven't had any luck searching for this on the web. Any suggestions?
Logged
RoleReversal
Sr. Member
****
Offline Offline

Posts: 457


View Profile WWW
« Reply #1 on: March 22, 2008, 04:00:39 AM »

Bill,

I'm sure it's a nasty hack and someone will be able to provide a better solution. For the same issue I just set the command to pipe it's output through more/less/<chooseYourPoison>, that way the terminal should remain open waiting for interaction.

I've only tried this under KDE so your mileage may vary, but I'm assuming the principal should be the same.
Logged

A little bit of sanity:
http://www.infosanity.co.uk
BillV
Hero Member
*****
Offline Offline

Posts: 862


View Profile
« Reply #2 on: March 22, 2008, 10:02:05 AM »

Thanks for the idea, much appreciated.

I thought my issue may be a gnome limitation, so I've also downloaded and tried everything with KDE (kubuntu) as well, but experience the same problems.

I tried your idea out, and it did work to keep my terminal window open, but as soon as I was done cycling through the pages the terminal window closed. And that was only with KDE. With Gnome, I experienced the same original issue of the terminal opening then closing right away.

Another suggestion I found somewhere was to create a small script that calls the command/app within it. Same original issue.
Logged
BillV
Hero Member
*****
Offline Offline

Posts: 862


View Profile
« Reply #3 on: March 22, 2008, 10:15:45 AM »

OK, so I decided to boot up BT to see how those guys have theirs setup. BT uses KDE, so I booted my Kubuntu VM back up.

I noticed that everything was 'command;sudo -s'. Sure enough, tried this on Kubuntu and it worked with no problem.

When I go back to Ubuntu and try the same, I receive "there was an error creating a child process for this terminal." Kind of weird since the command works fine from inside a terminal.

I tried switching it around.. "sudo nmap", but it just goes back to closing right away.

So it looks like KDE will work Smiley Getting closer at least, hopefully I'll figure out something with Gnome.
Logged
RoleReversal
Sr. Member
****
Offline Offline

Posts: 457


View Profile WWW
« Reply #4 on: March 22, 2008, 11:38:56 AM »

I noticed that everything was 'command;sudo -s'. Sure enough, tried this on Kubuntu and it worked with no problem.

Knew there would be a neater way of doing it. I've left my linux machine at work as I'm meant to be in holiday mode for Easter weekend. Let me know if you have any more luck and I'll try a few things once I get mty hands on one of my linux boxes
Logged

A little bit of sanity:
http://www.infosanity.co.uk
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.043 seconds with 23 queries.
 
Sponsors

cwnp_moto__120x90.gif

Polls
During the most recent election, I:
 
Support EH-Net


Support EH-Net by
Buying all of your
Amazon items using
the search bar above.

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!
Recent Forum Topics
Vote For EH-Net

progenic.com
Click here to Vote!

Sadikhov.com
Top IT Cert Sites

binarica.com
Binarica Logo

Add to Technorati Favorites
technorati fave

 
         
Advertisement

© 2008 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.