Results 1 to 5 of 5
This ****ing problem is keeping me busy since last 7hrs. I have looked thru all the manuals and searched thru web, but no luck. All I want to do is ...
- 09-05-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 3
shortcut to shell script
This ****ing problem is keeping me busy since last 7hrs. I have looked thru all the manuals and searched thru web, but no luck. All I want to do is to create a desktop shortcut to my shell script "/mnt/work/scripts/net/connect" so that I can run it in konsole by double clicking on it. But seems that linux creators have tried everything under their sleeves to make sure that no user is able to do so by any chance



any suggestions???
- 09-05-2007 #2
Make sure your shell script is executable by typing:
Then right click on your desk top, choose "Create New" and select "Link to application" Fill in the details to your script. Alternatively cd to your desktopand create a softlink by typing::Code:chmod a+x /path/to/your/script
Code:cd ~/Desktop ln -s /path/to/your/script
- 09-05-2007 #3Just Joined!
- Join Date
- Sep 2007
- Posts
- 3
sorry dude, this only opens the script with KATE. I wan to RUN it in TERMINAL plz.......
- 09-05-2007 #4
Did you preform the chmod command on your script to make it exectable and was it successful?
- 09-05-2007 #5
If you're running KDE, you can just 'right click', new/shortcut_to_application/TAB-application/advanced
Check the box 'run in terminal', give it a name and fill in the /path/command, find a nice icon, click OK and you're done.Can't tell an OS by it's GUI


Reply With Quote