LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-24-2007, 02:22 PM   #1
fexter
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Rep: Reputation: 0
How do you create desktop shortcuts?


How do you create desktop shortcuts?

Last edited by fexter; 10-24-2007 at 02:23 PM.
 
Old 10-24-2007, 02:28 PM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 61
I guess, to begin with, that would require us to know which desktop environment you are using. Doncha think?
 
Old 10-24-2007, 02:36 PM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Desktop shortcuts are actually files that tell what to execute/show/do where, among other things. There can be different "standards" (for example different desktop environments could use their own kinds of 'desktop shortcuts' that didn't work elsewhere), but nowadays there are some agreed standards that at least the biggest desktop environments try to obey. Therefore KDE-made shortcuts should work in Gnome and vice versa.

The content of a desktop shortcut, which is a plain-text file, could be something like this (the file is called something.desktop, of which your desktop environment kindly hides the .desktop part, so the icon shows up just as something for you.):
Code:
[Desktop Entry]
Comment=
Encoding=UTF-8
Exec='/path/to/some/nice/executable'
GenericName=Some nice executable
Icon=/usr/share/pixmaps/someniceicon.png
MimeType=
Name=A Nice Thing
Path=/path/to/some/nice/
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-KDE-SubstituteUID=false
X-KDE-Username=
It's just made so that when your desktop environment finds a .desktop file, it reads it trough and handles it as a "desktop shortcut", reading the information from the file and working with it as configured.

Last edited by b0uncer; 10-24-2007 at 02:37 PM.
 
Old 10-24-2007, 02:37 PM   #4
The_JinJ
Member
 
Registered: Apr 2004
Location: Scotland
Distribution: Suse, OpenWRT
Posts: 299

Rep: Reputation: 30
In Gnome, right click on the desktop and choose create launcher
 
Old 10-24-2007, 02:42 PM   #5
fexter
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Wow thanks guys!!! This is great stuff! Sorry I am a hardcore windows person trying to switch over to Ubuntu 7.10. I am actually testing it out with VMware so thats why I have all sorts of dumb/simple questions.

Thanks for the replies!
 
Old 10-24-2007, 05:38 PM   #6
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 448

Rep: Reputation: 37
See also:
http://standards.freedesktop.org/des...y-spec/latest/
 
  


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
asking for another way to create application shortcuts on ROX desktop Mr_Shameless Linux - Desktop 3 05-13-2007 03:05 PM
xubuntu - how do I create shortcuts? greek_lin Ubuntu 8 08-09-2006 03:33 PM
Can't create shortcuts to directories on the Desktop! lma10110 Linux - Newbie 1 09-23-2005 03:15 PM
How do I create shortcuts? HoosTrax Linux - Newbie 14 02-18-2004 09:34 PM
how can i create shortcuts on my desktop!?? FreakboY Linux - Newbie 6 07-19-2002 06:24 AM


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