LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 07: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 07:39 AM.
 
Old 12-17-2007, 08: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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