Pinebook pro installation Part two

This is a collection of tips and tricks for setting up a laptop with Arch Linux. This continues the basic installation of part1. The natural place to start is with the general recommendations from the arch wiki.

Encrypted user SD’s

This encrypts the content of a filesystem, which is mounted on logging into the user.

Swap file

A secondary swap file could be created, but the system is likely too slow to be useful once it’s swapping to disk.

Sleep

Sleep by default is broken on the pinebook pro. Only the suspend state freeze is supported, and can be set in /etc/systemd/sleep.conf (SuspendState=freeze).

Trackpad

The trackpad on the pinebook pro is known to drift and be in general clunky an awkward. This resource contains a lot of useful information on this. The most useful trick, which makes the trackpad usable to me is adding the evdev entry.

Light controle

Using light from the arch repo, one can control the screen brightness using e.g. light -A 5. This requires a udev modification, see the Arch wiki for the exact rule to add.

Alacritty

Alacritty won’t start by default, since it requires an opengl version greater than delivered by the driver. Adding PAN_MESA_DEBUG=gl3 to .pam_environment enables experimental gl3 support to the graphics driver.