summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorpants <niklasjo2004@gmail.com>2026-09-21 14:16:02 -0700
committerpants <niklasjo2004@gmail.com>2026-09-21 14:16:02 -0700
commit40f81d08239763c2b5c05af63f17e3fd098d978d (patch)
treeb4475da076490a5fadc69904ad26bcf4ac46b9fc /README
init
Diffstat (limited to 'README')
-rw-r--r--README52
1 files changed, 52 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..a846be2
--- /dev/null
+++ b/README
@@ -0,0 +1,52 @@
+# 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 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 be 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