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

Disable Panic Sequence (backspace+escape+enter)? #315

Closed
tylerfaulkner opened this issue Sep 2, 2022 · 2 comments
Closed

Disable Panic Sequence (backspace+escape+enter)? #315

tylerfaulkner opened this issue Sep 2, 2022 · 2 comments

Comments

@tylerfaulkner
Copy link

I'm am creating a kiosk application and this has helped me out immensely so far in remapping certain pesky chrome shortcuts which don't want to be disabled.

I don't want my users to be able to break out of the set environment whatsoever besides pressing a predefined key sequence for developers only. Is there a way to disable able to panic sequence or map it to something else?

This would help avoid users being able to break the remapping software and then perform shortcuts which would give them access to the OS.

@herrsimon
Copy link
Contributor

Simply edit the panic_check function in src/evloop.c and recompile. You can either comment out everything if you want to completely disable the panic sequence or change it to your liking. Making the panic sequence configurable in the config file would defeat its purpose...

@tylerfaulkner
Copy link
Author

Thanks this is exactly what I was looking for! I understand this sort of defeats the purpose of the panic sequence, but I feel for my specific use case this will work.

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

No branches or pull requests

2 participants