-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement pause-on-active for Linux #2222
base: master
Are you sure you want to change the base?
Conversation
4ce73e1
to
363bc36
Compare
363bc36
to
106ae4a
Compare
106ae4a
to
062f3f6
Compare
I considered using this function but did not enjoy requiring X (many of my miner rigs don't even have it installed). So then started looking at some other method but there are painfully few other ways to probe a timestamp of last-input, although it seems like something that could easily be in /proc/ or /sys/ somewhere tied to input at a system level without X. Found it amazing there is no kernel level functionality for this. |
Noted there are wrappers making everything fail gracefully when there is no X nice. |
@xmrig ping |
Can't we use dbus for this without using Xorg libs ?
returns
|
Sure except Gnome requires X EDIT: Also, requires Gnome (I run Cinnamon...)
|
No description provided.