-   Linux - General (
-   -   Creating Desktop Program Icon (

ss109 03-15-2002 09:55 AM

Creating Desktop Program Icon
ould like to post a new icon on my desktop that links to a program. I already know how to do this basically. HOwever, normally whenever I use the program, I must 'cd filename' first, then 'wish programname'. HOw can I have the system do this under a desktop link?

llama_meme 03-15-2002 09:59 AM

Write a shell script containing the two commands you mention - something like

cd filename
wish programname

do chmod +x shellscriptfilename to make the script executuable, then just link the icon to the shell script. hope that helps

ss109 03-15-2002 10:11 AM

Where do I put the 'chmod +x shellscriptfilename'?

llama_meme 03-15-2002 11:18 AM

It's a shell command, type it into an xterm after you've created the shell script file.

ss109 03-15-2002 11:26 AM


All times are GMT -5. The time now is 06:37 PM.