Web lists-archives.org

Re: [kde-linux] Triggering KDE screen lock from script?




Peter Houppermans wrote:

> I was wondering is anyone on this list would know how I could trigger
> the KDE screen lock from a script?
> 
> Once a user is logged in I would like to run a couple of scripts that
> could trigger the screen lock/saver to engage if certain conditions
> arose, but so far I have found nothing helpful in the way of hooks.  I'm
> talking about a standard, boring bash shell script for the moment
> (that's all I can manage for the moment, I haven't coded anything in 20
> odd years or so, so Python is a little way off yet :-).
> 
> Ideas?  Suggestions?  Beer (you need to be in Zurich for that)?

from xdg-utils:
xdg-screensaver lock

-- Rex

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.