I use this to get mouse/keyboard idle time in minutes for a remote system I admin
Code:
echo `expr $(DISPLAY=":0" xprintidle) / 60000` "minutes"Probably only works on X though
Statistics: Posted by Organic_Marble — 2026-01-19 17:01
I use this to get mouse/keyboard idle time in minutes for a remote system I admin
Code:
echo `expr $(DISPLAY=":0" xprintidle) / 60000` "minutes"Probably only works on X though
Statistics: Posted by Organic_Marble — 2026-01-19 17:01