clacker
Group: Members
Posts: 570
Joined: June 2004 |
|
Posted: Dec. 14 2004,20:26 |
|
try making the following file and putting it in /home/dsl/.xtdesktop along with an icon called mydis.gif
Code Sample | table Icon Type: Program Caption: myndis Command: /opt/mydis.sh Icon: .xtdesktop/mysis.gif X: 60 Y: 270 end
|
Caption = name Command = path to application plus arguments Icon = path to icon X: = pixels from left hand side of your screen Y: = pixels from the top of your screen
This should run your program. If you are asking how to run more than one command from an icon, then you need to write a second shell script that calls the first and then calls whatever else you want to do. If you want to run you program in a window, you need to have your command be
Command: rxvt -rv -T "MyDis" -e /opt/mydis.sh
If you're asking how to make the changes appear in the window after you add the lnk file, you need to hit <CTRL><ALT>DEL> to shutdown the x-server and then type startx to restart x.
|