xprintidle

Small utility that prints user's idle time in X

Install

All systems
curl cmd.cat/xprintidle.sh
Debian Debian
apt-get install xprintidle
Ubuntu
apt-get install xprintidle
Arch Arch Linux
pacman -S xprintidle
image/svg+xml Kali Linux
apt-get install xprintidle
Windows (WSL2)
sudo apt-get update sudo apt-get install xprintidle
Raspbian
apt-get install xprintidle

xprintidle

Small utility that prints user's idle time in X

xprintidle is a utility that queries the X server for the user's idle time and prints it to stdout (in milliseconds).