fb5ca338362d0291887d2c0522815e5511ac5f57
# 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 / microphone
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
framework laptops: (not sure why, but setting MJPG with v4l2-ctl doesnt make mpv pick 1920x1080 by default...)
mpv --demuxer-lavf-o=video_size=1920x1080,input_format=mjpeg av://v4l2:/dev/video0 --profile=low-latency --untimed
microphone gain is defaults to 100%, which is way too loud. set it to something lower with amixer, provided by alsa-utils:
-> amixer set Capture 40%
## 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,adobe-source-han-sans-jp-fonts,adobe-source-han-sans-kr-fonts
Description
Languages
HTML
79.6%
CSS
18.9%
Python
1.5%