Skip to content

Implement lid detection for fingerprint authentication#4630

Closed
c4software wants to merge 1 commit into
basecamp:devfrom
c4software:patch-15
Closed

Implement lid detection for fingerprint authentication#4630
c4software wants to merge 1 commit into
basecamp:devfrom
c4software:patch-15

Conversation

@c4software

Copy link
Copy Markdown
Contributor

Hi,

Simple MR to implement the nicely done lid detection describe here #856 (comment)

This PR Add lid detection to disable fingerprint authentication when the lid is closed. Updated PAM configuration for sudo and polkit to include the lid check.

Added lid detection to disable fingerprint authentication when the lid is closed. Updated PAM configuration for sudo and polkit to include the lid check.
@c4software

Copy link
Copy Markdown
Contributor Author

Hey @dhh, I know this PR is a bit old now, but it's still relevant, and I've been testing it ever since without any issues.

@dhh

dhh commented May 2, 2026

Copy link
Copy Markdown
Member

I don't love munging these core config files to turn things off and on conditionally. I agree it would be nice to have, but either we have to find some simpler way to do it or we should make it a manual toggle, like we have with the touchpad, touchscreen etc.

@dhh

dhh commented Jul 18, 2026

Copy link
Copy Markdown
Member

Closing in favor of the newer clamshell fingerprint-auth implementation in #6003.

@dhh dhh closed this Jul 18, 2026
@c4software

Copy link
Copy Markdown
Contributor Author

Looks like the same approach and the same kind of script (with a return code).

No problem.

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

Successfully merging this pull request may close these issues.

2 participants