update void basics

This commit is contained in:
Malin Freeborn 2022-04-24 13:03:44 +02:00
parent 0dd308762e
commit 7921ffda70
Signed by: andonome
GPG Key ID: 52295D2377F4D70F

View File

@ -1,7 +1,21 @@
---
title: "Void Linux Basics"
tags: [ "Documentation", "distros" ]
tags: [ "Documentation", "distros", "Void" ]
---
# Updates
Update all packages with
> sudo xbps-install -Su
See [xbps](xbps.md) for more.
# Remove old packages
Void keeps *every* version of everything you install, so you can roll back to them.
Remove old packages with:
> sudo xbps-remove -O
# vkpurge
@ -17,8 +31,14 @@ Remove all but the latest with:
> vkpurge rm all
# Brightness
/sys/class/backlight/*/brightness
Look in `/sys/class/backlight/*/brightness`.
You can change this number to change the screen brightness.
For an easy utility, install `brightnessctl`.
> brightnessctl s 10%-
> brightnessctl s 10%+