Install on Arch Linux

Use this guide to add BlueRune to an Arch Linux system you already use. One command trusts BlueRune's package signing key, adds BlueRune's package repository, installs the bluerune-desktop package and sets BlueRune up in your Hyprland config.

To install BlueRune on an empty disk instead, use the ISO.

Before you start

  • Arch Linux on x86_64. The installer stops on any other system or architecture.
  • An account that can use sudo. Run the command as yourself, not as root; it asks sudo when it needs to.
  • curl, gpg and awk, which an Arch install normally has.
  • A terminal. The installer and pacman ask questions there. Without a terminal, add --yes (see Options).

pacman installs Hyprland (0.57 or newer) and everything else BlueRune needs if you don't have them. Installing also updates the rest of the system, as pacman -Syu always does.

Install

  1. Read the script first, if you like. It is at bluerune.dev/install, or:

    curl -fsSL https://bluerune.dev/install | less
  2. Run it:

    curl -fsSL https://bluerune.dev/install | bash
  3. Answer its questions. Each step says what it does before it does it.

  4. Log out. At the login screen, choose the BlueRune session and log in.

On your first login to the BlueRune session, BlueRune opens its welcome window. Continue with After installing.

What the installer does

It runs these steps and prints a heading for each:

  1. BlueRune's signing key. It downloads https://pkgs.bluerune.dev/bluerune.asc and stops unless the key's fingerprint is 2D29F036E5A935DA3579C4B5DF4D64C7548CC0EF. Then pacman trusts the key (pacman-key --add and pacman-key --lsign-key).

  2. The [bluerune] repository. It shows the change to /etc/pacman.conf as a diff, saves the file as it was in /etc/pacman.conf.bluerune-backup, and adds this section at the end, after Arch's own repositories, so a package of the same name always comes from Arch:

    [bluerune]
    # BlueRune (https://bluerune.dev), signed by 2D29F036E5A935DA3579C4B5DF4D64C7548CC0EF; added by its installer.
    SigLevel = Required
    Server = https://pkgs.bluerune.dev/stable/$arch

    SigLevel = Required means pacman refuses any package or database from it that isn't signed.

  3. Arch Linux's updates. It asks whether to hold all of Arch at the date BlueRune was last tested with (see Updates), unless --hold or --live says. Press Enter for the default: hold on a new system, live on one that has a desktop session of its own already (holding would take its packages back to the tested date's), or what you chose last time. --yes takes the default without asking.

  4. The packages. It runs sudo pacman -Syu --needed bluerune-keyring bluerune-mirrorlist, then sudo bluerune-updates hold on (or off) --channel stable, which writes /etc/bluerune/updates.conf and /etc/pacman.d/bluerune-arch. It shows, as a diff, the change to /etc/pacman.conf that makes [core], [extra] and [multilib] (commented out or not) read Include = /etc/pacman.d/bluerune-arch, and writes it. Then it installs bluerune-desktop: with sudo pacman -Syuu when held, so anything newer than the tested date goes back to it, else sudo pacman -Syu. If your login screen is SDDM and pacman holds it only as a dependency (of bluerune-desktop before version 3, which no longer depends on it), it marks SDDM as installed on purpose (pacman -D --asexplicit sddm), so it isn't removed later as an orphan.

  5. Setting BlueRune up for you. It runs bluerune-setup, which the bluerune package installs. See Set up BlueRune in Hyprland for what it changes.

Running the installer again does only what isn't done yet.

The packages

Package What it is
bluerune The shell, Settings, BlueRune's apps (calculator, image viewer, system monitor), the BlueRune session and its login screen
bluerune-keyring BlueRune's signing key for pacman, kept current the way archlinux-keyring is
bluerune-desktop A meta-package for a complete desktop: bluerune, the portals, clipboard history, colour emoji, screen recording, greetd for BlueRune's login screen, and Dolphin, Ark, kitty, mpv and Mousepad
bluerune-mirrorlist Which Arch Linux updates come: bluerune-updates, /etc/pacman.d/bluerune-arch, and a warning before an untested Hyprland

Try it without changing anything

--dry-run shows each step without changing anything:

curl -fsSL https://bluerune.dev/install | bash -s -- --dry-run

On a system without BlueRune, the output looks like this (the temporary path and the lines around the diffs differ from system to system; this run also had --no-setup):

BlueRune: installs it from https://pkgs.bluerune.dev (stable channel).
Dry run: nothing is changed.

==> BlueRune's signing key
    Downloaded, and its fingerprint is 2D29F036E5A935DA3579C4B5DF4D64C7548CC0EF.
    [dry run] would run: sudo pacman-key --add /tmp/tmp.jxhBiJTBgn/bluerune.asc
    [dry run] would run: sudo pacman-key --lsign-key 2D29F036E5A935DA3579C4B5DF4D64C7548CC0EF

==> The [bluerune] repository (stable)
    --- /etc/pacman.conf
    +++ /etc/pacman.conf (new)
    @@ -98,3 +98,8 @@
     #[custom]
     #SigLevel = Optional TrustAll
     #Server = file:///home/custompkgs
    +
    +[bluerune]
    +# BlueRune (https://bluerune.dev), signed by 2D29F036E5A935DA3579C4B5DF4D64C7548CC0EF; added by its installer.
    +SigLevel = Required
    +Server = https://pkgs.bluerune.dev/stable/$arch
    [dry run] would write that to /etc/pacman.conf

==> Arch Linux's updates
    Hold: all of Arch stays at the date BlueRune was last tested with, and moves forward
          once BlueRune passes its tests on a newer one (days, usually). Nothing breaks
          because Hyprland or a library changed before BlueRune did.
    Live: Arch's updates as they come, as on any Arch system; Hyprland can get ahead of
          BlueRune for a while. Pacman warns when it does.
    Taking the default: hold.

==> The packages
    pacman updates the system (as it always does before installing), then installs
    BlueRune's key and bluerune-mirrorlist, which says which Arch updates come.
    [dry run] would run: sudo pacman -Syu --needed bluerune-keyring bluerune-mirrorlist

==> Arch Linux's updates: held at BlueRune's tested date
    [dry run] would run: sudo bluerune-updates hold on --channel stable
    --- /etc/pacman.conf
    +++ /etc/pacman.conf (new)
    @@ -71,10 +71,10 @@
     [core]
    -Include = /etc/pacman.d/mirrorlist
    +Include = /etc/pacman.d/bluerune-arch
    …
    [dry run] would write that to /etc/pacman.conf

==> BlueRune's desktop
    With Arch held, anything newer than the tested date goes back to it (pacman -Syuu).
    [dry run] would run: sudo pacman -Syuu --needed bluerune-desktop

==> Setting BlueRune up for you
    Skipped (--no-setup). Run bluerune-setup when you like.

==> Done
    Updates come with the rest of the system: sudo pacman -Syu
    Arch is held at BlueRune's tested date; to follow it directly: sudo bluerune-updates hold off
    At the login screen, pick the "BlueRune" session.

Options

Pass options after bash -s --:

curl -fsSL https://bluerune.dev/install | bash -s -- [options] [-- bluerune-setup options]
Option Does
--edge Uses the edge channel: every release as soon as it is out
--stable Uses the stable channel. This is the default
--hold Holds all of Arch at the date BlueRune was last tested with, moved forward once BlueRune passes its tests on a newer one. The default on a new system
--live Follows Arch's updates as they come, untested with BlueRune. The default on a system with a desktop already
--yes Doesn't ask: pacman and bluerune-setup take their default answers
--dry-run Shows what it would do, and changes nothing
--no-setup Installs the packages only. Run bluerune-setup yourself later
-h, --help Shows the help

Anything after a second -- goes to bluerune-setup. For example, to install from the edge channel and apply a saved profile:

curl -fsSL https://bluerune.dev/install | bash -s -- --edge -- --profile ~/bluerune-profile

To switch channels later, run the installer again with --edge or --stable. It replaces the [bluerune] section in /etc/pacman.conf.

Updates

BlueRune updates with the rest of the system:

sudo pacman -Syu

Hyprland changes its configuration and IPC between releases, and Arch ships each one within days. So a held system takes all of Arch as it was on the date BlueRune's stable channel was last tested with, from https://pkgs.bluerune.dev/arch/<date>/, a snapshot of Arch's archive. When BlueRune passes its tests on a newer date, the channel names it (https://pkgs.bluerune.dev/stable/arch-date); a timer and a pacman hook read it, and your next update moves to it. If an update says Arch moved to a newer date, run sudo pacman -Syu once more.

bluerune-updates status         # the date held at, the channel's date, Hyprland installed and tested
sudo bluerune-updates hold off  # follow Arch directly
sudo bluerune-updates hold on   # hold again; sudo pacman -Syuu goes back to the tested versions

Settings › Updates shows the same, with a Follow Arch directly switch. Following Arch directly, pacman warns before an update brings a Hyprland newer than the one BlueRune is tested with, and goes ahead.

Holding packages back

To keep a package at the version installed while everything else updates, select Hold back updates on its page in the Store, Hold back beside its update, or Hold back a package… under Held packages in Settings › Updates; Allow updates undoes it. Each asks for the administrator's password. BlueRune keeps these packages in /etc/pacman.d/bluerune-held.conf (IgnorePkg = …), which one line it adds to /etc/pacman.conf's [options] reads: Include = /etc/pacman.d/bluerune-held.conf. pacman, checkupdates, the Store and the update notification then leave their updates out. To update one anyway, run sudo pacman -S <package> (pacman asks first).

Packages your own IgnorePkg lines in /etc/pacman.conf hold back are listed too, as held in pacman.conf. Move into BlueRune's list (in the Store's Held back card, in Settings, or bluerune-store move-holds in a terminal) takes them out of those lines, keeping the rest of the file and its comments and a copy of it in /etc/bluerune/pacman.conf.<date>.bak, so their updates can be allowed from BlueRune. Patterns (linux*), IgnoreGroup and other included files stay yours to edit. bluerune-store holds, hold <package> and allow <package> do the same from a terminal.

Holding a package back for long can break what depends on it: Arch is updated as a whole.

Remove BlueRune

  1. If you use the BlueRune session, log in to another session first. If the login screen uses BlueRune's SDDM theme, choose another theme on the Login screen page of Settings.

  2. Undo what bluerune-setup changed in your Hyprland config, while the package is still installed:

    bluerune-setup --revert
  3. Stop BlueRune and remove the packages:

    systemctl --user disable --now bluerune.service
    sudo pacman -Rns bluerune-desktop   # its apps go too, unless you installed them yourself
    sudo pacman -Rns bluerune          # or bluerune-git, if you built it from a checkout
    sudo pacman -Rns bluerune-keyring  # if it is still installed
  4. Take the [bluerune] section out of /etc/pacman.conf, or put back the copy the installer saved:

    sudo cp /etc/pacman.conf.bluerune-backup /etc/pacman.conf

    The backup is the file as it was before the first install. If you changed /etc/pacman.conf since, edit it instead: take out the [bluerune] section, and change each Include = /etc/pacman.d/bluerune-arch back to Include = /etc/pacman.d/mirrorlist before removing bluerune-mirrorlist. If you held packages back with BlueRune, move their names into an IgnorePkg line of your own if you want them kept, then take out the Include = /etc/pacman.d/bluerune-held.conf line before deleting that file: pacman stops with an error when an included file is missing.

What stays behind

These files are yours, and stay until you delete them:

  • The base config the BlueRune session copied into ~/.config/hypr for a new user (hyprland.lua, bluerune-base/, custom/)
  • ~/.config/bluerune/ (settings, settings.d), ~/.config/hypr/bluerune.lua and ~/.config/hypr/bluerune-binds.lua
  • ~/.config/hypr/hypridle.conf and hyprlock.conf, if their first line says BlueRune generated them
  • ~/.local/share/bluerune/ (shaders, colour profiles) and ~/.local/state/bluerune/ (launch history, whether the welcome window was shown)
  • The colours and fonts passed on to GTK and Qt apps: ~/.config/gtk-3.0/bluerune.css, ~/.config/gtk-4.0/bluerune.css (and the @import line at the top of each gtk.css there), ~/.config/qt6ct/colors/BlueRune.conf and ~/.local/share/color-schemes/BlueRune.colors
  • The helper's drop-in files, if you changed a setting that needs the administrator's password: files named 50-bluerune* under /etc/systemd/logind.conf.d, /etc/systemd/sleep.conf.d, /etc/UPower/UPower.conf.d, /etc/sddm.conf.d, /etc/tmpfiles.d and /etc/libinput/plugins, and /etc/bluerune/sddm-theme.conf (the login screen theme's colours). Putting those settings back to their defaults in Settings before you uninstall removes them.