Malin Freeborn
ba8026e0c3
input examples are now given as ```bash input $ARG1 ``` While outputs use md's '> ' sign as a quote.
62 lines
859 B
Markdown
62 lines
859 B
Markdown
---
|
|
title: "Void Linux Basics"
|
|
tags: [ "Documentation", "Void" ]
|
|
---
|
|
# Updates
|
|
|
|
Update all packages with
|
|
|
|
```bash
|
|
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:
|
|
|
|
```bash
|
|
sudo xbps-remove -O
|
|
```
|
|
|
|
# vkpurge
|
|
|
|
Old Void kernels are left on the boot partition. List them with:
|
|
|
|
```bash
|
|
vkpurge list
|
|
```
|
|
|
|
Remove one with:
|
|
|
|
```bash
|
|
vkpurge 2.8.2_4
|
|
```
|
|
|
|
Remove all but the latest with:
|
|
|
|
```bash
|
|
vkpurge 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`.
|
|
|
|
```bash
|
|
brightnessctl s 10%-
|
|
brightnessctl s 10%+
|
|
```
|
|
|
|
# Other Tricks
|
|
|
|
- [autologin](autologin.md)
|
|
- [services](sv.md)
|
|
- [wifi](wpa_cli.md)
|
|
|