cage
cage copied to clipboard
Add support for ext-session-lock-v1
This would be a great feature for touchscreen kiosks that turn their displays off after a period of inactivity
ext-session-lock-v1 is not about turning displays off. It's about locking the session. See wlr-output-power-management-v1.
Turning display off and on again is already possible, thanks to swayidle. Unfortunately when the display is off, touch inputs are still recognised. ext-session-lock-v1 could be used to disable this, no?
swayidle doesn't turn displays on and off. No, ext-session-lock-v1 doesn't interact with ext-idle-notify.
Swayidle allows running arbitrary commands on idle. This can easily be used to turn the display off.
Is there a command that can turn off touch processing in cage?
This can easily be used to turn the display off.
No, because cage provides no way of doing so.
Is there a command that can turn off touch processing in cage?
No.
This can easily be used to turn the display off.
No, because cage provides no way of doing so.
At least in my case (RPi w/ 7inch touchscreen) it is easy:
swayidle timeout 120 "echo 1 > /sys/class/backlight/10-0045/bl_power"
With ext-session-lock-v1 i could use swaylock, which would disable touch processing (among other things).
+1
+1