This guide provides step-by-step instructions to set up Void Linux with the Xfce desktop environment on an Intel-based ThinkPad T480 laptop.
- Ensure you have a working installation of Void Linux.
- Make sure your system is connected to the internet.
The following commands are used throughout this setup guide:
This command is similar to xbps-install -S
, but it takes into account the current directory and sudo/su considerations. Usage example:
xi package-name
-S
or--sync
: Synchronize remote repository index files.-y
or--yes
: Assume yes to all questions and avoid interactive questions.-u
or--update
: Update all installed packages.-v
or--verbose
: Enable verbose messages.
xi void-repo-debug void-repo-multilib void-repo-multilib-nonfree void-repo-nonfree nano
sudo xbps-install -Syuv
xcheckrestart
sudo reboot
-
Configure Intel graphics:
xi linux-firmware-intel mesa-dri vulkan-loader mesa-vulkan-intel intel-video-accel
- Set the
LIBVA_DRIVER_NAME
environment variable toi965
.export LIBVA_DRIVER_NAME=i965
- Set the
-
Edit GRUB:
- Add
intel_iommu=igfx_off
to your kernel command line:sudo nano /etc/default/grub
- Update GRUB after making changes:
sudo update-grub
- Add
-
Install Intel microcode:
xi intel-ucode sudo xbps-reconfigure --force example "linux-6.6.51_1"
-
Add Flatpak support:
xi flatpak flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
-
Enable Bluetooth:
- Install necessary packages:
xi bluez libspa-bluetooth dbus
- Enable the
dbus
andbluetoothd
services:sudo ln -s /etc/sv/dbus /var/service sudo ln -s /etc/sv/bluetoothd /var/service
- Restart your computer:
sudo reboot
- Install necessary packages:
-
Install additional software:
xi blueman rofi kitty
-
Configure Rofi shortcut (optional): Bind
rofi -show drun
to a keyboard shortcut for easier access. -
Manage Bluetooth devices:
blueman-manager
-
Install and configure network services:
xi ufw wireguard NetworkManager-pptp NetworkManager-l2tp NetworkManager-devel NetworkManager-l2tp NetworkManager-openvpn dnscrypt-proxy
-
Configure UFW (optional):
- Open the UFW configuration file:
sudo nano /etc/default/ufw
- IPv6=no
- Disable and re-enable UFW to apply changes:
sudo ufw disable sudo ufw enable
3.Enable Dnscrypt-proxy:
sudo ln -s /etc/sv/dnscrypt_proxy /var/service
4.Final reboot:
sudo reboot
- Open the UFW configuration file:
- Mount a drive (if applicable):
- List block devices:
lsblk
- Create a mount point:
sudo mkdir /data sudo chown -R $USER:$USER /data
- Add your device to
/etc/fstab
for automatic mounting:sudo nano /etc/fstab
- Mount the drive manually:
sudo mount -a
- List block devices:
- Install final applications:
flatpak install freetube bitwarden librewolf