Lubuntu 10.10 Symbolic Link to Desktop from Directory
I am using Lubuntu 10.10 and have installed my application that I need. What I need is a link to the desktop that will execute the program from the /usr/share/test directory. When I execute the program I need to use "Sudo" in order to run in. So my questions is how would I add a symbolic link the desktop with the approipiate permission to run the executable. Also I need to add a custom icon the desktop. thanks
|
ah!
metal in the mornin huh bro? whiskey-in-the-jar 'o lol uh... ln -s /usr/share/test/name-of-executable /home-user-name/Desktop however, most menu files go in /usr/share/applications and they have link to icon here's one I made for LiloConfig in slackware Code:
[Desktop Entry] if it needs root privs to open use either as above or Exec=gksu /usr/share/test/name-of-app does that help? |
master of puppets, ride the lightning and black albums cannot be touched by these new age grung bands. They drive me crazy. I am old-school metal/nerd. Many thanks for all your help and I will give this a shot.
P.S one more question. Does ownership of the symbolic link have to be root or of the profile from where I am trying to execute it in? |
no doubt
old school metal I was there buddy in the 80's went to Monsters of Rock ride-the-lightning at Capitol center! 1988! yeah, stuff nowadays sucks! gimme some Dio, some Tallica, some Black Sabbath! Ozzy! I went to all the Ozzfests it should be root, but maybe not.... |
That is the last thing in life I need to go to is the OZZ Fest before I die. I will give it a shot. many many thanks for everything. Can you believe that I attended Woodstock in Rome New York in 1999. I felt like a senior citizen. LOL
|
I tried everything but cannot get it to execute under ubuntu:
PHP Code:
|
try
gksu /usr/share/test/test_scripts/test or su-to-root -X -c /usr/share/test/test_scripts/test try entering the commands first in a terminal as user or root |
I have tried all of that. After thinking about it. The application build is on Ubuntu 9.04 using Gnome and I am trying this on Lubuntu 10.10 using a shave down version of Gnome. I definately has to due with something with the version difference in Gnome. I am going to install just regular Ubuntu 10.10 Maverick using plain jane Gnome and see if there is a diffence. When it is all said and done I will let you know. This has been kicking my behind for a while. Thanks for the input. I will post soon!
|
All times are GMT -5. The time now is 06:41 PM. |