Fixed last TODO
This commit is contained in:
parent
6aabf6fd33
commit
3cfdc657ca
4 changed files with 31 additions and 30 deletions
56
README.md
56
README.md
|
@ -184,6 +184,33 @@ systemctl stop pulseaudio.service
|
|||
systemctl enable --now gdm
|
||||
```
|
||||
|
||||
## Fingerprint Sensor Hack
|
||||
### Flash [firmware](https://github.com/goodix-fp-linux-dev/goodix-fp-dump)
|
||||
```
|
||||
# yay -Sy python pam-fprint-grosshack
|
||||
# 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_grosshack.so
|
||||
auth sufficient pam_unix.so try_first_pass nullok
|
||||
```
|
||||
|
||||
## Here are some random changes and tweaks
|
||||
|
||||
### Firefox touchscreen [tweak](https://wiki.archlinux.org/title/Firefox/Tweaks#Enable_touchscreen_gestures)
|
||||
|
@ -221,40 +248,13 @@ then logout
|
|||
# sudo mv host-spawn /home/matt/bin
|
||||
|
||||
# cd $CD
|
||||
# cp settings.json ~/.var/app/com.vscodium.codium/config/VSCodium/User/
|
||||
# cp ../conf/settings.json ~/.var/app/com.vscodium.codium/config/VSCodium/User/
|
||||
# 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 pam-fprint-grosshack
|
||||
# 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_grosshack.so
|
||||
auth sufficient pam_unix.so try_first_pass nullok
|
||||
```
|
||||
|
||||
## Finally, install dotfiles
|
||||
```
|
||||
# mkdir ~/git && cd ~/git
|
||||
|
|
|
@ -7,12 +7,13 @@ echo matt-laptop > /etc/hostname
|
|||
passwd
|
||||
|
||||
mv /etc/locale.gen{,.bak}
|
||||
mv ./locale.gen /etc
|
||||
mv ../conf/locale.gen /etc
|
||||
locale-gen
|
||||
echo LANG=en_CA.UTF-8 > /etc/locale.conf
|
||||
echo KEYMAP=ca > /etc/vconsole.conf
|
||||
|
||||
nano /etc/mkinitcpio.conf # TODO SED
|
||||
sed -i 's/BINARIES=.*/BINARIES=(btrfs)/' /etc/mkinitcpio.conf
|
||||
sed -i 's/HOOKS=.*/HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block encrypt filesystems fsck)/' /etc/mkinitcpio.conf
|
||||
mkinitcpio -P
|
||||
|
||||
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch
|
||||
|
|
Loading…
Reference in a new issue