Files
config/README.md
2025-07-02 00:06:47 -07:00

45 lines
1.3 KiB
Markdown

# configuration
## repo of my configs, fonts, etc
## CUPS
on arch, install cups and cups-pdf, then add manually with the following command
lpadmin -p brother -E -v "ipp://10.100.0.205/ipp/print" -m everywhere -L "Mom's Office"
manual adding is needed as network hostname resolution fails becuase yeah.
If it didnt fail, hardcoding a dynamic IP address like this wouldn't be wouldn't be necessary.
## Webcam
v4l2 may create multiple nodes in /dev for different formats
one example being mine which puts the H264 stream on /dev/video2
this will set the format for a particular device node:
v4l2-ctl -d /dev/video2 --set-fmt-video=width=1920,height=1080,pixelformat=H264 --set-parm=30
and this will record it with zero latency:
mpv av://v4l2:/dev/video2 --profile=low-latency --untimed
## fprintd
firstly, enroll with
- fprintd-enroll
except dont yet, this rule (/etc/polkit-1/rules.d/49-allow-fprintd.rules) needs to added:
polkit.addRule(function(action, subject) {
if (action.id == "net.reactivated.fprint.device.enroll" &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
(make sure user is in group "wheel")
now enroll (without sudo), then add this line:
auth sufficient pam_fprintd.so
to "login" and "sudo" in /etc/pam.d/
## fonts,icons
install noto-fonts,noto-fonts-cjk