Re: Is there a way to set up gnome-screensaver or gnome-sesssion to autologout when idle.

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

 



On Wed, Nov 5, 2008 at 5:23 AM, Daniel J Walsh <dwalsh@xxxxxxxxxx> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I would like to give the admin the ability to setup xguest to logout
> when the session is idle for some time period?

I don't think it's currently possible, but I think it would be pretty
easy to code up something to do this. You can check for session idle
by listening for the org.gnome.ScreenSaver.SessionIdleChanged signal
and then checking org.gnome.ScreenSaver.GetSessionIdleTime (I think)
over dbus. Then when it's been idle long enough, execute
`gnome-session-save --kill --silent'. Somebody could probably code
that up in python pretty easily and then spawn it from autostart.

--
Dan

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux