diff --git a/homepage/knowledge/linux.html b/homepage/knowledge/linux.html index 7a93d73..b5bf662 100644 --- a/homepage/knowledge/linux.html +++ b/homepage/knowledge/linux.html @@ -16,7 +16,7 @@
@@ -25,7 +25,6 @@ The usual text program used is acpi(1).
make(1) as GNU Make and
Mount LUKS encrypted partitions at boot
-Sources
- Automatically Unlock LUKS Encrypted Drives With A Keyfile
- Dm-crypt (Gentoo Wiki)
@@ -127,7 +125,6 @@ Alpine by default uses mandoc.
Partitions and filesystems
-See also
- EFI system partition (Arch Wiki)
- Installation#Partition your disk - Artix wiki
@@ -207,7 +204,6 @@ You'd be better off using ed(1); the UX is very similar.
util-linux
-See also
@@ -228,7 +224,6 @@ I haven't had good luck with it but Alpine set it up automatically.
X
-Sources
- Xorg (Arch Wiki)
@@ -237,6 +232,11 @@ X is a graphical windowing system that can be used on Linux, FreeBSD, OpenBSD, N
X is not the only windowing system; twin(1) exists for windowed multitasking within a framebuffer and Wayland is another windowing system intended to replace X.
+Xorg requires the user to be a member of the input and video groups (or superuser), otherwise it won't be able to access the relevent device files.
+These errors look like Failed to open /dev/input/event[number] (Permission denied) when not in the input group
+and Failed to open /dev/tty[number] (Permission denied) when not in the video group.
+
+
Some Linux software distributions have included scripts to automatically fetch and install an X server.
Alpine has setup-xorg-base, which adds the packages xorg-server, xf86-input-libinput, eudev, and mesa, and then enables the OpenRC services for udev.
@@ -256,5 +256,35 @@ the X resource database manager as xorg-xrdb,
xset as xorg-xset,
and xsetroot as xorg-xsetroot.
+Alpine has xinput as xinput.
+
+Audio
+
+Most audio servers recommend that they be run in userspace with user privileges, with PulseAudio going so far as to exiting when run as root without additional configuration.
+The Alpine wiki currently recommends pipewire(1), with postmarketOS, which is based on Alpine, coming pre-configured with PipeWire.
+PipeWire is relatively new and the typical audio server used is PulseAudio; Debian and many popular Debian-based distributions come pre-configured with PulseAudio.
+
+PipeWire
+
+
+Provided by the pipewire package on Alpine.
+
+
+RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
+
+
+This means you need rtkit installed and running through your initialization system.
+
+PulseAudio
+
+
+
Media
+
+mpv(1) and vlc(1) are good options.
+
+