[kde-linux] Count idle time...
Jonathan Chen (jonachen)
jonachen at cisco.com
Wed Aug 10 00:11:40 UTC 2005
You know your idea would work, Just that how would it be excuted?
I can't have it as a screensaver to turn it on. This automatic log out
from KDE can not be changed by the user. It would be an administrative
function on KDE 3.1.3(Yes, I know its old. I wish I can upgrade too!).
> -----Original Message-----
> From: Pollywog [mailto:linux-kde at shadypond.com]
> Sent: Tuesday, August 09, 2005 11:04 AM
> To: kde-linux at kde.org
> Subject: Re: [kde-linux] Count idle time...
>
> On 08/09/2005 05:47 pm, Pollywog wrote:
> > On 08/09/2005 05:39 pm, Jonathan Chen (jonachen) wrote:
> > > It's worth checking out...
> > >
> > > But it might be best to find a program that tells me the
> statistic
> > > of X session being idle like the 'w' command. I wish the 'w'
> > > command can detect X session too. Then I would have working bash
> > > script. =(
> >
> > I just tried something and it worked. I put a script in
> ~/bin/kde_logout:
> > #!/bin/sh
> > dcop ksmserver ksmserver logout 0 0 0
> >
> > Then on the command line I did this and walked away for 5 mins:
> >
> > xautolock -time 5 -locker bin/kde_logout &
> >
> > I returned 5 mins later and I had been logged out of my
> idle kde session.
>
> I don't know but perhaps the "top" command will give you what
> you need.
> If all you want to do is logout idle users from an X session
> (I use kdm), you could do what I did, but put it in the kdm
> startup scripts so it starts as the user. If you want to do
> the same thing for shells, the idle daemon
> (idled) might do it, but I believe idled is no longer
> supported, so you would be on your own if you download it.
>
>
> 8)
> ___________________________________________________
> This message is from the kde-linux mailing list.
> Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>
More information about the kde-linux
mailing list