Skip to content

GUI Guide ​

On KDE Plasma

gaze-kde adds a native Gaze page to System Settings with the same features as this app. See the KDE Plasma guide.

Use gaze-gui to enroll your face, test recognition, and adjust Gaze settings. The main window lists your enrolled faces, a Recognition test, and a Setup Checklist: choose a camera, enroll a face, test recognition, then check desktop integration. Select a checklist step to open it; each step shows a check mark once it is done in this session. The last test result stays visible until the next test.

Launch it:

bash
gaze-gui
  • Enroll a face: Select + in the header bar and follow the camera prompts. If both RGB and IR cameras are configured, Gaze captures from both.
  • View profiles: The main window lists enrolled faces, their total template counts, and RGB and IR badges. A badge is green when the profile has captures for that spectrum, amber when a camera is configured but the profile has no captures, and grey when no camera is configured. An RGB-only machine therefore shows a green RGB badge and a grey IR badge; grey does not indicate a failure.
  • Improve a face: Select its improve icon to capture additional samples or add a missing spectrum. For example, you can add IR captures to an RGB-only face after configuring an IR camera.
  • Test authentication: Select Test in the Recognition section to run a face scan and check whether Gaze recognizes you.
  • Remove faces: Delete individual faces.
  • Change daemon settings: Adjust the security level, cameras, liveness settings, and hybrid policy.

Configuration dialog ​

Open Settings with the gear button in the header bar. Everyday contains camera, recognition, and lock-screen options; Advanced contains model, storage, and numerical tuning. Changes save automatically after unlocking, with progress and a persistent result below the settings.

Switching recognition models requires confirmation and new captures for existing faces. After changing it, use Improve this face for each profile, then Test.

Keyring switches show whether a password record exists. Set up password… provides the enrollment command and verification steps; storing a password and enabling login integration are both needed. A stored record alone is not a successful login test.

The dialog mirrors /etc/gaze/config.toml. It opens locked: select Unlock… to authorize with polkit. After that, each change is written through the daemon as you make it. There is no save button.

That authorization always takes your password, as does changing your faces, so a face match can't change Gaze itself. The polkit dialog tells you this and waits for the password.

Security

  • Security level (low, medium, high, maximum, or custom)
  • For custom: detector level, recognizer level, RGB and IR similarity thresholds, and the hybrid combining policy used when both RGB and IR are enrolled

Hardware

  • Inference execution provider: CPU, automatic NPU selection, Intel OpenVINO, or AMD Vitis AI
  • OpenVINO inference device; automatic and AMD modes select NPU

The standard build exposes all providers. Install the vendor runtime and drivers using Hardware Acceleration, then restart the daemon after changing its provider.

  • RGB camera source, IR camera source, and Force IR Emitter
  • IR frame size override, for an IR feed that is green or corrupted on auto
  • Parallel RGB + IR Capture, which decides whether hybrid verification reads both sensors at once. Some webcams cannot, so the default captures them one at a time
  • Darkness cutoff, the dark-frame rejection threshold

Enrollment

  • Max templates per face
  • Minimum face size ratio, where lower values allow enrollment from farther away

Liveness Anti-Spoofing

  • Enable liveness spoof prevention, liveness threshold, liveness max seconds

Authentication

  • Abort if SSH, abort if lid closed
  • Require a suspend first, which refuses face authentication until the machine has suspended and resumed once
  • Require confirmation on lock screen, require confirmation for elevated auth
  • Resume grace period and start delay, both in milliseconds
  • Start delay applies to, either every face authentication or screen lockers only

Storage

  • Encrypt face templates, which seals enrolled templates with the TPM. See How it works for what that protects against.
  • Unlock GNOME Keyring, which replays an enrolled password after a liveness-protected GDM or greetd face login. It needs template encryption and liveness on, and each user still has to run gaze keyring. Read what it changes about your security first.

Language ​

gaze-gui follows your desktop language. It ships English, Brazilian Portuguese, Czech, French, German, Indonesian, Italian, Japanese, Korean, Polish, Russian, Simplified and Traditional Chinese, Spanish, Turkish, and Vietnamese; any other language falls back to English. To pick a language for this app only, set GAZE_GUI_LANG:

bash
GAZE_GUI_LANG=de gaze-gui

GAZE_GUI_LANG=en forces English. Messages that come from the daemon or from gaze doctor stay in English.

Translations live in crates/gaze-gui/po/ as standard gettext .po files and are built into the binary, so no extra package is needed. To add a language, copy zh_CN.po to <language>.po, translate each msgstr, keep every {placeholder} unchanged, and add the file to CATALOGS in crates/gaze-gui/src/i18n.rs. cargo test -p gaze-gui checks that every catalog parses, keeps its placeholders, and contains no strings the GUI no longer uses.

Common tasks ​

  1. Enroll a profile named default.
  2. Run test authentication several times in normal room light.
  3. Add another profile if your appearance varies often (for example, glasses).

When to use GUI vs CLI ​

  • Use GUI for enrollment and quick pass/fail checks.
  • Use CLI (gaze test) when you want detailed authentication metrics and diagnostics.

If the GUI cannot authenticate ​

Check daemon status:

bash
systemctl status gazed

If the service is stopped, enable and start it:

bash
sudo systemctl enable --now gazed

Then retry from GUI.