- Copy
99-u2f_lock_screen.rules
to/etc/udev/rules.d
. - Copy
gnome_lock_all_sessions
to/usr/local/bin
. - Mark
gnome_lock_all_sessions
as executable:chmod +x /usr/local/bin/gnome_lock_all_sessions
- Reload udev:
udevadm control -R
You might have to update the ENV{ID_MODEL_FROM_DATABASE}
value in 99-u2f_lock_screen.rules
to match the type of Yubikey that you are using. You can query it by issuing: