face-unlock

Face ID for Linux: look at the screen and it unlocks. The lock screen, sudo and the admin prompts can take a face instead of a password, on KDE Plasma, GNOME, Hyprland and Niri. A photo of somebody is not enough.

This page is the package repository. Set it up once and every new version arrives with the rest of your system updates. The source and the documentation are on GitHub.

Debian 13

sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL @BASEURL@/KEY.gpg \
  | sudo gpg --dearmor -o /etc/apt/keyrings/face-unlock.gpg
echo "deb [signed-by=/etc/apt/keyrings/face-unlock.gpg] @BASEURL@/deb/trixie ./" \
  | sudo tee /etc/apt/sources.list.d/face-unlock.list
sudo apt update
sudo apt install face-unlock

Ubuntu 26.04

sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL @BASEURL@/KEY.gpg \
  | sudo gpg --dearmor -o /etc/apt/keyrings/face-unlock.gpg
echo "deb [signed-by=/etc/apt/keyrings/face-unlock.gpg] @BASEURL@/deb/resolute ./" \
  | sudo tee /etc/apt/sources.list.d/face-unlock.list
sudo apt update
sudo apt install face-unlock

Fedora 44

sudo curl -fsSL -o /etc/yum.repos.d/face-unlock.repo \
  @BASEURL@/face-unlock.repo
sudo dnf install face-unlock

Arch, CachyOS, EndeavourOS, Manjaro

paru -S face-unlock

Then, once

face-unlock

Press 1. It sets up your face (look at the camera, move your head in a circle) and turns face unlock on. sudo and the admin prompts are off until you switch them on under Settings. Run face-unlock disable before removing the package: it takes face unlock back out of sudo and polkit.