Fingerprint scanner: Difference between revisions

fprintd-enroll doesn't need to (and shouldn't) be run as root
QuBe (talk | contribs)
Add setup instructions for KDE Plasma
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== Install ==
== Install ==
<syntaxhighlight lang="nixos">
{{File|3={ config, lib, pkgs, ... }: {
# Start the driver at boot
systemd.services.fprintd = {
  wantedBy = [ "multi-user.target" ];
  serviceConfig.Type = "simple";
};


# Install the driver
  # Install the driver
services.fprintd.enable = true;
  services.fprintd.enable = true;
# If simply enabling fprintd is not enough, try enabling fprintd.tod...
  # If simply enabling fprintd is not enough, try enabling fprintd.tod...
services.fprintd.tod.enable = true;
  services.fprintd.tod.enable = true;
# ...and use one of the next four drivers
  # ...and use one of the next four drivers
services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix; # Goodix driver module
  services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix; # Goodix driver module
# services.fprintd.tod.driver = pkgs.libfprint-2-tod1-elan; # Elan(04f3:0c4b) driver
  # services.fprintd.tod.driver = pkgs.libfprint-2-tod1-elan; # Elan(04f3:0c4b) driver
# services.fprintd.tod.driver = pkgs.libfprint-2-tod1-vfs0090; # (Marked as broken as of 2025/04/23!) driver for 2016 ThinkPads
  # services.fprintd.tod.driver = pkgs.libfprint-2-tod1-vfs0090; # (Marked as broken as of 2025/04/23!) driver for 2016 ThinkPads
# services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix-550a; # Goodix 550a driver (from Lenovo)
  # services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix-550a; # Goodix 550a driver (from Lenovo)


# however for focaltech 2808:a658, use fprintd with overidden package (without tod)
  # however for focaltech 2808:a658, use fprintd with overidden package (without tod)
# services.fprintd.package = pkgs.fprintd.override {
  # services.fprintd.package = pkgs.fprintd.override {
#  libfprint = pkgs.libfprint-focaltech-2808-a658;
  #  libfprint = pkgs.libfprint-focaltech-2808-a658;
# };
  # };
</syntaxhighlight>
}|name=/etc/nixos/configuration.nix|lang=nix}}


== Enroll fingerprint ==
== Enroll fingerprint ==
Line 39: Line 34:


'''Note:''' If the ''Fingerprint Login'' item is not available, the <code>fprintd</code> driver might not be configured correctly.
'''Note:''' If the ''Fingerprint Login'' item is not available, the <code>fprintd</code> driver might not be configured correctly.
=== KDE Plasma ===
In [[KDE|KDE Plasma]], the fingerprints can be configured through the Settings application.
# Open System Monitor
# On the menu on the left, scroll down to ''Users'' and enter it
# Select your user
# Enter ''Configure Fingerprint Authentication'' and follow the instructions to add your fingerprints
'''Note:''' If the ''Configure Fingerprint Authentication'' item is not available, the <code>fprintd</code> driver might not be configured correctly.


== Login ==
== Login ==