User Tools

Site Tools


arch_linux

Arch Linux

Installation

※ If you have an existing /home + user, when you create a new user, take notes of the -m and -M flags for useradd. You don't want to use -m and some guides will tell you, 'cause that creates a new /home dir. You can use -M to be sure one won't be created.

※ Furthermore, if you have existing partitions don't mount them during installation, just add them to the /etc/fstab later.

Post-Installation

Fonts

Best font package/s to install? FIIK. Inconsolata, DejaVu???

※ Font dirs are ~/.local/share/fonts and /usr/share/fonts

  • Check logs: grep /fonts ~/.local/share/xorg/Xorg.0.log
  • Update font cache: fc-cache -fv
  • List known fonts: fc-list : file
Defaults

Set in ~/.config/fontconfig/fonts.conf, EG:

<match>
	<test name="family">
		<string>monospace</string>
	</test>
	<edit name="family" mode="assign" binding="strong">
		<string>DejaVu Sans Mono</string>
	</edit>
</match>

If you wanna mess with fontconf more, there's good info here: https://seasonofcode.com/posts/how-to-set-default-fonts-and-font-aliases-on-linux.html

For i3

  • acpi for battery block
  • xdotool for getting window info

Time

You can have your system time (different from the hardware time) synced up so it's as correct as possible. Having your time out of sync can cause problems with authenticating with totp.

There are multiple ways to go about this, but I found installing openntpd to be the easiest.

  1. # pacman -S openntpd to install
  2. # sudo systemctl start openntpd.service to start the daemon
  3. # sudo systemctl enable openntpd.service to make it run whenever you start the computer.

You can control which server it connects to, but the default does a good job of picking the best option :)

Utils

  • A file manager
  • A web browser

Audio

Audio on Linux should mostly just work, but if you're interested in music making it takes a bit of messing round setting up a thing (an audio server, like X is a display server) called JACK. Once that's done using hardware and making connections between different programs and hardware bits is kinda intuitive if you're familiar with synth patches.

  1. A good first step is to run this script which'll identify what is and isn't already setup right:
  2. First task is to setup realtime stuff. You can get more advanced with this by doing things like using a low latency kernel, but for me that's not needed. Just install community/any/realtime-privileges to allow realtime access via PAM is enough.
  3. The make sure your user is in the realtime group. $ groups will list them for your current user.
    1. If you're not add yourself with # usermod -a -G realtime [username]
    2. If you need to create the group do that with # groupadd realtime
  4. Then you'll want a GUI for connecting things with JACK, see: JACK_Audio_Connection_Kit#GUI. They all do the same thing best I can tell.
  5. Reboot.

Children

Antergos

Antergos is a basically Arch with a swish-o installer and an extra repo. It likes to Antergoserise (IE brand with it's wonky logo) things like Grub and LightDM, though that's repairable. It's easy enough to stop it it installing a bunch of extra stuff, as opposed to Manjaro(?).

It was a really good introduction to Linux for me! But it's since (2019) been discontinued :(

See Also

arch_linux.txt · Last modified: 2020/10/26 15:53 by rjt