LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-22-2007, 12:56 PM   #1
blastradius
Member
 
Registered: Oct 2004
Location: Cheshire, England
Distribution: Debian Stable
Posts: 269

Rep: Reputation: 39
running root programs from an desktop icon


Hi all!

I've successfully installed Starcraft onto my Gutsy 64bit system. The thing is,in order to save from Starcraft I had to install as Root as it wouldn't let me save a profile with an install done without Root permissions.
I've added a launcher to the desktop but my question is:- how do I get the launcher to run the terminal commands to locate the path to the program and execute with Root permissions?

Any help would be appreciated!
 
Old 11-22-2007, 07:57 PM   #2
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Setting the execute permission for Others should solve your problem. Do a right click and select properties of the desktop icon. In the launcher tab Command: line, include the path to the executable.
 
Old 11-23-2007, 09:50 PM   #3
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
create the icon without root permissions
then right click and go to proprieties

in the command field add gksu before the command (gnome)
or kdesu (KDE)
(use gksu for xfce)

that will prompt you for the root password every time you start it
 
  


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 programs ON the desktop valdiorn Linux - Desktop 3 09-26-2006 10:31 AM
running limewire from fluxbox menu or desktop icon tuneout Linux - Software 2 08-15-2005 08:58 AM
running programs as root mehesque Linux - General 16 06-09-2004 05:18 PM
Desktop shortcut for running programs anon318 Linux - Software 6 03-19-2004 06:48 PM
Running wine from desktop icon Roy-Svork Linux - Software 5 06-22-2003 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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