lk/distros/void/void_basics.md

62 lines
859 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"
2023-01-06 20:13:45 +00:00
tags: [ "Documentation", "Void" ]
2022-01-16 18:20:39 +00:00
---
2022-04-24 11:03:44 +00:00
# Updates
Update all packages with
```bash
sudo xbps-install -Su
```
2022-04-24 11:03:44 +00:00
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
```
2020-01-02 00:04:35 +00:00
# vkpurge
Old Void kernels are left on the boot partition. List them with:
```bash
vkpurge list
```
2020-01-02 00:04:35 +00:00
Remove one with:
```bash
vkpurge 2.8.2_4
```
2020-01-02 00:04:35 +00:00
Remove all but the latest with:
```bash
vkpurge rm all
```
2020-01-02 00:04:35 +00:00
# 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`.
```bash
brightnessctl s 10%-
brightnessctl s 10%+
```
2020-01-02 00:04:35 +00:00
2022-05-20 17:04:51 +00:00
# Other Tricks
- [autologin](autologin.md)
- [services](sv.md)
- [wifi](wpa_cli.md)