Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3694

General Questions • Re: [Software] [Solved] Trixie XFCE4: how to fire off a shell script when the system idle state changes?

$
0
0

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



Viewing all articles
Browse latest Browse all 3694

Trending Articles