From 9242512a1649dd94394794882028a0e7194bf07b Mon Sep 17 00:00:00 2001 From: Deven Blake Date: Wed, 18 May 2022 17:42:29 -0400 Subject: [PATCH] relocate dotfiles knowledge --- homepage/knowledge/linux.html | 61 ++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/homepage/knowledge/linux.html b/homepage/knowledge/linux.html index 58385f4..b72fc8f 100644 --- a/homepage/knowledge/linux.html +++ b/homepage/knowledge/linux.html @@ -16,7 +16,7 @@

linux

-

updated 2022-05-01

+

updated 2022-05-17


ACPI client

@@ -54,6 +54,41 @@ It's also a good idea to install any utilities you'll need on the bootstrapped s Text editors, network managers or utilities, and other administration tools, for example. Manual utilities such as man-db and others would also be useful.

+

Ubiquitous packages missing

+

From the anals of my notes, 2021-06-04:

+
+Had an issue with pacman missing some ubiquitous packages (esr's `ascii`, xorg-xev, etc).
+This fixed it. I don't really know why - maybe some issues with my repos?
+This was cleanly installed artix-openrc.
+
+[5:46 PM] Bassman Leyla: So what I did is I went into /etc/pacman.d/mirrorlist-arch and uncommented a local mirror
+[5:46 PM] Bassman Leyla: Then I appended a config block a package maintainer gave me onto /etc/pacman.conf
+[5:46 PM] Bassman Leyla: I'll paste it in
+[5:47 PM] Bassman Leyla:
+```
+#
+# ARCHLINUX
+#
+
+#[testing]
+#Include = /etc/pacman.d/mirrorlist-arch
+
+[extra]
+Include = /etc/pacman.d/mirrorlist-arch
+
+#[community-testing]
+#Include = /etc/pacman.d/mirrorlist-arch
+
+[community]
+Include = /etc/pacman.d/mirrorlist-arch
+
+#[multilib-testing]
+#Include = /etc/pacman.d/mirrorlist-arch
+
+#[multilib]
+#Include = /etc/pacman.d/mirrorlist-arch
+```
+

C Language

@@ -307,6 +342,27 @@ Most audio servers recommend that they be run in userspace with user privileges, 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.

+

ALSA

+ +

+The Alpine wiki ("Adding sound") says to install alsa-conf, alsa-lib, and alsa-utils, +add yourself to the audio group, and then do some more configuration that I've never needed to do: +Use alsamixer(1) to find a working sound card (press F6 from the first screen ALSAMixer presents) +and edit /usr/share/alsa/alsa.conf and change defaults.ctl.card and defaults.pcm.card to the sound card that works. +

+

+The Alpine wiki doesn't mention this but you'll need to enable the alsa OpenRC service and either start it or reboot. +I also installed gstreamer but I don't know why. +

+

+ALSA is clunky, many people prefer to use a frontend such as Pipewire or PulseAudio that exposes its own interface while remaining compatible with ALSA. +

+

OSS

+

+Deprecated, unfortunately. +

PipeWire