[kde-linux] Automatically run script at logoff

Kevin Krammer kevin.krammer at gmx.at
Tue Nov 29 21:12:37 UTC 2005


On Tuesday 29 November 2005 19:54, Pollywog wrote:
> On 11/29/2005 08:58 am, Tony Bloomfield wrote:
> > Are there any limitations on the type of script you can include? I would
> > like to include a reminder to myself to do something which might take
> > quite a few minutes, including a connection to the Internet. Will
> > shutdown wait for these to finish?
>
> I'm not sure about that, I run three or four small scripts and I have not
> had any problems with it.  One of the scripts umounts encrypted containers
> in case I forget to do that.  I also have scripts to stop gpg-agent and
> ssh-agent and to remove recent email addresses from kmail by overwriting
> kmailrc with a backup copy.  All are small scripts.

For the last use case you could use kwriteconfig to just overwrite the 
respective entry or make that entry immutable thus keeping KMail from 
overwriting it.

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-linux/attachments/20051129/b89962dd/attachment.sig>


More information about the kde-linux mailing list