Install from source
Use this guide when you have a checkout of BlueRune's source and want to run what is in it. To install a release, use the ISO or the one-line install.
All commands run from the top directory of the checkout, as yourself (not root), on Arch Linux.
Requirements
- Arch Linux with
base-devel(formakepkg),gitandcargo. The workspace'sCargo.tomlnames the oldest Rust it builds with (rust-version). - Hyprland 0.57 or newer, and the other runtime packages
dist/arch/PKGBUILDlists underdepends.makepkg -siinstalls them.
Build and set up with the script
scripts/install-bluerune.sh is the same setup script that the package installs as bluerune-setup. From a checkout it also builds and installs the bluerune-git package from the checkout's last commit:
scripts/install-bluerune.sh # explains each step and asks first
scripts/install-bluerune.sh --dry-run # shows every change without making any
Add --desktop to also install bluerune-desktop (the login screen, clipboard history and the core apps), or --no-build to skip the packages. What else it does, its other options and --revert: The setup script.
Build the packages yourself
There are two packages in the checkout:
bluerune-git(dist/arch/PKGBUILD): the shell, its Settings window and helper, BlueRune's apps and the BlueRune session. It providesblueruneand conflicts with the release package of that name.bluerune-desktop(dist/arch/bluerune-desktop/PKGBUILD, optional): a meta-package for a complete desktop around the session. It installs nothing of its own. It depends onbluerune(whichbluerune-gitprovides),bluerune-keyring(dist/arch/bluerune-keyring), the portals, clipboard history (cliphist,wl-clipboard), colour emoji (noto-fonts-emoji), screen recording (wf-recorder), greetd for BlueRune's own login screen, and the core apps: Dolphin (files), Ark (archives), kitty (terminal), mpv (video and music) and Mousepad (text), plusqt6ctandarchlinux-xdg-menuso Dolphin and Ark are themed and have an "Open with" list without Plasma.
cd dist/arch
makepkg -si # bluerune-git
(cd bluerune-keyring && makepkg -si --asdeps) # what bluerune-desktop needs
cd bluerune-desktop && makepkg -si # bluerune-desktop, if you want it
Then set BlueRune up with bluerune-setup, or by hand.
What bluerune-git installs
bluerune, the release package, installs the same files.
| What | Where |
|---|---|
| The shell, its command line and the Settings window | /usr/bin/bluerune, bluerunectl, bluerune-settings |
| BlueRune's apps: a calculator, an image viewer and a system monitor, with their launcher entries | /usr/bin/bluerune-calc, bluerune-view, bluerune-monitor, /usr/share/applications/ |
| The shell's user service | /usr/lib/systemd/user/bluerune.service |
The BlueRune session: its login screen entry, the Hyprland entry uwsm starts, bluerune-session.target, uwsm's environment for it and the new-user setup |
/usr/share/wayland-sessions/bluerune.desktop, /usr/share/bluerune/session/, /usr/lib/systemd/user/, /usr/share/uwsm/env-bluerune, /usr/lib/bluerune/bluerune-session-setup |
| The Hyprland config a new user of the session gets | /usr/share/bluerune/hypr/ |
| Which portal serves what in the session | /usr/share/xdg-desktop-portal/bluerune-portals.conf |
| BlueRune's login screen and its greetd config | /usr/bin/bluerune-greeter, /usr/share/bluerune/greetd/ |
| The SDDM login screen theme | /usr/share/sddm/themes/bluerune/ |
| The settings helper (see Settings that need a password) | /usr/lib/bluerune/bluerune-helper, its system unit, D-Bus files and polkit policy; the units it starts for the initramfs rebuild and the battery charge limit, and /usr/lib/bluerune/bluerune-charge-limit |
| The drawing tablet rule | /usr/lib/udev/rules.d/70-bluerune-tablets.rules |
| The lock screen's PAM file | /etc/pam.d/bluerune |
| The setup script and its steps | /usr/bin/bluerune-setup, /usr/share/bluerune/install/ |
| The example Hyprland config and these guides | /usr/share/doc/bluerune/ |
The package pulls in the programs BlueRune configures rather than replaces (hypridle, hyprlock), uwsm, polkit, the portals, and the services it shows (NetworkManager, BlueZ, UPower, power-profiles-daemon, PipeWire). Optional packages switch on single features; pacman -Qi bluerune lists them.
Build without installing
The source is a Cargo workspace. To build every program, as the package does:
cargo build --release --workspace --bins
The programs are in target/release/. The package's own check runs the tests of the crates that need no display or session:
cargo test --release -p bluerune-core -p bluerune-helper