Desktop guides

bspwm

bspwm desktop available in ZelixOS 1.0.2
The ZelixOS bspwm session combines an X11 tiling workflow with a lightweight desktop setup.

bspwm

bspwm is an X11 tiling window manager controlled through bspc. Its startup script is usually ~/.config/bspwm/bspwmrc. Keyboard shortcuts are handled separately by sxhkd, commonly configured in ~/.config/sxhkd/sxhkdrc. A desktop with no working shortcuts may simply have an inactive sxhkd process.

Useful checks: bspc query -M lists monitors. Check pgrep -a sxhkd when shortcuts fail. After editing the startup script, bspc wm -r restarts bspwm; save work first and keep a terminal open.

pgrep -a sxhkd
bspc query -M

bspwm documentation

ZelixOS setup

ZelixOS adds border, gap and feh wallpaper commands to ~/.config/bspwm/bspwmrc. Back up the script before editing, and keep it executable. The window manager and sxhkd are separate processes; inspect ~/.config/sxhkd/sxhkdrc for your actual bindings.

Everyday workflow

Desktops, nodes and window states

bspwm represents monitors, desktops, and windows as a tree that bspc queries and changes. Review the installed sxhkd bindings for desktop selection, window movement, focus, preselection, floating, fullscreen, and pseudo-tiled states. Learn the existing commands before adding new shortcuts so two actions do not compete for the same key combination.

Keep sxhkd and bspwm separate

bspwm manages windows; sxhkd listens for keyboard shortcuts. When windows still tile but shortcuts stop, check pgrep -a sxhkd and inspect ~/.config/sxhkd/sxhkdrc before restarting bspwm. A syntax error or missing command in sxhkd can affect one binding while the window manager itself remains healthy.

Startup, monitors and safe recovery

The executable bspwmrc starts monitor, desktop, border, gap, wallpaper, and helper commands. Confirm monitor names with bspc query -M --names before changing desktop assignments. Back up both bspwmrc and sxhkdrc, edit one component at a time, and keep a terminal open before running bspc wm -r.