A little crude, but how about:

-set a screen saver for 10mins
-set a crontab from every min (or whatever) with a script that checks qdbus, if true run gnome-session-save --kill.

again, crude, but I think it will do the trick.

ex: qdbus org.gnome.ScreenSaver /ScreenSaver org.gnome.ScreenSaver.GetActive 

On Sun, Jun 5, 2011 at 10:22 PM, Ted Gould <ted@gould.cx> wrote:
On Sun, 2011-06-05 at 13:11 -0700, betty wrote:
> thanks for the responses;
> i guess screen lock would work.
> but what i am looking for is for a situation like this;
> i'm working at my computer, i get up to do something else and may or may
> not be back to the computer for 10 minutes or more.
> i don't want to have to  go to something like screen lock or log out, i
> want the computer to automatically log me off if it is left unattended
> for more than 10 minutes.
> in the interim until someone comes up with something, if there is
> something, i guess i'll use screen lock.

You can also set up suspend.  This used to be a laptop only feature but
many desktops support it as well.  That along with screen locking should
probably get you what you need.  You'll save power and not have to worry
about someone walking up an using your session.

               --Ted



---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss