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 @@
@@ -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.
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 +``` +
@@ -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.
+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. +
++Deprecated, unfortunately. +
rtkit
installed and running through your initia
+On Alpine you'll need the pulseaudio
, pulseaudio-alsa
, and alsa-plugins-pulse
packages for PulseAudio with ALSA compatibility.
+Start pulseaudio(1)
when you want audio, ideally in your .xinitrc
.
+