- https://github.com/Benjamin-Loison
- Joined on
2022-10-16
gcc $(pkg-config --libs --cflags libfprint-2) img-capture.c
Output:
/usr/bin/ld: /tmp/ccnDU36A.o: in function `glib_autoptr_clear_GError':
img-cap…
sudo ln -s /usr/include/libfprint-2/ /usr/include/libfprint
gcc $(pkg-config --libs --cflags glib-2.0) img-capture.c
Output:
/usr/bin/ld:…
pkg-config --libs --cflags libfprint-2
-I/usr/include/libfprint-2 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread…
DuckDuckGo search "gio.h: No such file or directory".
poliva/lightum/issues/52#issuecomment-261789469
sudo apt…
DuckDuckGo and Google search "fprint.h: No such file or directory".
[RogueScholar/fingerprint-gui/issues/4#issuecomment-668893264](https://github.com/RogueScholar/fingerprint-gui/issues/4#issu…
dpkg-query -L libfprint-2-tests
Output:
dpkg-query: package 'libfprint-2-tests' is not installed
Use dpkg --contents (= dpkg-deb --contents) to…
gcc img-capture.c -l libfprint
Output:
img-capture.c:26:10: fatal error: libfprint/fprint.h: No such file or directory
26
grep -r 'pgm'
Output:
identify.c: print_image_save (print, "identify.pgm"))
identify.c: g_print ("Print image saved as identify.pgm\n");
i…
./virtual-image.py
Output:
(process:38381): libfprint-device-WARNING **: 19:43:31.885: Failed to disable USB persist by writing to /sys/bus/usb/d…
Other Google search results for "FPrint" "get_image" only mentions the relevant:
https://code.hyprland.org/fdo-mirrors/libfprint/src/tag/v1.94.5/tests/virtual-image.py
[libfprint/libfprint]…
https://lazka.github.io/pgi-docs/FPrint-2.0/classes/Device.html looks to complex.
https://lazka.github.io/pgi-docs/FPrint-2.0/classes/Print.html#FPrint.Print.set_finger
does not seem to help.
https://lazka.github.io/pgi-docs/FPrint-2.0/classes.html
https://lazka.github.…
DuckDuckGo search "gi.require_version".
https://pygobject.gnome.org/guide/api/api.html#gi.require_version
DuckDuckGo search "require_version" "Namespace" "not available".
apt…
DuckDuckGo and Google search FPrint "get_finger".
https://lazka.github.io/pgi-docs/FPrint-2.0/classes/Print.html#FPrint.Print.get_username
https://lazka.github.io/pgi-docs/#FPrint-2.0
ht…
sudo python3 a.py
Output:
Traceback (most recent call last):
File "/home/benjamin_loison/a.py", line 2, in <module>
gi.require_version('FPri…
It now works fine, the issue for making the fingerprint work was just the user the fingerprint was assigned to, this should still be considered as a bug as may specify the same fingerprint for 2…
fprintd-enroll
Output:
Using device /net/reactivated/Fprint/Device/0
Enrolling right-index-finger finger.
Enroll result: enroll-stage-passed
Enro…
sudo sudo whoami
root
sudo -u $USER whoami
benjamin_loison
DuckDuckGo and Google search Cinnamon prevent Authentication Required, *GNOME prevent…