Skip to content
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

Add support for ext-session-lock-v1 #264

Open
emersion opened this issue Jul 28, 2023 · 9 comments
Open

Add support for ext-session-lock-v1 #264

emersion opened this issue Jul 28, 2023 · 9 comments
Labels
enhancement New feature or request

Comments

@emersion
Copy link
Contributor

No description provided.

@functionpointer
Copy link

This would be a great feature for touchscreen kiosks that turn their displays off after a period of inactivity

@emersion
Copy link
Contributor Author

ext-session-lock-v1 is not about turning displays off. It's about locking the session. See wlr-output-power-management-v1.

@functionpointer
Copy link

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?

@emersion
Copy link
Contributor Author

swayidle doesn't turn displays on and off. No, ext-session-lock-v1 doesn't interact with ext-idle-notify.

@functionpointer
Copy link

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?

@emersion
Copy link
Contributor Author

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.

@functionpointer
Copy link

functionpointer commented Aug 14, 2023

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).

@jh-devv

This comment was marked as duplicate.

1 similar comment
@CelestialCrafter
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants