CLI Guide
Use the gaze command for enrollment, testing, and managing face profiles.
All commands talk to the running gazed daemon over DBus.
Most common workflow
gaze add-face default
gaze auth --verbose
gaze refine-face default
gaze list-facesAuthenticate
gaze authUseful options:
gaze auth --verbose # show score table
gaze auth --perf # show timing detailsResult meanings:
Authenticated as: ...: passAccess Denied: no stored face passed current threshold
Enroll a new face profile
gaze add-face <name>Examples:
gaze add-face default
gaze add-face glassesUse separate profiles when your appearance changes often.
Improve a profile
gaze refine-face <name>Use this if recognition is inconsistent in dim light or side angles.
List, rename, and remove
gaze list-faces
gaze rename-face <old> <new>
gaze remove-face <name>Delete all faces for current user
gaze clear-userThis is destructive.
Uninstall Gaze completely
gaze uninstall # interactive
gaze uninstall --yes # skip confirmation
gaze uninstall --keep-data # preserve enrolled faces in /var/lib/gaze
gaze uninstall --dry-run # preview the plan, run nothingRemoves the installed packages, repository config, GNOME/GDM lock and login settings, PAM/authselect integration, SELinux policy, the model cache (/var/cache/gaze), the system config (/etc/gaze), and — unless --keep-data is set — enrolled face data (/var/lib/gaze). Each step is best-effort and uses sudo, so you'll be prompted for your password.
See the uninstallation guide if you'd rather run the steps manually.
Interactive configuration
Use the interactive wizard to edit daemon config through DBus:
gaze configShow-only mode:
gaze config --showThis prints the current security level, camera source, and enrollment template settings without editing them.
Manage another user
Most commands support -u:
gaze list-faces -u alice
gaze add-face work -u aliceTroubleshooting commands
systemctl status gazed
journalctl -u gazed -n 100 --no-pager
gaze auth --verboseIf you need help diagnosing failures, see the troubleshooting guide.