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

Re: lock screen command?



Alan Ezust schrieb:
Is there a command one can run from the command line which does the
same thing as "lock screen" from the k menu?

If you're running the command line as the same user running kde use:
dcop kdesktop KScreensaverIface lock

If you're running the command line as root and you want to lock the Session of user test1 use:
dcop --user test1 --all-sessions kdesktop KScreensaverIface lock

--
Mirco Sippel                          ,= ,-_-. =.  running on
email: msippel@mirsip.de             (( /)0 0(\_))   Debian
Webmaster von www.rsv-elgershausen.de `-'(. .)`-'  GNU / Linux
Moderator auf www.linux-welten.de         \_/      3.1 "sarge"



Reply to: