Dne Po 1. dubna 2013 19:44:38, Dsant napsal(a):
I would like to send a script by email to clients. But they would not know to use terminal or chmod. If they would just have to double clic on file, it would be perfect. Could be under KDE3, KDE4 or Gnome. When they have saved the file on local disk, how to make it run ? By default, the file is opened by the text editor...
-> I can easily customize the script -> I can ask clients to do anything by phone :) well, not to complicated.
Any trick ?
And what about create also .desktop file (something like myscript.desktop) containing something like #!/bin/bash [Desktop Entry] Type=Application Name=MyScript Exec=./myscript.sh and tell him to save both to desktop and hit the desktop file. It should first ask if You really wish to launch it. And You can preserve all attributes using for example tar.
Dsant
Good luck, Vojtěch -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/