i92guboj |
09-01-2008 09:26 AM |
Quote:
Originally Posted by matthewg42
(Post 3266059)
- right-click on the desktop and select "create launcher" from the context menu.
- select "application" or "application in terminal" as appropriate for your script.
- enter a name (this is what the label on the desktop will be)
- in the "command" entry, put the full path to the script. You can use th "browse" button to find your script.
|
I think that what the OP is trying to do is to manipulate the desktop icons from a script, and not the other way around.
I don't use gnome, so I can't be sure, but the desktop icons will reside into a folder (a gnome user should be able to tell). It should be something like ~/Desktop or ~/.gnome/Desktop or something similar.
Inside that directory, once you locate it, the said desktop links should reside, they should be just regular files which you should be able to reference from a regular bash script, just like any other file. How to manipulate them is up to you, depending on what do you exactly want to do.
|