How can I tell if a user is idle in Wayland?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
On X-Server based systems the utility xprintidle will return the number of milliseconds that the user has been idle.
Does similar functionality exist under Wayland?
I am attempting to write a small program that records application focus throughout the day, as a way to measure how I use my computer, productivity, etc.
I don't want the program to record activity when the machine is idle. Determining how long the user has been idle in X-Server sessions is easy with xprintidle, however this utility appears to be unmaintained, and does not function under Wayland.
The distros appear to be moving toward Wayland, for example the upcoming Ubuntu 17.10 uses Wayland by default, therefore xprintidle is no longer a workable solution.
Is there a mechanism in Wayland for determining if the user is idle, short of something inefficient like constantly polling for keyboard and mouse activity?
linux ubuntu x11 wayland
add a comment |Â
up vote
2
down vote
favorite
On X-Server based systems the utility xprintidle will return the number of milliseconds that the user has been idle.
Does similar functionality exist under Wayland?
I am attempting to write a small program that records application focus throughout the day, as a way to measure how I use my computer, productivity, etc.
I don't want the program to record activity when the machine is idle. Determining how long the user has been idle in X-Server sessions is easy with xprintidle, however this utility appears to be unmaintained, and does not function under Wayland.
The distros appear to be moving toward Wayland, for example the upcoming Ubuntu 17.10 uses Wayland by default, therefore xprintidle is no longer a workable solution.
Is there a mechanism in Wayland for determining if the user is idle, short of something inefficient like constantly polling for keyboard and mouse activity?
linux ubuntu x11 wayland
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
On X-Server based systems the utility xprintidle will return the number of milliseconds that the user has been idle.
Does similar functionality exist under Wayland?
I am attempting to write a small program that records application focus throughout the day, as a way to measure how I use my computer, productivity, etc.
I don't want the program to record activity when the machine is idle. Determining how long the user has been idle in X-Server sessions is easy with xprintidle, however this utility appears to be unmaintained, and does not function under Wayland.
The distros appear to be moving toward Wayland, for example the upcoming Ubuntu 17.10 uses Wayland by default, therefore xprintidle is no longer a workable solution.
Is there a mechanism in Wayland for determining if the user is idle, short of something inefficient like constantly polling for keyboard and mouse activity?
linux ubuntu x11 wayland
On X-Server based systems the utility xprintidle will return the number of milliseconds that the user has been idle.
Does similar functionality exist under Wayland?
I am attempting to write a small program that records application focus throughout the day, as a way to measure how I use my computer, productivity, etc.
I don't want the program to record activity when the machine is idle. Determining how long the user has been idle in X-Server sessions is easy with xprintidle, however this utility appears to be unmaintained, and does not function under Wayland.
The distros appear to be moving toward Wayland, for example the upcoming Ubuntu 17.10 uses Wayland by default, therefore xprintidle is no longer a workable solution.
Is there a mechanism in Wayland for determining if the user is idle, short of something inefficient like constantly polling for keyboard and mouse activity?
linux ubuntu x11 wayland
linux ubuntu x11 wayland
asked Oct 9 '17 at 0:44
GetOperational
112
112
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f396911%2fhow-can-i-tell-if-a-user-is-idle-in-wayland%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password