From 7921ffda70925b0513e40f4464b48cf89f7607c8 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Sun, 24 Apr 2022 13:03:44 +0200 Subject: [PATCH] update void basics --- distros/void/void_basics.md | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/distros/void/void_basics.md b/distros/void/void_basics.md index e2cbcb7..bdbf9de 100644 --- a/distros/void/void_basics.md +++ b/distros/void/void_basics.md @@ -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%+