[kde-linux] Howto issue commands on locking an unlocking the session

Kevin Krammer kevin.krammer at gmx.at
Sat Nov 3 12:56:32 UTC 2007


Hi Nico,

On Saturday 03 November 2007, Nico Gulden wrote:

> Thanks for the tip. I tried it out yesterday and it works as expected.

Excellent!

> Your guess is right that kdesktop_lock blocks. Therefore in my wrapper
> script it is doing somethin before calling the real kdesktop_lock and it
> is doing something after kdesktop_lock. It is important that the wrapper
> script passes the options on to the the real kdesktop_lock program.

Remember to be be careful at upgrades, since it will likely overwrite your 
script with the binary from the upgraded package.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20071103/b5295a1f/attachment.sig>


More information about the kde-linux mailing list