LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-19-2003, 11:44 AM   #1
HairballDET
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Rep: Reputation: 0
Two Apps from one icon????


Im getting tired of opening two shell tabs to run Nessus client AND server, and was about to make a desktop icon for it. (RH9)
To run it ya have to run 'nessus' and 'nessusd -D' (that is client and server)
my question is : how can i make one icon start both apps at the same time?
Thanx in advance peps
 
Old 10-19-2003, 12:48 PM   #2
Kurt M. Weber
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 335

Rep: Reputation: 33
Have the icon run a shell script that starts both programs.
 
Old 10-19-2003, 01:01 PM   #3
HairballDET
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I cant get it to run a shell script dude, Ive got to run two.
Ive chosen create new (icon) link to aplication.
gone to the execute tab
and that where im lost. theres only space for one app.
 
Old 10-19-2003, 01:13 PM   #4
Kurt M. Weber
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 335

Rep: Reputation: 33
No, no, you're not understanding what I'm saying.

Have the icon run a shell script that launches both programs.
 
Old 10-19-2003, 01:22 PM   #5
HairballDET
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
like this?
'/usr/local/sbin/nessusd' '/usr/local/bin/nessus'
 
Old 10-19-2003, 01:25 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Yes, there's only "space for one app", what Mr. Weber means I think, is that that "one app" is your script, which then runs your two apps. Eg:-

make a file called runnessus
put the following text into it, including the "&" characters:

nessus &
nessusd -D &

save the file and make it executable:

chmod +x runnessus

Now make your desktop icon thingy and put the following in the execute box you put:

/the/path/to/runnessus

That should do it (I just tried, but not with nessus as I do not know what that is)

Hope that helps
 
Old 10-19-2003, 01:28 PM   #7
HairballDET
LQ Newbie
 
Registered: Oct 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Awesome thanks for the friggin fast reply guys.
You guys (and girls i guess) rock


Evil laugh... It weeeerks IT WOOOOOOORRRRKKKKSSSSSS!!!!
*Rubs hands* now wheres that Ip gone........

Last edited by HairballDET; 10-19-2003 at 01:33 PM.
 
Old 10-19-2003, 01:29 PM   #8
Kurt M. Weber
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 335

Rep: Reputation: 33
Right.
 
  


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
Icon Ptrs to Launch Apps on GUI Desktop? penguinlnx Linux - Newbie 4 03-19-2005 06:05 AM
KDE apps give icon warnings David the H. Debian 9 07-21-2004 04:30 AM
Slack 9.1 - PHP apps can't access MySQL but Perl Apps can tallship Linux - Software 1 06-13-2004 09:41 AM
Already installed apps not loading after rpm installer for other apps toastermaker Linux - Newbie 11 11-17-2003 12:25 PM
Menu troubles: apps do not launch; unable to add apps hfinger Mandriva 1 08-22-2003 05:49 AM


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