Tutorial Fedora 43 - Install Hyprland from scratch

Hey. I hope this is the right category to post this. But here is a full setup guide to install hyprland from the f43 netinstall iso.

I will be using most of the gnome stack for applications as they integrate well in terms of gui.

Result:

Needed:

A laptop or pc with a minimum of 4 gb ram / 10 gb storage space.
Cpu, one full potato. Or at least made in the last 10 years.
Everything iso https://dl.fedoraproject.org/pub/fedora/linux/development/43/Everything/x86_64/iso/
Phone with usb cable for usb tethering or network cable.
Step 1 Install base system

Launch the netinstall iso after burning it. 
Create a user account, root account isn't needed as sudo is sufficient.
If you do use wifi it's recommended to connect it here.
Deselect everything when it comes to choosing components.

Let the install process finish and reboot, you will end on cli and login prompt.
Login with username and password.
Step 2 Connect to internet from cli

Connect your phone and enable usb tethering to get internet.
Or use a network cable to get internet.

Step 3 Add hyprland copr repo

Add the solopasha hyprland copr repo.
sudo dnf copr enable solopasha/hyprland
Press y when asked to import the signed key.
Step 4 Install hyprland and sddm

sudo dnf install hyprland sddm tuned tuned-ppd kitty waybar hyprpolkitagent nautilus pavucontrol alsa-sof-firmware alsa-utils blueman NetworkManager-wifi iwl* nm-connection-editor-desktop gvfs gvfs-mtp
Step 5 Enable sddm in systemd

Enable sddm as the login manager and point systemctl to graphical login.
sudo systemctl enable sddm.service
sudo systemctl set-default graphical.target
Step 6 Enable hyprpolkit in hyprland.conf to get authentication

Reboot to sddm.
sudo nano .config/hypr/hyprland.conf 
Add to waybar and polkit agent to autostart section
exec-once = waybar
exec-once = systemctl --user start hyprpolkitagent

From here you are technical done, below is optional but I think meaningful additions.

Optional tools and programs

Azote - Wallpaper setter 
sudo dnf install azote swaybg
Add it to hyprland conf autostart
exec-once = ~/.azotebg-hyprland
Disable the default wallpaper in the config by doing 
    force_default_wallpaper = 1 
    disable_hyprland_logo = true 

Gnome Software - Software storefront
sudo dnf install gnome-software

Gimp, Vlc - Image and video support
sudo dnf install gimp vlc

Firefox, Libreoffice, Thunderbird - Browser, Mail, Office tools
sudo dnf install firefox libreoffice thunderbird

Flameshot - Screenshot tool
sudo dnf install flameshot grim

Simplescan - Document scanner support
sudo dnf install simple-scan

Nwg-Look Gtk tweak to change gtk theme, icons, fonts from a gui
sudo dnf install nwg-look

See hyprland wiki for full configuration, noteable monitor and keyboard as it’s impossible for me to cover everything here.

4 Likes

You should put this in a quick doc: Fedora Quick Docs :: Fedora Docs

1 Like