Page 1 of 1

desktop shortcuts

Posted: Fri Jul 10, 2009 9:53 pm
by als123
Hello All,

Please know that I am very new to Linux and LXDE, but I've found something I think others may use. To create a shortcut on the desktop it would seem that just creating a link there would be enough. Unfortunately, that is not the case. I wanted Netscape on my desktop and I completed this task by the following:

Code: Select all

To create shortcut on desktop

First, make sure you are in the Desktop directory

cd /home/username/Desktop

Second create a link from the “executable” file to the /usr/share/applications

username@username~/Desktop$ sudo ln -s /home/als/navigator/navigator /usr/share/applications 

Then using that link, create another link to the Desktop

username@username~/Desktop$ sudo -s /usr/share/applications/navigator /home/als/Desktop 

I know this sounds redundant and maybe there is a better way to do this, if so, I'd appreciate anything that would make my Linux experience a little easier. As you can probably guess, I like to tinker with such things, but I'm always open to an easier way.

For the respondents: Please assume I know nothing about LXDE or Linux, because this is true. So any help you offer should be so easy "a caveman can do it" :P

I hope this helps someone,somewhere ;)

Re: desktop shortcuts

Posted: Sat Jul 11, 2009 1:28 am
by aus9

There may be easier ways but if its only an application and its icon working on your desktop.....try this

open pcmanfm
navigate to /usr/share/applications.....or (other executable files with icons..folder)
assuming you are right handed...right hand click icon and copy it into clipboard....your target application icon
Click into /home/yourname/Desktop
click into right hand pane.NOT under name...but say under filetype then right hand click and select paste
(alternatively press and hold down keyboard key CTRL and v to paste)

2) if you click into area under name....and use RH click you do not get the option to paste and it thinks you are trying to do something with the existing file you selected.

3) Tip...if you have a lot of icons to copy into desktop ....make sure you create bookmarks for those folders in pcmanfm

4) If after all that...the icon fails to run....right hand click its icon in pcmanfm....and open with leafpad (or text editor) the same to a working icon and compare what should happen....ignoring the fact that some applications need mime rules etc

Re: desktop shortcuts

Posted: Sat Jul 11, 2009 6:50 pm
by DixieDancer
Oh my, I'm not nearly geeky enough, I guess. I just opened PCManFM, navigated to my applications (usr/share/applications) and there were the icons for all my apps. I simply dragged the ones I wanted to my desktop and dropped them there. Done.

Re: desktop shortcuts

Posted: Sun Jul 12, 2009 2:21 pm
by als123
Yes, these solutions do work, if the application originate in the /usr/share/applications/.

Unfortunately, when i downloaded and installed netscape, it created a directory in my /home/username/directory.

aus9, I'll give your copy solution a try, that didn't work the first time, but I'll try again.

Thanks for the reponses

Re: desktop shortcuts

Posted: Mon Jul 13, 2009 3:12 pm
by als123

I tried your approach and it did give me a desktop icon, but I could not execute it. Is there a way to execute a script file from the desktop?


Re: desktop shortcuts

Posted: Fri Jul 24, 2009 9:19 am
by craigevil
als123 wrote:aus9,

I tried your approach and it did give me a desktop icon, but I could not execute it. Is there a way to execute a script file from the desktop?

I have Firefox in my /home this is the Firefox.desktop i use:

[Desktop Entry]
Exec=/home/craig/Downloads/firefox/firefox %u

Just change the Exec and Icon paths to where Netscape is located.

Re: desktop shortcuts

Posted: Tue Aug 26, 2014 12:07 pm
by CaptainColin
To create a desktop icon which is an executable script:

1 right click on the dektop and select to create a file;

2 open the file and copy the scipt in to it;

3 on the desktop select the file' properties and change the permissions to make it executable.

Then,when you click on it, it will ask you if you want to execute (or run) it.