Results 1 to 7 of 7
I made a shell script. I can start it in the console via >./filename<.
But I want it to start when a User clicks on the file in KDE (just ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-21-2005 #1Just Joined!
- Join Date
- Nov 2005
- Posts
- 20
How to execute a shell script in KDE?
I made a shell script. I can start it in the console via >./filename<.
But I want it to start when a User clicks on the file in KDE (just like a windows batch file).
Please tell me what to do.
Best regards,
Lothar
- 11-21-2005 #2
I believe you can right-click the file and select "Run in terminal"
- 11-21-2005 #3Just Joined!
- Join Date
- Nov 2005
- Posts
- 20
That does not work. Anyway, I'm looking for a way to execute the file via a single click. Maybe I can compile it somehow?
Originally Posted by lakerdonald
- 11-21-2005 #4
You cannot compile a shell script....
Make sure that the eXecutable permission is set.
- 11-21-2005 #5Just Joined!
- Join Date
- Nov 2005
- Posts
- 20
It is set, I can execute the script in the terminal. Al i'd like to to is execute it with a single mouseclick in KDE.
Originally Posted by lakerdonald
- 11-21-2005 #6Linux Newbie
- Join Date
- Sep 2005
- Location
- Wahiawa, Hawaii
- Posts
- 125
Running a Script from KDE
Aloha,
Step 1. Write a script that does the job desired.
Step 2. Save it and remember it's location.
Step 3. On the KDE desktop create a link to application.
Step 4. Under application name, browse to your script and select it.
Now when you click on the Icon that is created, which can be changed, it will launch your script. Note that it will not give any feedback in a terminal window unless you set it to do that.
Mahalo,
EdwardGNU/Linux is a powerful Free OS. Fear is a powerful motivator. Freedom is sweet. Fear GNU/Linux. Savor Freedom.
- 11-22-2005 #7Just Joined!
- Join Date
- Nov 2005
- Posts
- 20
That's it. Thanks!


Reply With Quote
