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

This page contains an error and can be done simpler #236

Open
tuxmaster5000 opened this issue Apr 10, 2024 · 0 comments
Open

This page contains an error and can be done simpler #236

tuxmaster5000 opened this issue Apr 10, 2024 · 0 comments

Comments

@tuxmaster5000
Copy link

File: [hsm/linux/automatic-screen-lock.rst] https://docs.nitrokey.com/hsm/linux/automatic-screen-lock.html
The udev rules will be firmware version related. (101 will be the FW version)
A much simpler solution is:
ACTION=="remove", SUBSYSTEM=="usb", ATTRS{idVendor}=="20a0", ATTRS{idProduct}=="42b2", RUN+="/usr/bin/loginctl lock-sessions"
Tested with the nitrokey 3 2C NFC under Fedora-38.

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

1 participant