lk/distros/void/void_basics.md

45 lines
727 B
Markdown
Raw Normal View History

2022-01-16 18:20:39 +00:00
---
2022-02-04 08:24:02 +00:00
title: "Void Linux Basics"
2022-04-24 11:03:44 +00:00
tags: [ "Documentation", "distros", "Void" ]
2022-01-16 18:20:39 +00:00
---
2022-04-24 11:03:44 +00:00
# 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
2020-01-02 00:04:35 +00:00
# vkpurge
Old Void kernels are left on the boot partition. List them with:
> vkpurge list
Remove one with:
> vkpurge 2.8.2_4
Remove all but the latest with:
> vkpurge rm all
# Brightness
2022-04-24 11:03:44 +00:00
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%+
2020-01-02 00:04:35 +00:00