FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

LinkBack Thread Tools
Old 11-06-2008, 04:21 PM
"Dan Nicholson"
Default Is there a way to set up gnome-screensaver or gnome-sesssion to autologout when idle.

On Wed, Nov 5, 2008 at 5:23 AM, Daniel J Walsh <dwalsh@redhat.com> wrote:
> 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.


fedora-devel-list mailing list

Thread Tools

All times are GMT. The time now is 06:39 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org