4.5 KiB
4.5 KiB
ANODE — A Nicely Optimized Desktop Environment
ANODE is a lightweight, keyboard-first X11 desktop environment for Linux, FreeBSD, OpenBSD, and NetBSD. It brings together a customized tiling window manager, unified dark/light theming, fractional DPI scaling across toolkits, and built-in everyday system controls with minimal overhead.
What's included
- Window manager, launcher & terminal: A customized
dwmsetup with workspace layouts, a clickable status bar, and an XEmbed system tray, paired withdmenu, theanode-launcherdesktop/Flatpak app menu, and thestterminal featuringFira Codeligatures. - Unified themes & fonts: 22 built-in themes (
data/themes/*.xth) synced across ANODE, GTK 2/3/4, Qt 5/6, Electron/Chromium apps, Tk (gtkTtk), and Dunst notifications — keeping ANODE tools and monospace slots onFira Codewhile giving third-party appsRoboto(orNoto Sanswhen unavailable). - Fractional DPI scaling: Scale cleanly from
0.50xto4.00x(orautofrom monitor EDID/DPI) across X11, fonts, cursors, GTK, Qt, and Electron/Chromium without double-scaling. - Built-in desktop utilities: Fast native panels for power & control center (
anode-power), Wi-Fi/Bluetooth/DNS (anode-net), audio (anode-audio), displays & scaling (anode-display), date & timezone (anode-datetime), themes (anode-themes), screen locking (anode-lock), multimedia keys (anode-media-key), and an optional touch keyboard (anode-vkbd) with edge-swipe gestures (anode-touchd). - Session autostart & live switching: Familiar i3-style autostart config (
~/.config/anode/autostart), session profiles, XDG autostart entries, and safe session switching viaanode-replace.
Build & install
make
sudo make XSESSIONSDIR=/usr/share/xsessions install
- Pass
PREFIX=/opt/anode,CC=clang, orWITH_GTKTTK=1to customize the build (WITH_GTKTTK=autois enabled by default). - Omit
XSESSIONSDIR=...if you launch from~/.xinitrc(exec /usr/local/bin/anode-session) instead of a system display manager like LightDM. - To switch from an existing X11 session, run
anode-replace(oranode-replace --switch-sessionunder a display manager). Pass--profile NAMEtoanode-sessionoranode-replaceto enable profile-specific autostart rules.
Everyday shortcuts & commands
Default modifier key is Super (Mod4).
| Shortcut | Action |
|---|---|
Super + Return |
Open terminal (st) |
Super + p / Super + Space |
Open application & Flatpak launcher (anode-launcher) |
Super + c |
Open control center & power (anode-power) |
Super + d |
Open display & scaling settings (anode-display) |
Super + t |
Open theme & font switcher (anode-themes) |
Super + n |
Open network, Wi-Fi & Bluetooth settings (anode-net) |
Super + a |
Open audio mixer & profiles (anode-audio) |
Super + Shift + l |
Lock screen (anode-lock) |
Super + Shift + r |
Reload .Xresources, theme, scale, and exec_always autostart entries |
Themes and display scaling can also be changed from the command line:
anode-apply-theme LynxLair
anode-apply-scale 1.50
See docs/KEYBINDINGS.md for all window management bindings, media keys, and touchscreen edge gestures.
Dependencies
- Build-time: POSIX
make, C compiler (cc),pkg-config, X11 headers (x11,xext,xft,xinerama,xrandr,xfixes,xi,xtst, optionallyxscrnsaver),fontconfig,freetype2,harfbuzz,cairo,pango,pangoxft,pangocairo, andlibcrypt. Optional forgtkTtk: C++ compiler,gtk+-2.0,tcl,tk, and Tk privatettkTheme.h. - Runtime (optional tools auto-detected):
xrdb,xprop,xrandr,xsettingsd,fc-list,gsettings,dunst,notify-send,scrot/import/maim,wpctl/pactl/amixer/sndioctl,nmcli/wpa_cli,bluetoothctl,playerctl/mpc,chronyc,doas/sudo/pkexec, plus Fira Code, Roboto (or Noto Sans), and DejaVuSansM Nerd Font.
Documentation & tests
- Keybindings & touch gestures — full shortcut and swipe reference.
- Session management & status bar —
anode-replace, display manager handoff, and status bar layout. - Session autostart —
exec/exec_once/exec_always, profiles, and XDG autostart. - Architecture — component map, DPI scaling math, and X11 implementation details.
Run the test suite (uses Python 3 and Xvfb for X11 integration checks):
make test