[kde-linux] Count idle time...

Jonathan Chen (jonachen) jonachen at cisco.com
Mon Aug 8 16:31:16 UTC 2005


Sorry for being a bit off topic from KDE.

I'm trying to write a bash script and need to know how does KDE or other
windows manager start counting a person being idle from the screen?

I thought the simple command "w" would do the trick and discovered its
only for terminal shell and not any X activities.

My script is to kill an X session if being idle for 72 hours/3days...



More information about the kde-linux mailing list