wljoywake icon indicating copy to clipboard operation
wljoywake copied to clipboard

Controller doesn't inhibit idle

Open ghost opened this issue 1 year ago • 7 comments

I am trying to use this to inhibit idle, but it seems that whenever I run the command, it registers the controller fine, but idle is not inhibited. Is there any way to more verbose output? There are no errors or anything else when ran normally, so I can't really figure out what this issue is.

ghost avatar Jun 30 '24 18:06 ghost

What's your compositor?

nowrep avatar Jun 30 '24 19:06 nowrep

riverwm, I am pretty sure it used to work about a year ago, but haven't really played games with a gamepad since then, so I might be mistaken.

ghost avatar Jun 30 '24 19:06 ghost

Can you try on sway?

nowrep avatar Jul 07 '24 13:07 nowrep

Yes, it works one sway. However, I talked with the dev of river and he said, that sway has implemented the protocol incorrectly and that this PR will cause wljoywake to stop working on sway as well. There is a bit more information about it on this issue.

ghost avatar Jul 09 '24 12:07 ghost

Yeah that makes sense. Not much to do here other than use completely different mechanism of idle inhibit (maybe systemd).

nowrep avatar Jul 09 '24 13:07 nowrep

Yea, seems logind or elogind, in case of a different init, might be the only real solution

ghost avatar Jul 09 '24 14:07 ghost

this tool has now ceased to work on sway with the 1.11 release. pipewire idle inhibit has fixed it with: https://github.com/rafaelrc7/wayland-pipewire-idle-inhibit/pull/18 perhaps wljoywake could do the same?

ghost avatar Aug 16 '25 10:08 ghost