Jump to content

Executing scripts from the desktop


satelliteuser083
 Share

Recommended Posts

Just create the icon (Application launcher) and enter the script path as the path of the application to launch.

If you want to see the application's output, you may even check the checkbox saying to execute the command in a terminal window.

 

Yves.

Link to comment
Share on other sites

Also, make sure that the very first space on the first line of your script starts with:

 

#!/bin/bash

 

You can't have any whitespace(or anything else) before that or the script won't execute with a mouse click although it will execute fine from the command line. At least that's true for more recent versions of kde. Apparently, kde doesn't pick up the script as executable unless #!/bin/bash are the very first characters.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...