Added fingerprint reader instructions
This commit is contained in:
parent
286c572735
commit
dc69ae332d
1 changed files with 30 additions and 1 deletions
31
README.md
31
README.md
|
@ -252,6 +252,35 @@ then logout
|
|||
# sudo ln -s /home/matt/bin/host-spawn /var/lib/flatpak/app/com.vscodium.codium/current/**/files/bin/git-lfs
|
||||
|
||||
# sudo mv /var/lib/flatpak/app/com.vscodium.codium/current/active/export/share/applications/com.vscodium.codium.desktop{,.bak}
|
||||
# sudo mv /var/lib/flatpak/exports/share/applications/com.vscodium.codium.desktop{,.bak}
|
||||
```
|
||||
|
||||
## Fingerprint Sensor Hack
|
||||
### Flash [firmware](https://github.com/goodix-fp-linux-dev/goodix-fp-dump)
|
||||
```
|
||||
# yay -Sy python # Must be Python 3.10 or newer
|
||||
# cd /tmp
|
||||
# git clone --recurse-submodules https://github.com/goodix-fp-linux-dev/goodix-fp-dump.git
|
||||
# cd goodix-fp-dump
|
||||
# python -m venv .venv
|
||||
# source .venv/bin/activate
|
||||
# pip install -r requirements.txt
|
||||
# sudo python3 run_55b4.py
|
||||
```
|
||||
|
||||
### Install experimental [drivers](https://github.com/TheWeirdDev/libfprint/tree/55b4-experimental)
|
||||
```
|
||||
# yay -Sy libfprint-goodixtls-55x4 fprintd
|
||||
# sudo systemctl enable --now fprintd
|
||||
# fprintd-enroll
|
||||
```
|
||||
|
||||
### Use the reader
|
||||
add this to the top of every file in /etc/pam.d/ that you want ie. sddm, kde, polkit-1, sudo uwu
|
||||
```
|
||||
auth sufficient pam_fprintd.so
|
||||
auth sufficient pam_fprintd_grosshack.so
|
||||
auth sufficient pam_unix.so try_first_pass nullok
|
||||
```
|
||||
|
||||
## Finally, install dotfiles
|
||||
|
@ -265,4 +294,4 @@ then logout
|
|||
# sudo bash fzf.sh /usr/share/fzf
|
||||
```
|
||||
|
||||
TODO: make sed commands for mkinitcpio
|
||||
TODO: make sed commands for mkinitcpio
|
||||
|
|
Loading…
Reference in a new issue