Building My Own i3 Desktop
My Linux desktop was either a full environment or a window manager with loose parts. This setup closes that gap.
I use i3 at the centre. I like i3 because it is direct and keyboard friendly. A config file defines behaviour. A usable desktop needs more than tiling windows. It needs controls for applications, status, power, media, networks, and monitors. It also needs tools for screenshots, clipboard history, notes, locking, themes, and recovery.
The result lives in my ~/.dots repo. I manage it with GNU Stow. I install it through a small init.sh script. The repository contains the i3, i3blocks, rofi, dunst, and picom configurations. It also contains the kitty and qutebrowser setup, theme environment, package manifest, and i3-* helper scripts under .local/bin.
The goal is not complexity. The goal is a desktop I understand.
Why build it this way
I do not want a desktop where every behaviour depends on a large hidden service. I also do not want to wire together raw commands for Wi-Fi, audio output, or screenshots.
The middle ground is small scripts around standard tools.
The network menu wraps nmcli. Bluetooth wraps bluetoothctl. Audio wraps wpctl. Monitor layout uses xrandr. Media keys use playerctl. Radio uses a separate path through mpv. Notifications are handled by dunst and controlled with dunstctl. Screenshots use maim and xclip. Clipboard history is CopyQ without a tray icon. The status bar is i3blocks with shell scripts behind each block.
This gives me menus and shortcuts for normal use. It keeps the underlying implementation boring and inspectable.
If something breaks, I can run the command in a terminal. If I forget a shortcut, there is a searchable cheat sheet. If a menu is missing rofi, most scripts fall back to dmenu. If a service is not installed, the scripts tell me instead of failing silently.
The shape of the desktop
The i3 config starts a curated session. It does not try to recreate GNOME autostart. It sets the environment, applies the theme, and starts the wallpaper, dunst, CopyQ, picom, xss-lock, monitor layout, keyboard layout, and a low battery monitor.
The main entry point is a rofi control centre on Mod+u. From there, I can access applications, windows, the terminal, wallpapers, keybinding help, notes, media, and radio. I can also control monitors, keyboards, audio, networks, Bluetooth, the clipboard, notifications, screenshots, the timer, power, locking, and i3 reload.
Most of these have direct keybindings. The control centre is not a dashboard. It is one obvious place to look.
The bar sits at the top and uses i3blocks. It shows only what is useful: notification state, network, battery, disk, memory, CPU, load, media, radio, volume, Pomodoro, and time. Several blocks are clickable. Clicking the network block opens the network menu. Clicking the volume block opens audio controls or changes volume with scroll. Media and radio blocks appear only when there is something useful to show.
The whole thing is themed around Catppuccin Frappe with a mauve accent. This applies to i3, rofi, kitty, qutebrowser chrome, dunst, i3blocks, the lock screen, and the GTK/Qt environment. Consistent colours make the system feel like one desktop rather than ten unrelated tools.
What changed
The biggest change is that the desktop now has its own behaviour.
The scratchpad terminal opens in the working directory of the focused terminal when possible. Notes are Markdown files under ~/.local/share/notes. They include daily notes, quick capture, search, recent notes, and a scratch file. Radio stations live in a local-only TSV file. Radio playback has its own status block. Media keys work for normal MPRIS players. They also step through radio playlists when radio is the active context.
Monitor layout has modes for laptop, external, docked, extended, and mirrored displays. There is also a scaling menu because mixed displays always need adjustment. Keyboard layout switching remembers whether I am using the UK laptop keyboard or a US external keyboard. Audio, network, and Bluetooth each have menus built around the command-line tools I would otherwise use manually.
Locking is intentionally plain. A fast solid-colour i3lock is enough. Before locking, suspending, logging out, rebooting, or shutting down, playback stops so I do not leave audio running. xss-lock handles locking before suspend. The low-battery monitor warns, escalates, and eventually locks and suspends if the battery gets too low.
What this series covers
This series is a tour of the pieces that make the setup feel like a complete desktop:
- the curated i3 session and autostart
- the launcher, control centre, and searchable keybinding help
- the i3blocks status bar
- media controls and internet radio
- clipboard history, notifications, and screenshots
- monitor, keyboard, network, Bluetooth, and audio menus
- Markdown notes and the scratchpad terminal
- theming across apps
- the visual wallpaper picker and its saved state
- power, lock, suspend, and battery behaviour
- the Pomodoro timer in the bar
The common thread is simple: use small scripts to make common actions quick. Keep the system built from tools I can understand.
I do not want the desktop to be impressive. I want it to stay out of the way, tell me what is happening, and make the common paths easy.