Files
2026-11-17 09:28:47 +01:00

21 KiB
Raw Permalink Blame History

labwc Desktop Setup

A lightweight, keyboard-driven Wayland desktop for Debian 13 (trixie) and Debian-based systems, built around the labwc stacking compositor.

The repository contains a complete dotfiles bundle, matching dark and light themes, and an interactive installer that sets up packages, applications, the login screen, the keyring, and optional developer tooling.

The look is inspired by KDE Breeze, but the desktop itself is plain Wayland + GTK: labwc, Waybar, fuzzel, Thunar, kitty/foot, and Arc/Qogir themes.


Contents


What this is

This is not a full desktop environment like GNOME or KDE Plasma. It is an opinionated, ready-to-use labwc desktop:

  • labwc handles windows, workspaces, and keybindings.
  • Waybar provides a compact bottom panel with launcher, taskbar, tray, system status, and clock.
  • fuzzel is the application launcher.
  • kitty and foot are the terminals, using fish as the shell.
  • Thunar, Loupe, GParted, Firefox, Evince, and Flatseal cover everyday desktop tasks.
  • greetd + tuigreet provide a text-based login screen with power buttons.
  • Everything is configured through plain text files under ~/.config.

The result is a small, fast, reproducible desktop that stays out of the way and is easy to version-control.

Who it is for

Good fit

  • Developers who work primarily in a terminal and want a consistent, keyboard-driven setup.
  • Power users who prefer editing configuration files over clicking through settings dialogs.
  • Users of older or low-power hardware and virtual machines, where a full desktop environment is too heavy.
  • Debian users who want a coherent Breeze-style Wayland desktop without installing KDE.
  • People who like reproducible setups: the whole desktop lives in this repository and is applied by one script.

Less suitable

  • Users who expect a graphical settings center, themes app, or GNOME/KDE-style conveniences.
  • Non-Debian distributions (Fedora, Arch, openSUSE, …) — the installer is apt-based and will not work there.
  • Beginners who do not want to touch configuration files.
  • NVIDIA users who need proprietary driver setup — the installer only provides the standard Mesa stack and does not configure NVIDIA drivers.

Features

  • Minimal Wayland desktop with labwc, Waybar, and fuzzel.
  • Coherent dark and light themes across the panel, terminals, launcher, notifications, lock screen, login screen, and fish prompt.
  • Keyboard-first workflow: window management, four workspaces, snapping, screenshots, volume, session menu.
  • Automatic idle handling: lock after 10 minutes, display off after 15, suspend after 30 — paused while audio or video is playing.
  • Text-based login screen with tuigreet, including shutdown and reboot buttons.
  • gnome-keyring integration, unlocked at login, with Flatpak secret-service support.
  • Flatpak with Flathub, Firefox, Evince, and Flatseal preconfigured.
  • Bundled Qogir icon theme (light and dark) and Nerd Font symbols.
  • Optional developer tooling: Node.js (nvm), opencode, uv, Rust/Cargo, Ollama, Docker + Compose.
  • Hardware-aware options: Rusticl/OpenCL for AMD GPUs, pixman software rendering in virtual machines.
  • Safe by default: existing files are backed up before they are replaced; nothing is changed before the final confirmation.

Included components

Area Components
Compositor labwc
Panel Waybar (launcher, taskbar, tray, network, audio, CPU, memory, session, clock)
Launcher fuzzel
Terminals kitty, foot (both use fish)
Shell fish, with custom prompt and abbreviations
File manager Thunar (with udisks2, gvfs, tumbler, thunar-volman)
Notifications mako
Lock / idle swaylock, swayidle, custom idle-action helper
Wallpaper swaybg
Login greetd + tuigreet
Screenshots grim, slurp, wl-clipboard, swappy
Audio PipeWire, WirePlumber, ALSA utilities
Network NetworkManager
Displays wdisplays, wlr-randr, wlopm
Theming Arc / Arc-Darker, Qogir-Manjaro icons, DejaVu Sans, JetBrains Mono, Nerd Font symbols
Applications Firefox (Flatpak), Evince (Flatpak), Flatseal (Flatpak), Loupe, GParted, mousepad, Helix (hx), kew
System utilities fastfetch, btop, htop, nvtop, lazygit, git, jq, polkit agent, xdg-desktop-portal, Flatpak
Optional Node.js (nvm), opencode, uv, Rust/Cargo, Ollama, Docker + Compose, Rusticl

Requirements

  • Debian 13 (trixie) — the tested target. Other Debian-based distributions with apt may work, but are not officially supported; the installer warns when it detects a non-Debian system.
  • A Wayland-capable graphics setup (Intel/AMD Mesa is the tested path, including virtual machines with pixman).
  • systemd, sudo, and a regular user account. Do not run the installer as root; it invokes sudo itself.
  • An internet connection for apt packages, Flatpak applications, and Nerd Fonts. The Qogir icon archive is bundled.
  • A local terminal (running the installer over SSH is possible, but the installer can only apply live GTK/theme changes to the graphical session it can detect).

Installation

git clone <your-repository-url> desktop-setup
cd desktop-setup
chmod +x install.sh
./install.sh

Or download the repository as an archive and run the same command from the extracted directory.

The installer is interactive and accepts no command-line parameters. It shows a menu, asks about optional components, and prints a summary before changing anything.

Important: The files in home/ and themes/*/home/ contain the placeholders @HOME@ and @NODE_BIN@. Do not copy them manually — the installer substitutes the real home directory and Node.js path while installing.

Installer menu

1) Full installation (recommended)
2) Change theme only (light/dark)
3) Patch GParted for Wayland only
4) Set up keyring (gnome-keyring) only
5) Quit
Option What it does
1 — Full installation Installs packages, icon theme, fonts, dotfiles, Flatpak apps, services, login screen, keyring, and all selected optional components.
2 — Change theme only Switches between dark and light. Updates dotfiles, GTK/dconf, wallpaper, terminals, panel, launcher, notifications, lock screen, fish colors, and the greetd theme. Preserves an existing VM renderer and Rusticl configuration.
3 — GParted patch only Makes GParted started as root (pkexec/sudo) use the Wayland display of the desktop user.
4 — Keyring only Installs and configures gnome-keyring, PAM integration, and the portal secret backend.
5 — Quit Exits without changes.

Full installation flow

  1. Choose dark or light.
  2. Answer the questions about virtual machine, Node.js, opencode, uv, Cargo, Ollama, Docker, Rusticl, and fish as the login shell.
  3. Review the summary and confirm with Install now? [Y/n].
  4. Enter your sudo password when prompted.

Existing files that would be overwritten are copied to:

~/Backups/desktop-setup-YYYYMMDD-HHMMSS/

An existing display manager (LightDM, GDM, SDDM, Ly) is not disabled automatically. The installer asks before enabling greetd in its place.

Optional components

Component Purpose
pixman renderer Software rendering for virtual machines without working 3D acceleration. Prevents black windows and graphics glitches.
Node.js (nvm) Installs nvm and the current Node.js LTS release.
opencode Terminal-based AI coding agent.
uv Fast Python package and project manager.
Cargo / Rust (rustup) Rust toolchain; also installs build-essential for native crates.
Ollama Local LLM runtime and service.
Docker + Compose Docker Engine, CLI, and Compose; adds the user to the docker group.
Rusticl (AMD) OpenCL 3.0 via Mesa/radeonsi, with only Rusticl exposed as the OpenCL ICD. Default is on when an AMD GPU is detected.
fish as login shell Runs chsh -s /usr/bin/fish after checking /etc/shells.

After installation

  1. Log out and back in so GTK applications pick up the icon, cursor, and theme settings.
  2. Reboot if you enabled greetd, so the new login screen becomes active.
  3. Log in through tuigreet and press Super+Return to open a terminal.

Useful first commands:

fastfetch          # system overview
btop               # resource monitor
lazygit            # Git TUI, inside a repository
session-menu       # session actions (also Super+X)

If you ever need to start the desktop manually from a local TTY, the fish function startlabwc starts labwc with dbus-run-session, pixman, and software cursors. This is intended for recovery and VM testing, not for normal daily use.

Keyboard shortcuts

Super is the Windows/Command key. The same bindings are defined in ~/.config/labwc/rc.xml.

Applications and menus

Shortcut Action
Super+Return Open kitty
Super+D / Super+Space Open fuzzel launcher
Super+E Open Thunar
Super+Menu Open the desktop root menu
Right-click desktop Open the desktop root menu

Windows

Shortcut Action
Super+Q Close window
Super+M Toggle maximize
Super+F Toggle fullscreen
Super+A Toggle always-on-top
Super+Tab Next window
Super+Shift+Tab Previous window
Super+Left/Right/Up/Down Snap window to screen edge

Workspaces

Shortcut Action
Super+1 … Super+4 Switch to workspace 1–4
Super+Shift+1 … Super+Shift+4 Move window to workspace 1–4 and follow
Super+Shift+Left/Right Move window one workspace left/right

System

Shortcut Action
Super+Shift+Up Volume +5 %
Super+Shift+Down Volume −5 %
Super+Shift+M Mute/unmute
Print Full-screen screenshot
Shift+Print Region screenshot
Super+Shift+S Region screenshot
Super+L Lock screen
Super+X / Super+Shift+Q Session menu
Super+R Reload labwc configuration

Screenshots are saved to ~/Pictures/Screenshots (or ~/Bilder/Screenshots when XDG user directories are localized) and copied to the clipboard.

Terminal (kitty)

Shortcut Action
Ctrl+Shift+Enter New vertical split
Ctrl+Shift+Alt+Enter New horizontal split
Ctrl+Shift+T New tab
Ctrl+Shift+Q Close tab
Ctrl+Shift+W Close split/window
Ctrl+Shift+Left/Right Previous/next tab
Ctrl+Shift+] / Ctrl+Shift+[ Next/previous window

Everyday usage

  • Launcher: press Super+D or click the ☰ button in Waybar. Type to search installed applications.
  • Taskbar: Waybar's taskbar shows running applications as icons. Left click focuses or minimizes, middle click closes.
  • System status: the right side of Waybar shows tray icons, network, volume, CPU, memory, session menu, and clock. Hover for details.
  • Session menu: Super+X or the ⚙ button. It offers lock, suspend, reload labwc, exit labwc, reboot, and shutdown. The menu labels are in German.
  • Notifications: appear in the top-right corner via mako.
  • Idle behavior: after 10 minutes the screen locks, after 15 the display turns off, after 30 the machine suspends. Active PipeWire media playback delays these actions, and any activity cancels pending actions.
  • Theme changes: run ./install.sh and choose option 2.

Themes

Two complete themes are included:

Dark Light
GTK theme Arc-Darker (GTK3), Arc-Dark (GTK4) Arc
Icon theme Qogir-Manjaro-Dark Qogir-Manjaro
Cursor Qogir-Manjaro-Dark Qogir-Manjaro
Wallpaper labwc-dark.png labwc-light.png
Accent #3daee9 #1c7ed6
Background #1b1e20 #eef4fb

The theme covers labwc decorations, Waybar, kitty, foot, fuzzel, mako, swaylock, tuigreet, fish colors, and GTK/dconf settings.

Switch themes by re-running the installer and choosing Change theme only. The new theme is fully active after the next login; the login screen changes after a reboot.

Configuration

All user configuration is installed under ~/.config and ~/.local/bin.

What Where Apply changes
Window manager, keybindings, workspaces ~/.config/labwc/rc.xml Super+R
Desktop right-click menu ~/.config/labwc/menu.xml Super+R
Autostart programs, idle timers ~/.config/labwc/autostart Log out/in
Session environment (keyboard layout, cursor, PATH) ~/.config/labwc/environment Log out/in
Panel layout ~/.config/waybar/config Restart Waybar
Panel appearance ~/.config/waybar/style.css Saved automatically (reload_style_on_change)
Launcher ~/.config/fuzzel/fuzzel.ini Next launch
Terminal (kitty) ~/.config/kitty/kitty.conf and theme.conf New terminal
Terminal (foot) ~/.config/foot/foot.ini New terminal
Notifications ~/.config/mako/config Restart mako
Lock screen ~/.config/swaylock/config Next lock
Login screen theme ~/.config/tuigreet/theme.conf greeter-theme --restart or reboot
Shell and prompt ~/.config/fish/config.fish, functions/, conf.d/ New shell
Helper scripts ~/.local/bin/ Immediately

Notes:

  • The keyboard layout is German (XKB_DEFAULT_LAYOUT=de). Change it in ~/.config/labwc/environment and log out/in if you need another layout.
  • The desktop design targets 1280×1024, but works at other resolutions. Use wdisplays or wlr-randr to configure monitors.
  • Theme-specific files live in the repository under themes/<mode>/home/ and are copied into $HOME by the installer. Editing the installed files is fine, but the next installation backs them up and replaces them.
  • Configuration files and menu labels are mostly in German; the code is documented in German as well. This README is the English entry point.

Repository layout

.
├── install.sh                 # interactive installer
├── home/                      # dotfiles shared by both themes
│   ├── .config/
│   │   ├── labwc/             # rc.xml, menu.xml, shutdown
│   │   ├── waybar/            # config (layout)
│   │   ├── kitty/             # shared kitty.conf
│   │   ├── fish/              # config, prompt, abbreviations
│   │   ├── xdg-desktop-portal/
│   │   └── mimeapps.list
│   └── .local/bin/            # session-menu, idle-action, screenshot,
│                              # set-gtk-settings, greeter-theme, …
├── themes/
│   ├── dark/home/             # dark overrides (colors, CSS, theme.conf)
│   └── light/home/            # light overrides
└── assets/
    ├── dconf-dark.conf        # reference GSettings dumps
    ├── dconf-light.conf
    ├── dconf-dark-user        # binary dconf fallback databases
    ├── dconf-light-user
    ├── labwc-dark.png         # wallpapers
    ├── labwc-light.png
    └── Qogir-icons-2025-02-15-all.tar.gz

The shared home/ tree is copied first, then the selected theme's home/ tree is copied over it. This keeps common configuration in one place while themes override colors and appearance.

What the installer changes

The full installation performs these steps:

  1. Installs apt packages (--no-install-recommends, with explicitly added essentials).
  2. Installs xfce-polkit as the PolicyKit agent (from unstable on Debian 13 if necessary).
  3. Patches /usr/sbin/gparted so root-started GParted uses the user's Wayland display.
  4. Installs the bundled Qogir icons and downloads Nerd Font symbols.
  5. Installs optional toolchains selected in the menu.
  6. Backs up and copies dotfiles into $HOME, substituting @HOME@ and @NODE_BIN@.
  7. Configures Rusticl and/or the pixman renderer if selected.
  8. Configures gnome-keyring, PAM, and the portal secret backend.
  9. Applies GTK, icon, cursor, and font settings through GSettings/dconf.
  10. Installs Flatpak apps (Firefox, Evince, Flatseal) from Flathub.
  11. Writes /etc/greetd/config.toml and a polkit rule allowing the greeter to power off/reboot.
  12. Enables NetworkManager, PipeWire, WirePlumber, and greetd.
  13. Reloads the running session where possible and runs a final diagnostic check.

Where the installer modifies system configuration files, it keeps backups next to the original when applicable (for example /etc/greetd/config.toml.bak.YYYYMMDD-HHMMSS). User files are backed up under ~/Backups/desktop-setup-*.

Troubleshooting

GTK applications show Adwaita icons

  • Log out and back in — GTK caches the icon theme when applications start.
  • Make sure the SVG loader is present: sudo apt install librsvg2-common.
  • Re-run the installer (full installation or theme change) to restore the reference dconf database.
  • Close conflicting XSETTINGS daemons (Xfce, GNOME) if they are running.

GParted shows no window when started as root

Run the installer and choose Patch GParted for Wayland only, or manually:

./install.sh   # option 3

Keyring is not unlocked at login

Run option 4 in the installer, then log out and back in. Verify that /etc/pam.d/greetd contains pam_gnome_keyring.so.

Black windows or graphics glitches in a VM

Enable the pixman renderer. The installer offers this automatically when it detects a virtual machine, or add to ~/.config/labwc/environment:

WLR_RENDERER=pixman

Then log out and back in.

Screen stays black after the display was turned off

Run idle-action resume. If the problem persists, check that the resume handlers in ~/.config/labwc/autostart are intact.

Waybar shows boxes instead of icons

The Nerd Font symbols are missing. Re-run the installer, or install the font manually and refresh the cache with fc-cache -f.

The old login screen still appears

greetd was probably not enabled, or another display manager is still active:

systemctl status greetd
sudo systemctl enable greetd
sudo systemctl disable --now lightdm   # or gdm3, sddm, ly

fish is not the login shell

chsh -s /usr/bin/fish

Log out and back in afterwards.

Volume or screenshot keys do nothing

This setup intentionally uses Super-based shortcuts instead of media keys. Use Super+Shift+Up/Down for volume and Print / Shift+Print for screenshots.

Limitations

  • Debian/Debian-based only. The package installation is apt-specific. Fedora, Arch, and others are unsupported.
  • Tested on Debian 13 (trixie) with Mesa graphics and in virtual machines. Other combinations may need manual fixes.
  • Not a full desktop environment. There is no graphical settings app; configuration is done in text files.
  • German defaults. Keyboard layout, menu labels, and comments are German. Change XKB_DEFAULT_LAYOUT for a different keyboard.
  • No NVIDIA driver setup. The installer provides the standard Mesa stack; proprietary NVIDIA configuration is left to the user.
  • No uninstaller. User files can be restored from ~/Backups/desktop-setup-*; system packages, files under /etc, and the GParted patch must be reverted manually.
  • The installer is interactive. It does not support unattended or scripted installations.
  • Theme switching is not live. GTK applications need a new login; greetd needs a reboot.

Credits

This setup builds on the work of these projects: