[Kde-kiosk] Idle Logout
Dan Brough
kde-kiosk@mail.kde.org
Tue, 10 Dec 2002 19:29:48 +1300
On Tue, 10 Dec 2002 18:53, Ian White wrote:
> Has anybody found a way of forcing a user to logout after a specified
> amount of idle time? Everybody using these terminals will have to log i=
n
> for usage tracking, etc. so I don't want people using somebody elses
> abandoned login.
>
Heres my naff way of doing it...
running,
"dcop kdesktop KScreensaverIface isBlanked"
tells you whether the screensaver is on (or the screen has been locked).
"dcop kdesktop KDesktopIface logout"=20
will logout the current user.
Now write a script that routinely checks to see if the screensaver is up=20
(and log them out when it is) and stick it in every users .kde/Autostart=20
folder to startup when the user logs on.
Me.
###################################################################
Dan Brough - Kiosk And Display Systems
http://www.kads.co.nz
Wellington Airport Tue 10 Dec 2002 04:00 Wind: 33 KPH N Temperature: 18C
1005 hPa Few clouds at 1.5 thousand feet;Broken clouds at 1.7 thousand fe=
et
Quit worrying about your health. It'll go away.
=09=09-- Robert Orben
###################################################################