Re: creating a script that works in kde

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org

Attachment: pgpK2XOhaueNs.pgp
Description: PGP signature

___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux