Void Linux Basics

Updates

Update all packages with

1sudo xbps-install -Su

See xbps for more.

Remove old packages

Void keeps every version of everything you install, so you can roll back to them. Remove old packages with:

1sudo xbps-remove -O

vkpurge

Old Void kernels are left on the boot partition. List them with:

1vkpurge list

Remove one with:

1vkpurge 2.8.2_4

Remove all but the latest with:

1vkpurge rm all

Brightness

Look in /sys/class/backlight/*/brightness. You can change this number to change the screen brightness.

For an easy utility, install brightnessctl.

1brightnessctl s 10%-
2brightnessctl s 10%+

Other Tricks