Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 09-11-2008, 02:15 AM   #1
LQ Newbie
Registered: Nov 2007
Posts: 2

Rep: Reputation: 0
How does clicking on a desktop icon run a program ?

I have studied scripts associated with a desktop icons and cannot understand how this causes programs to run when the icon is clicked.
I would appreciate an explanation as to what exactly happens or where I can find this.

Thanks in anticipation
Old 09-11-2008, 02:51 AM   #2
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 63
X receives the click on the desktop "window" and passes the click to the application owning this "window" (Nautilus, Rox…). The application detects that the click occured on a launcher and finds in this launcher's description the command that should be run when the launcher is triggered. The command is launched in the background as a separate process.



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
configuring desktop icon to run a program with wine tybaldchina Linux - Software 3 01-17-2006 12:18 AM
Launch a ncftpput script clicking on desktop icon jmanjohn61 Linux - Newbie 3 03-08-2005 12:04 AM
Ho do I install desktop icon for installed program? dbet Linux - Newbie 5 12-13-2003 11:58 PM
How to add desktop icon that launches program? registering Linux - Software 3 10-23-2003 04:48 PM
Creating Desktop Program Icon ss109 Linux - General 4 03-15-2002 11:26 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration