Message: set path for library Version: 0.0.1 --- a/aux/fprintd_tk.1 +++ b/aux/fprintd_tk.1 @@ -1,11 +1,11 @@ .\" Text automatically generated by txt2man-wrapper, and stored in repository so the build process does not depend on my wrapper script. -.TH fprintd_tk 1 "September 2024" "fprintd-tk" "General Commands Manual" +.TH fprintd-tk 1 "September 2024" "fprintd-tk" "General Commands Manual" .SH NAME -\fBfprintd_tk \fP- gui for fprintd +\fBfprintd-tk \fP- gui for fprintd .SH SYNOPSIS .nf .fam C -\fBfprintd_tk\fP +\fBfprintd-tk\fP .fam T .fi .fam T @@ -15,7 +15,7 @@ No options. Configuration is in gui. .SH ENVIRONMENT None. .SH DESCRIPTION -\fBfprintd_tk\fP has a simple graphical representation of the 10 fingers and makes it easy to enroll fingers, and verify them. Users in group `\fBadmins\fP` can also control other users' enrolled fingerprints. +\fBfprintd-tk\fP has a simple graphical representation of the 10 fingers and makes it easy to enroll fingers, and verify them. Users in group `\fBadmins\fP` can also control other users' enrolled fingerprints. This project is not directly related to fprintd at all. This is just a separate wrapper program to make life easier for users of window managers. .SH AUTHOR --- a/fprintd_tk +++ b/fprintd_tk @@ -21,6 +21,7 @@ import tkinter as tk, os, tkinter.simpledialog, sys, threading, time import tkstackrpms as stk +sys.path.append("/usr/libexec/fprintd-tk") import fprintd_tk_lib as lib from PIL import Image, ImageTk @@ -48,6 +49,7 @@ class App(tk.Frame): # configurable by admin or installation img_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),"images") + img_path = "/usr/share/fprintd-tk" self.master.title("Gui for fprintd") imgicon = stk.get_scaled_icon("fingerprint-gui",24,"default", "","apps") --- a/aux/fprintd-tk.desktop +++ b/aux/fprintd-tk.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Name=Gui for fprintd Comment=Control enrolled fingerprints -Exec=/usr/bin/fprintd_tk +Exec=/usr/bin/fprintd-tk Icon=fingerprint-gui Terminal=false Type=Application