creating a script that works in kde

Kevin Krammer kevin.krammer at gmx.at
Sat Oct 1 13:55:47 BST 2005


On Saturday 01 October 2005 04:03, John R. Sowden wrote:
> It seems that all of the script tutorials are based on running in the
> console mode.  When I create the following script, and run it from a kde
> command window, only the first ech line works.

[snip]

> My next challenge is to execute the above from an icon.  The two exits are
> to close the console window.
>
> any help or referral to a site would be helpful.

You could try to just put the command and its parameters as arguments of kdesu

Something like 
kdesu /etc/init.d/boot.crypto start
or the script
kdesu /path/yourscript.sh
and removing the su call inside it, kdesu will to the user change

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20051001/08f2adad/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list