Skip to content

Instantly share code, notes, and snippets.

@raitonoberu
Last active January 16, 2024 12:08
Show Gist options
  • Save raitonoberu/1c79f0a06f5e98b6f15bd9c8f02c5372 to your computer and use it in GitHub Desktop.
Save raitonoberu/1c79f0a06f5e98b6f15bd9c8f02c5372 to your computer and use it in GitHub Desktop.
Void Linux + GNOME quick setup

Void Linux + GNOME guide

This is a guide I wrote for my future self that will help to quickly set up a fully usable Void Linux installation with Wayland-only GNOME. This is heavily inspired by and based on nerdyslacker's guide (huge thanks!).

  1. Download the base glibc live image here and install using the official instructions. Don't forget to configure the network during installation.
  2. Install essential packages:
sudo xbps-install -Suv
sudo xbps-install -Rs void-repo-nonfree
sudo xbps-install gnome dbus xdg-user-dirs-gtk xdg-utils NetworkManager pipewire libspa-bluetooth ntp dejavu-fonts-ttf gnome-browser-connector qt5-wayland
  1. Install drivers (for NVIDIA read the docs):
# AMD
sudo xbps-install mesa-dri mesa-vaapi mesa-vdpau mesa-vulkan-radeon
# Intel
sudo xbps-install mesa-dri intel-video-accel mesa-intel-dri intel-ucode
  1. Activate services:
sudo ln -s /etc/sv/gdm /var/service
sudo ln -s /etc/sv/dbus /var/service
sudo ln -s /etc/sv/ntpd /var/service
sudo ln -s /etc/sv/bluetoothd /var/service
sudo rm /var/service/wpa_supplicant /var/service/dhcpcd
sudo ln -s /etc/sv/NetworkManager /var/service

sudo ln -s /usr/share/applications/pipewire.desktop /etc/xdg/autostart/pipewire.desktop
sudo mkdir -p /etc/pipewire/pipewire.conf.d
sudo ln -s /usr/share/examples/wireplumber/10-wireplumber.conf /etc/pipewire/pipewire.conf.d/
sudo ln -s /usr/share/examples/pipewire/20-pipewire-pulse.conf /etc/pipewire/pipewire.conf.d/

# Now reboot & configure network using GUI
  1. Install additional packages:
# console utils
sudo xbps-install git curl nano wget unp htop xtools
# browser & multimedia
sudo xbps-install firefox firefox-i18n-en-US ffmpeg celluloid vlc
# fonts
sudo ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/
sudo xbps-install noto-fonts-ttf noto-fonts-emoji
# flatpak
sudo xbps-install flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
# tlp (saving laptop battery)
sudo xbps-install tlp tlp-rdw
sudo ln -s /etc/sv/tlp /var/service

That's it. Welcome to the Void. Now you have a clean GNOME environment. You might want to tinker with it yourself now, so here are some useful resources that are not necessary to explore but you may find useful:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment