Skip to main content
Version: 2.1

Installation

Dux Modular Shell

Installation

This guide covers installation of Dux Modular Shell across different Linux distributions and methods.

Dependencies​

  • quickshell (required) - The core framework
  • cava (optional) - Audio visualizer widget
  • dcal (optional) - Complete desktop calendar app with native integration for DMS calendar widgets
  • dsearch (optional) - Filesystem search engine
  • matugen (optional) - Material Design color palette generation
  • niri (optional) - DMS Team's choice of Wayland compositor
  • qt6-multimedia (optional) - System sound feedback

For pre-built packages on Fedora, Debian, Ubuntu, and OpenSUSE, see the Dux Repository page.

note

Only Quickshell is required. All other dependencies are optional and enable specific features.

Install by Distribution​

Select your distribution. The choice carries over to the other install pages.

Arch & Derivatives​

dms is available in the official Arch repositories (extra), and as a development package in the AUR.

sudo pacman -S dux-shell

These packages ship the shell, widgets, and CLI. Pair them with niri, hyprland, sway, mangowc, labwc, or miracle-wm packages from the official repositories for a complete desktop stack.

Post Install​

After completing installation:

  1. Generate compositor config (niri, Hyprland, mangowm): Run dms setup to create a starter configuration with DMS keybinds and autostart. Other compositors (sway, labwc, Miracle WM) are supported but require manual configuration.
  2. Enable the systemd service (recommended) or add dms run to your compositor config
  3. Configure your compositor keybinds - see the Keybinds & IPC guide
  4. Customize appearance via Themes
  5. Extend functionality with Plugins

See Managing Your Installation for detailed guidance on service management, environment variables, and updates.

Dux Installer Users

If you used the Dux Installer or dms setup with systemd, this is already configured. Both bind dms.service to your compositor's session unit.

Enable autostart:

dms systemd enable

This binds dms.service to the running compositor's session unit (niri.service, hyprland-session.target or mango-session.target), so DMS starts only with that compositor. See Systemd service. The sections below show the same wiring by hand.

Manual control:

# Start DMS now
systemctl --user start dms

# Check status
systemctl --user status dms

# View logs
journalctl --user -u dms -f

# Restart DMS
systemctl --user restart dms

# Disable autostart
dms systemd disable
warning

If using systemd autostart, remove dms run / spawn "dms" "run" / exec_once=dms run from your compositor's configuration to avoid running DMS twice.

Compositor-Specific Systemd Setup​

Different compositors have different levels of systemd session integration. Choose the section that matches your compositor.

Why use add-wants?

If you have multiple desktop environments installed (e.g., Plasma, GNOME, niri), using systemctl --user enable dms starts DMS in all of them. Using add-wants binds DMS to a specific compositor's service or session target, so it only runs where you want it. DMS won't launch when you log into Plasma or GNOME.

niri​

niri has native systemd session integration. Bind DMS to niri's service:

systemctl --user add-wants niri.service dms

DMS starts when niri starts and stops when niri exits. It won't run in other sessions.

Hyprland​

Hyprland 0.57 and newer ship and start hyprland-session.target themselves, so you can skip creating the unit below. Keep the dbus-update-activation-environment line in your config and still run the add-wants step at the end of this section.

On 0.55 and 0.56, Hyprland doesn't initialize the systemd user session by default. You need to export the environment to systemd for user services to work. dms setup and duxinstall write this unit for you; to create it by hand:

~/.config/systemd/user/hyprland-session.target
[Unit]
Description=Hyprland Session Target
BindsTo=graphical-session.target
Wants=graphical-session-pre.target
After=graphical-session-pre.target
PropagatesStopTo=graphical-session.target

Add to your Hyprland config (after any env = lines):

~/.config/hypr/hyprland.lua
hl.on("hyprland.start", function()
hl.exec_cmd("dbus-update-activation-environment --systemd --all")
hl.exec_cmd("systemctl --user start hyprland-session.target")
end)

Bind DMS to the session target:

systemctl --user add-wants hyprland-session.target dms

mangowm​

mangowm is a dynamic tiling compositor based on dwl (wlroots). DMS needs mangowm 0.18 or newer.

mangowm ships mango-session.target (since 0.17.1) and starts it itself after exporting the environment to systemd, so you only need the add-wants step at the end of this section. If your package doesn't install the target, create it by hand:

~/.config/systemd/user/mango-session.target
[Unit]
Description=mangowm Session Target
Requires=graphical-session.target
After=graphical-session.target

Add to your mangowm config:

~/.config/mango/config.conf
exec_once=dbus-update-activation-environment --systemd --all
exec_once=systemctl --user start mango-session.target

Bind DMS to the session:

systemctl --user add-wants mango-session.target dms

Sway​

Sway (wlroots-based) needs the environment exported for systemd services.

Create a session target:

~/.config/systemd/user/sway-session.target
[Unit]
Description=Sway Session Target
Requires=graphical-session.target
After=graphical-session.target

Add to your Sway config:

~/.config/sway/config
exec dbus-update-activation-environment --systemd --all
exec systemctl --user start sway-session.target

Bind DMS to the session:

systemctl --user add-wants sway-session.target dms

Miracle WM​

Miracle WM is a tiling Wayland compositor built on Mir. Like other compositors without native systemd session integration, it requires manual environment export.

Create a session target:

~/.config/systemd/user/miracle-wm-session.target
[Unit]
Description=Miracle WM Session Target
Requires=graphical-session.target
After=graphical-session.target

Bind DMS to the session:

systemctl --user add-wants miracle-wm-session.target dms