Search found 2 matches
- Tue Apr 21, 2020 5:22 am
- Forum: V7.5.1 Public Release Windows/Linux/MacOS X [deprecated]
- Topic: Linux idle time detection broken
- Replies: 1
- Views: 4337
Re: Linux idle time detection broken
For those looking for a workaround, here's a simple python script I made. Ensure that While I'm Working is checked and that you have 'xprintidle' installed, on ubuntu sudo apt install xprintidle should do. #!/usr/bin/env python from sys import argv from time import sleep from subprocess import Popen...
- Tue Apr 21, 2020 2:46 am
- Forum: V7.5.1 Public Release Windows/Linux/MacOS X [deprecated]
- Topic: Linux idle time detection broken
- Replies: 1
- Views: 4337
Linux idle time detection broken
The idle detection algorithm seems to be broken in Linux, even though X Server provides this information in it's API see this https://github.com/gpolitis/xidle/blob/master/xidle.c or https://github.com/g0hl1n/xprintidle/blob/master/xprintidle.c xidle is show below #include <stdio.h> #include <X11/ex...