- Copy
99-u2f_lock_screen.rulesto/etc/udev/rules.d. - Copy
gnome_lock_all_sessionsto/usr/local/bin. - Mark
gnome_lock_all_sessionsas 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: