On 09/12/2011 12:51 AM, dwgallien wrote:
I have written a few bash scripts for synching files to a memory stick and I am wondering, is there a way to execute a script by making an icon and clicking on it from kde? I know how to execute the scripts from the command line using . or sh already, but I haven't been able to figure out how to execute by clicking on the file's icon.
Thanks George
The script doesn't execute by just clicking on the file in Dolphin?
No it doesn't, kind of weird. I gave the file a ".sh" extension, and so it brings up a dialog asking if I want to install a specialized application for files of type .sh. I click on the 'no' box, and then it opens up a game I downloaded for my kids called "trackballs". (When I downloaded this game, it didn't have an icon to execute, so I went to a konsole and typed in "trackballs" on the command line to execute. For some reason trying to open a shell script in dolphin runs this game.)
And if you create a soft link to that file elsewhere, e.g., in the Desktop Folder plasmoid, should do the same.
that seemed to work Or you can create a
kmenu entry using whatever icon you like and call the script from kickoff favorites, or drag the entry to your taskbar or to the launcher plasmoid.
what exactly is the launcher plasmoid? Is that the gecko launcher in the lower left corner of my desktop? Or you can manually create the same kind of
.desktop file that kmenu does, see ~home/.local/share/applications; that .desktop file can be put anywhere and when clicked on will execute.
I will look into that one, thanks George -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org