Sample Header Ad - 728x90

How to disable fingerprint authentication when laptop lid is closed?

15 votes
4 answers
6593 views
I recently managed to make fingerprint authentication work on my laptop, thanks to the Goodix Linux [Development](https://discord.com/invite/6xZ6k34Vqg) Discord community and the GitHub users Infinytum and Michael Teuscher on the driver/538d branch . But after enabling fingerprint for login with fprintd-enroll and for sudo access with sudo pam-auth-update I noticed a problem: Whenever I am using an external monitor to work, and the lid is closed, I have to wait for the fingerprint authentication to time out, before being able to type the sudo password, which causes a delay of several seconds:
username@host:~/ron/libfprint$ sudo ls
Place your finger on the fingerprint reader
Place your finger on the reader again
Place your finger on the reader again
Place your finger on the reader again
Verification timed out
[sudo] password for username:
How can I disable fingerprint authentication when the laptop lid is closed, so I can type the sudo password without waiting for the fingerprint to time out?
Asked by user000001 (3795 rep)
Nov 22, 2021, 12:52 PM
Last activity: Apr 22, 2025, 08:15 AM