This document provides solutions to common issues you might encounter while using this Hyprland configuration.
If Hyprland fails to start, try the following:
- Check Hyprland logs:
cat ~/.local/share/hyprland/hyprland.log
Look for any error messages that might indicate the problem.
- Ensure all dependencies are installed:
yay -S hyprland waybar rofi dunst kitty python3 brightnessctl playerctl
- Verify your configuration files:
hyprctl reload
If there are any syntax errors, they will be displayed.
- Try starting Hyprland with a minimal configuration:
mv ~/.config/hypr/hyprland.conf ~/.config/hypr/hyprland.conf.bak
echo "monitor=,preferred,auto,1" > ~/.config/hypr/hyprland.conf
If Hyprland starts, gradually add back your configuration, testing after each addition.
If you experience screen tearing:
- Enable VRR (Variable Refresh Rate) in your Hyprland configuration:
echo "general {
vrr = 1
}" >> ~/.config/hypr/hyprland.conf
- If using NVIDIA, ensure you have the proper drivers and configuration:
yay -S nvidia-dkms
Add the following to your Hyprland configuration:
echo "env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1" >> ~/.config/hypr/hyprland.conf
If you're experiencing audio problems:
- Ensure PulseAudio is running:
pulseaudio --check
If it's not running, start it with:
pulseaudio --start
- Check if your audio device is recognized:
pactl list short sinks
- If using Bluetooth audio, make sure the Bluetooth service is running:
sudo systemctl status bluetooth
If it's not running, start it with:
sudo systemctl start bluetooth
- Try restarting PulseAudio:
pulseaudio -k && pulseaudio --start
If you're having issues with Bluetooth:
- Ensure the Bluetooth service is running:
sudo systemctl status bluetooth
If it's not running, start it with:
sudo systemctl start bluetooth
- Check if your Bluetooth adapter is recognized:
bluetoothctl list
- If the adapter is not found, try reloading the Bluetooth module:
sudo modprobe btusb
- For persistent Bluetooth issues, try resetting the Bluetooth system:
sudo systemctl stop bluetooth
sudo rm /var/lib/bluetooth/*
sudo systemctl start bluetooth
If you're having Wi-Fi issues:
- Check if your Wi-Fi adapter is recognized:
ip link
- Ensure the necessary services are running:
sudo systemctl status iwd
sudo systemctl status dhcpcd
If they're not running, start them:
sudo systemctl start iwd
sudo systemctl start dhcpcd
- Connect to a network using
iwctl
:
iwctl
[iwd]# device list
[iwd]# station <device> scan
[iwd]# station <device> get-networks
[iwd]# station <device> connect <SSID>
- If you're still having issues, try restarting the network services:
sudo systemctl restart iwd
sudo systemctl restart dhcpcd
If your keybindings aren't functioning as expected:
- Check your keybindings configuration:
cat ~/.config/hypr/keybinds.conf
- Ensure there are no conflicts between different keybindings.
- Try reloading your Hyprland configuration:
hyprctl reload
- If a specific keybinding isn't working, try binding it to a different key to isolate the issue.
If Firefox is not rendering correctly:
-
Enable Wayland support in Firefox:
-
Open
about:config
in Firefox -
Set
gfx.webrender.all
totrue
-
Set
widget.use-xdg-desktop-portal
totrue
-
Restart Firefox and check if the issue is resolved.
If Discord is not functioning properly:
- Try using the Wayland version of Discord:
yay -S discord_arch_electron
- If screen sharing doesn't work, install
xdg-desktop-portal-hyprland
:
yay -S xdg-desktop-portal-hyprland
If you're experiencing performance issues:
- Check your system resources:
htop
- Disable animations if they're causing slowdowns:
echo "animations {
enabled = false
}" >> ~/.config/hypr/animations.conf
- Reduce blur and shadows:
echo "decoration {
blur {
enabled = false
}
drop_shadow = false
}" >> ~/.config/hypr/hyprland.conf
- If using NVIDIA, ensure you're using the proper drivers and settings as mentioned in the Screen Tearing section.
If Waybar isn't appearing or is malfunctioning:
- Check Waybar's configuration:
cat ~/.config/waybar/config
- Ensure Waybar is running:
pgrep waybar || waybar &
- Check Waybar's logs for any error messages:
waybar -l debug
- If Waybar is frozen, try restarting it:
killall waybar && waybar &
If you're having issues with themes or appearance:
- Ensure all theme-related packages are installed:
yay -S nwg-look kvantum qt5ct
- Check your GTK theme settings:
cat ~/.config/gtk-3.0/settings.ini
- Verify Qt theme settings:
cat ~/.config/qt5ct/qt5ct.conf
- If icons are missing, update your icon cache:
gtk-update-icon-cache
- For font issues, ensure all necessary fonts are installed and update the font cache:
fc-cache -fv
If you continue to experience issues after trying these solutions, please open an issue on the GitHub repository with a detailed description of your problem and any relevant log outputs.