User Tools

Site Tools



Arch Linux


※ 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.



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

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

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

If you wanna mess with fontconf more, there's good info here:

For i3

  • acpi for battery block
  • xdotool for getting window info


  • A file manager
  • A web browser


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.



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!



.SRCINFO and PKGBUILD mismatch

Errors like

:: [package name] package(s) failed to install.
:: ensure package version does not mismatch between .SRCINFO and PKGBUILD
:: ensure package name has a VCS suffix if this is a devel package

Are are pacaur problem, and can get gotten round by installing manually, or by using another helper

Trizen and YAY seem to be the helpers to go for now.

Free Space

To clear Pacman's cache pacman -Sc — you can use paccache -rk 2 to delete everything except the last two versions of a package, which is a good idea. paccache -ruk0 will remove everything for packages that are no longer installed.

To find orphan packages pacman -Qdt

Missing Files in Pacman Database

Just ran into a little problem where a disk error took out a bit of my pacman database.

This was giving me an error about a desc file every time I ran pacman, and blocking some parts of the process. using –force to reinstall the package didn't help, and I also was unable to remove it.

Thanks to this post I solved it by deleting the packages directory in /var/lib/pacman/local, and reinstalled the database only with pacman -U –dbonly [package].pkg.tar.xz

Speeding Up Package Building

tool/software/arch_linux.txt · Last modified: 2019/04/24 04:54 by rjt