View Single Post
  #4 (permalink)  
Old 28-Jun-2009, 10:36
suse_tpx60s's Avatar
suse_tpx60s suse_tpx60s is online now
Busy Penguin
 
Join Date: May 2009
Location: EU
Posts: 455
suse_tpx60s hasn't been rated much yet
Default Re: How do you create an executable script to run from an ic

Quote:
Originally Posted by hcvv View Post
Code:
#! /bin/sh
should be
Code:
#!/bin/sh
(no white space)

You do not explain what you entered after choosing "link to application". How can we know if you made a mistake or not?

Why double click? In my system that would start it twice!
Thanks. White space removed now.

You're right I should have listed what I was doing - sorry.

General tab: I entered a name for the shortcut
Permissions tab: Left as is.
Application tab:
>Name: Entered the same name as in general tab
>Command: Browsed to the script.
>Advanced options: Enabled feedback.

I said double click as I'm from windows and everything there is double click. Old habits die hard.

Quote:
Originally Posted by NismoTie
If you wanted to run it from your desktop say, I would plant a copy on the desktop, right click and then allocate an icon to it, in this case try and find one to do with a battery, you could also download a custom icon set of the internet to separate the icon from the rest of your icons.
I tried that but cannot change the icon. Right clicking and going to properties gives no option to change the icon.

On thing, should the script filename have an extension or not or doesn't it matter?
__________________
IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSuSE 11.1 | KDE4.3.3
ASUS
M3N78 | AMD 64x2 5400+ | nvidia 8200+ | 2GB | openSUSE 11.2 | KDE4.3.3
Reply With Quote