relocate dotfiles knowledge
This commit is contained in:
parent
4aed96b77d
commit
9242512a16
@ -16,7 +16,7 @@
|
|||||||
<SCRIPT SRC="/js/sheets.js" TYPE="application/javascript"></SCRIPT>
|
<SCRIPT SRC="/js/sheets.js" TYPE="application/javascript"></SCRIPT>
|
||||||
<SCRIPT TYPE="application/javascript">window.onload = window.initializesheets;</SCRIPT>
|
<SCRIPT TYPE="application/javascript">window.onload = window.initializesheets;</SCRIPT>
|
||||||
<H1>linux</H1>
|
<H1>linux</H1>
|
||||||
<H3>updated 2022-05-01</H3>
|
<H3>updated 2022-05-17</H3>
|
||||||
<HR ALIGN="left" SIZE="1" WIDTH="25%" />
|
<HR ALIGN="left" SIZE="1" WIDTH="25%" />
|
||||||
<H2>ACPI client</H2>
|
<H2>ACPI client</H2>
|
||||||
<P>
|
<P>
|
||||||
@ -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.
|
Text editors, network managers or utilities, and other administration tools, for example.
|
||||||
Manual utilities such as <CODE>man-db</CODE> and others would also be useful.
|
Manual utilities such as <CODE>man-db</CODE> and others would also be useful.
|
||||||
</P>
|
</P>
|
||||||
|
<H3>Ubiquitous packages missing</H3>
|
||||||
|
<P>From the anals of my notes, 2021-06-04:</P>
|
||||||
|
<PRE>
|
||||||
|
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
|
||||||
|
```
|
||||||
|
</PRE>
|
||||||
|
|
||||||
<H2>C Language</H2>
|
<H2>C Language</H2>
|
||||||
<P>
|
<P>
|
||||||
@ -307,6 +342,27 @@ Most audio servers recommend that they be run in userspace with user privileges,
|
|||||||
The Alpine wiki currently recommends <CODE>pipewire(1)</CODE>, with postmarketOS, which is based on Alpine, coming pre-configured with PipeWire.
|
The Alpine wiki currently recommends <CODE>pipewire(1)</CODE>, 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 is relatively new and the typical audio server used is PulseAudio; Debian and many popular Debian-based distributions come pre-configured with PulseAudio.
|
||||||
</P>
|
</P>
|
||||||
|
<H4>ALSA</H4>
|
||||||
|
<UL>
|
||||||
|
<LI><A HREF="https://wiki.alpinelinux.org/wiki/Main_Page/Adding_sound">Adding sound</A> (Alpine Linux Wiki)</LI>
|
||||||
|
</UL>
|
||||||
|
<P>
|
||||||
|
The Alpine wiki ("Adding sound") says to install <CODE>alsa-conf</CODE>, <CODE>alsa-lib</CODE>, and <CODE>alsa-utils</CODE>,
|
||||||
|
add yourself to the <CODE>audio</CODE> group, and then do some more configuration that I've never needed to do:
|
||||||
|
Use <CODE>alsamixer(1)</CODE> to find a working sound card (press <CODE>F6</CODE> from the first screen ALSAMixer presents)
|
||||||
|
and edit <CODE>/usr/share/alsa/alsa.conf</CODE> and change <CODE>defaults.ctl.card</CODE> and <CODE>defaults.pcm.card</CODE> to the sound card that works.
|
||||||
|
</P>
|
||||||
|
<P>
|
||||||
|
The Alpine wiki doesn't mention this but you'll need to enable the <CODE>alsa</CODE> OpenRC service and either start it or reboot.
|
||||||
|
I also installed <CODE>gstreamer</CODE> but I don't know why.
|
||||||
|
</P>
|
||||||
|
<P>
|
||||||
|
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.
|
||||||
|
</P>
|
||||||
|
<H4>OSS</H4>
|
||||||
|
<P>
|
||||||
|
Deprecated, unfortunately.
|
||||||
|
</P>
|
||||||
<H4>PipeWire</H4>
|
<H4>PipeWire</H4>
|
||||||
<UL>
|
<UL>
|
||||||
<LI><A HREF="https://wiki.alpinelinux.org/wiki/PipeWire">PipeWire</A> (Alpine Linux Wiki)</LI>
|
<LI><A HREF="https://wiki.alpinelinux.org/wiki/PipeWire">PipeWire</A> (Alpine Linux Wiki)</LI>
|
||||||
@ -323,6 +379,9 @@ This means you need <CODE>rtkit</CODE> installed and running through your initia
|
|||||||
</P>
|
</P>
|
||||||
<H4>PulseAudio</H4>
|
<H4>PulseAudio</H4>
|
||||||
<P>
|
<P>
|
||||||
|
On Alpine you'll need the <CODE>pulseaudio</CODE>, <CODE>pulseaudio-alsa</CODE>, and <CODE>alsa-plugins-pulse</CODE> packages for PulseAudio with ALSA compatibility.
|
||||||
|
Start <CODE>pulseaudio(1)</CODE> when you want audio, ideally in your <CODE>.xinitrc</CODE>.
|
||||||
|
</P>
|
||||||
|
|
||||||
<H3>Media</H3>
|
<H3>Media</H3>
|
||||||
<P>
|
<P>
|
||||||
|
Loading…
Reference in New Issue
Block a user