我的 Void Linux 使用记录
·
2min
·
sorubedo
记录一下这台 Void Linux 的状态。
以下内容采集于 2026 年 8 月 13 日。系统为 Void Linux x86_64,内核为
6.18.40_1。当时 XBPS 共登记了 871 个包,其中 111 个为手动安装。
桌面
桌面使用 Niri + Noctalia v5。

XBPS 手动安装包
xbps-query -m 的完整输出:
111 个手动安装包(点击展开)
MesaLib-devel-26.1.5_1
PrismLauncher-11.0.3_1
base-system-0.114_2
blueman-2.4.6_2
bluez-5.86_2
brightnessctl-0.5.1_1
chromium-150.0.7871.181_1
chrony-4.8_1
cliphist-0.7.0_1
cpufetch-1.07_1
ddcutil-2.2.6_2
dhcpcd-10.3.1_1
direnv-2.37.1_1
docker-29.6.2_2
docker-buildx-0.34.1_1
docker-compose-5.1.4_1
elogind-252.39_1
fastfetch-2.66.0_1
fcitx5-5.1.19_1
fcitx5-chinese-addons-5.1.12_1
fcitx5-configtool-5.1.13_1
fcitx5-gtk-5.1.6_1
fcitx5-qt-5.1.13_2
fcitx5-rime-5.1.13_1
feh-3.12.2_1
ffmpeg-4.4.6_5
file-roller-44.5_1
filezilla-3.69.3_1
fish-shell-4.8.1_1
flatpak-1.18.0_2
fontconfig-devel-2.17.1_1
foot-1.27.0_1
freetype-devel-2.14.3_1
fuse-overlayfs-1.14_2
fuzzel-1.14.1_1
fzf-0.74.1_1
ghostty-1.1.3_1
github-cli-2.96.0_1
gnome-keyring-48.0_1
greetd-0.10.3_2
grub-2.12_2
grub-x86_64-efi-2.12_2
gvfs-1.56.1_3
gvfs-mtp-1.56.1_3
impala-0.7.4_1
iperf3-3.21_1
iwd-3.12_1
jq-1.8.2_1
kvantum-1.1.8_1
lazydocker-0.25.2_1
lftp-4.9.2_3
libspa-bluetooth-1.6.7_1
libxkbcommon-devel-1.13.2_1
lvm2-2.03.29_1
mesa-dri-26.1.5_1
mpv-0.41.0_3
nano-9.1_1
niri-26.04_1
noctalia-5.0.0.r2026.07.03.a0d8efc_1
noctalia-greeter-0.0.1.r2026.07.03.3f4b973_1
noto-fonts-cjk-sans-2.004_1
noto-fonts-emoji-2.051_2
nvidia-595.84_1
nvidia-container-toolkit-1.17.5_1
nvidia-libs-32bit-595.84_1
nwg-look-1.1.1_1
obs-32.1.2_2
opendoas-6.8.2_2
openjdk25-jre-25.0.3+0_1
openjdk8-jre-8u452b09_1
pam-u2f-1.4.0_1
passt-2026.01.20.386b5f5_1
pcmanfm-qt-2.4.0_1
pcsclite-2.4.1_1
pipewire-1.6.7_1
pkg-config-0.29.2_3
power-profiles-daemon-0.30_1
qemu-11.0.2_1
qt6ct-0.11_3
rootlesskit-2.2.0_2
rustup-1.29.0_1
scrcpy-4.1_1
seahorse-47.0.1_2
slirp4netns-1.3.3_1
starship-1.26.0_1
steam-udev-rules-1.0.0.61+20230830_1
steamguard-cli-0.18.1_1
sudo-1.9.17p2_1
tuigreet-0.9.1_1
turnstile-0.1.11_1
udisks2-2.10.1_1
unzip-6.0_15
upower-1.91.3_2
virt-manager-5.1.0_2
virtiofsd-1.14.0_1
void-repo-multilib-6_4
void-repo-multilib-nonfree-6_4
void-repo-nonfree-9_6
vscodium-bin-1.121.03429_1
wayland-devel-1.26.0_1
wayvnc-0.9.1_1
wl-clip-persist-0.4.3_1
wl-clipboard-2.3.0_1
xdg-desktop-portal-gnome-48.0_1
xdg-user-dirs-0.20_1
xeyes-1.3.1_1
xmirror-0.4.1_1
xtools-0.70_1
xwayland-satellite-0.8.2_1
zellij-0.44.3_1
zramen-1.0.1_1系统没有孤儿包和 hold 包。唯一设置 repolock 的包是:
librime-1.17.0_2Flatpak 应用
| 应用 ID | 名称 | 版本 |
|---|---|---|
be.alexandervanhee.gradia | Gradia | 1.13.0 |
com.bilingify.readest | Readest | 0.11.20 |
com.github.tchx84.Flatseal | Flatseal | 2.4.1 |
com.qq.QQ | Linux QQ | 3.2.31 |
com.tencent.WeChat | 4.1.1.8 | |
com.valvesoftware.Steam | Steam | 1.0.0.85 |
io.ente.auth | Ente Auth | 4.4 |
io.github.Foldex.AdwSteamGtk | AdwSteamGtk | 0.8.0 |
io.github.flattool.Warehouse | Warehouse | 2.2.0 |
it.mijorus.gearlever | Gear Lever | 4.6.2 |
net.labymod.LabyMod | Laby Launcher | 3.0.10 |
net.nokyan.Resources | Resources | 1.10.2 |
org.gnome.meld | Meld | 3.24.0 |
org.libreoffice.LibreOffice | LibreOffice | 26.2.4.2 |
org.localsend.localsend_app | LocalSend | 1.17.0 |
org.telegram.desktop | Telegram | 7.0.6 |
runit 服务
系统级 runit 服务目录 /var/service 当时启用了这些服务:
agetty-tty2
agetty-tty3
agetty-tty4
agetty-tty5
agetty-tty6
bluetoothd
chronyd
dbus
dhcpcd
docker
greetd
iwd
libvirtd
nvidia-powerd
pcscd
power-profiles-daemon
sshd
turnstiled
udevd
virtlockd
virtlogd
zramen
Turnstile 管理的用户服务位于 ~/.config/service/:
dbus
docker
ssh-agent
turnstile-ready启动与关机配置
三份由 runit 启动和关机流程读取的配置。
/etc/rc.conf(点击展开)
# /etc/rc.conf - system configuration for void
# Set the host name.
#
# NOTE: it's preferred to declare the hostname in /etc/hostname instead:
# - echo myhost > /etc/hostname
#
#HOSTNAME="void-live"
# Set RTC to UTC or localtime.
#HARDWARECLOCK="UTC"
# Set timezone, availables timezones can be found at /usr/share/zoneinfo.
#
# NOTE: it's preferred to set the timezone in /etc/localtime instead:
# - ln -sf /usr/share/zoneinfo/<timezone> /etc/localtime
# Setting the timezone here requires a reboot to apply any changes/fixes
# and read-write access to the filesystem.
#
#TIMEZONE="Europe/Madrid"
# Keymap to load, see loadkeys(8).
KEYMAP="us"
# Console font to load, see setfont(8).
#FONT="lat9w-16"
# Console map to load, see setfont(8).
#FONT_MAP=
# Font unimap to load, see setfont(8).
#FONT_UNIMAP=
# Amount of ttys which should be setup.
#TTYS=
# Set the mode for cgroup mounts.
# hybrid: mount cgroup v1 under /sys/fs/cgroup and
# cgroup v2 under /sys/fs/cgroup/unified
# legacy: mount cgroup v1 /sys/fs/cgroup
# unified: mount cgroup v2 under /sys/fs/cgroup
CGROUP_MODE=unified
# Set this to true only if you do not want seed files to actually credit the
# RNG, for example if you plan to replicate this file system image and do not
# have the wherewithal to first delete the contents of /var/lib/seedrng.
#SEEDRNG_SKIP_CREDIT=false/etc/rc.local(点击展开)
#!/bin/sh
# Default rc.local for void; add your custom commands here.
#
# This is run by runit in stage 2 before the services are executed
# (see /etc/runit/2).
echo "[-] Setting up TTY NumLock..."
for tty in /dev/tty1 /dev/tty2 /dev/tty3 /dev/tty4 /dev/tty5 /dev/tty6 /dev/tty7; do
setleds -D +num < "$tty" 2>/dev/null
done
echo "[-] Restoring backlight..."
for card in /sys/class/backlight/*; do
[ -L "$card" ] || continue
storage_file="/var/cache/backlight/$(basename "$card")-brightness"
if [ -r "$storage_file" ] && [ -w "$card/brightness" ]; then
cat "$storage_file" > "$card/brightness" 2>/dev/null
fi
done
echo "[-] Generating NVIDIA CDI..."
if nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml >/dev/null 2>&1; then
echo "[*] NVIDIA CDI ready."
else
echo "[!] NVIDIA CDI generation failed."
fi
echo "[-] Setting up shared mounts for Rootless Docker..."
mount_failed=0
for mnt in / /dev /sys /proc /tmp; do
if ! mount --make-rshared "$mnt" >/dev/null 2>&1; then
echo "[!] Failed to set rshared on $mnt"
mount_failed=1
fi
done
if [ "$mount_failed" -eq 0 ]; then
echo "[*] Shared mounts ready."
fi/etc/rc.shutdown(点击展开)
#!/bin/sh
# Default rc.shutdown for void; add your custom commands here.
#
# This is run by runit in stage 3 after the services are stopped
# (see /etc/runit/3).
echo "[-] Saving backlight brightness..."
mkdir -p /var/cache/backlight 2>/dev/null
for card in /sys/class/backlight/*; do
[ -L "$card" ] || continue
if [ -r "$card/brightness" ]; then
cat "$card/brightness" > "/var/cache/backlight/${card##*/}-brightness" 2>/dev/null
fi
done软件源
XBPS 最后登记了这些仓库:
https://repo-fastly.voidlinux.org/current
https://universalrepository.pages.dev/void
https://repo-fastly.voidlinux.org/current/multilib/nonfree
https://repo-fastly.voidlinux.org/current/multilib
https://repo-fastly.voidlinux.org/current/nonfree系统外安装的命令行工具
Cargo:
cargo-deny 0.20.2
cargo-ndk 4.1.2
npm(Node.js 24.18.1):
agent-browser 0.33.1
corepack 0.35.0
npm 11.16.0