LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-17-2007, 08:36 AM   #1
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Rep: Reputation: 30
Running a command from a launcher (on gnome desktop)


Hi,

I want to right click the desktop and click "Create Launcher..."

And put the command "/usr/src/ventriloctrl-0.3/runctrl.sh" in it so it executes that as from a terminal.

Clicking "run in terminal" and simply entering the above line just makes a terminal flash for a second and go away

Oh and I also want the command to be run as root :X (of course I will enter my password manually!)

Last edited by Virtuality; 12-17-2007 at 08:39 AM.
 
Old 12-17-2007, 09:32 AM   #2
rakeyry
LQ Newbie
 
Registered: Apr 2006
Distribution: Gentoo
Posts: 8

Rep: Reputation: 0
In the command settings in the "Create a Launcher" menu, add an extra parameter to set the output of the command to go to a file ( like add ">> ~/.error.txt" to the end of the command), or you can add a "&" to the end of the command to make the terminal stay open.

Either way, I suspect that the error has to do with you not being root, if this is the case, add sudo to the beginning of the command. If this is not the case, then post the output of the command on here!

Hope this helps =)
 
  


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
running wmaker under Gnome desktop xiekke Fedora 0 02-26-2006 09:57 AM
Gnome desktop launcher for apps with root premissions yotamk Linux - Newbie 3 04-22-2005 06:28 AM
New Launcher in Gnome doesn't appear on the desktop baltho Linux - Software 2 03-28-2005 10:46 PM
Simple Gnome questions about .desktop launcher files. dagalicous Linux - General 9 03-14-2005 08:58 PM
GNOME desktop to Command promt??? AZIMBD03 Red Hat 6 03-03-2004 11:13 AM


All times are GMT -5. The time now is 07:38 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration