- QML 76.5%
- Shell 22.5%
- C 0.8%
- Awk 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| config | ||
| themes/Wallpaper-Openbox/openbox-3 | ||
| tools | ||
| CHANGES.md | ||
| CONTRIBUTING.md | ||
| install.sh | ||
| LICENSE | ||
| QUICKSTART.md | ||
| README.md | ||
| screenshot.png | ||
🧇 butterbox
Openbox at the core, a quickshell bar on top, for Debian-based systems. A floating window manager with a settings panel, two plain files for keybinds and window rules, and a desktop that re-themes itself from the wallpaper, titlebars included.
Two ways to run openbox
Both are openbox on Debian, as two projects, each with its own installer. Pick by what you want on top.
| butterbox — the full one 📍 you are here | openbox-classic — the light one |
|---|---|
![]() |
![]() |
| A quickshell bar and a settings panel; colors generated from any wallpaper; keybinds and rules in two plain files | A styled XFCE panel and dock, rofi menus, a theme switcher with 15 themes, rc.xml edited by hand; no quickshell |
| About 260 MiB idle | About 150 MiB idle |
git clone https://justaguy.dev/butter/openbox.git |
git clone https://justaguy.dev/butter/openbox-classic.git |
| Wiki · README | README · QUICKSTART |
Both write ~/.config/openbox, so one account runs one of them at a time. Idle
memory is the whole session, freshly booted, with nothing open.
📚 The documentation is the wiki. This README gets you installed and tells you the four things to know. Everything else, keybinds, the settings panel, scratchpads, theming, multi-monitor, upgrading, troubleshooting, lives there.
📝 Recent changes:
CHANGES.md.
Starting from a bare machine? butterknife installs Debian 13 with this setup picked from a menu. Part of the JustAGuy Linux window manager collection and the Butterbian family. Formerly openbox-setup; the old URL redirects.
INSTALL
git clone https://justaguy.dev/butter/openbox.git
cd openbox
./install.sh
./install.sh [OPTIONS]
--only-config Config files only (for non-Debian distros, at your own risk);
on Debian it also installs packages added to the list since,
one at a time, never removing anything
--help Show usage
The installer refreshes apt lists, installs the packages (see the wiki's Packages page), copies the config, generates rc.xml's keybinds and rules from the two files, builds winshot for the window switcher's thumbnails, and pulls kitty, Nerd Fonts, the GTK theme and LightDM through butterscripts. It ends with an optional tools prompt. No system upgrade; run sudo apt upgrade yourself.
⚠️ XLibre users: the package list includes
xorg, which replaces XLibre. Remove it fromPACKAGESininstall.shfirst, or use--only-config.
🪵 Branches:
mainis the release,devis where work lands. The lighter one above is its own project, openbox-classic.
Other distributions: install the equivalent packages yourself, then ./install.sh --only-config. Unsupported, but it works.
FOUR THINGS TO KNOW
-
Super + /opens the settings panel. Keybinds, window rules and scratchpads, desktops and focus, picom's effects, bar layout, wallpapers and displays, all in one place with vertical tabs. Most things you would edit a file for are a click here. -
Two files hold your configuration.
~/.config/openbox/keybinds.confis every keybinding, openbox actions and launchers alike, one line each.rules.confis every window rule and scratchpad. Edit them in the panel or in an editor; the generators turn them into rc.xml and refuse a bad line rather than taking the key table down. -
Super + Escapeapplies. It rewrites the generated blocks of rc.xml and reconfigures openbox in place. Your windows and desktops survive. No logout, no sudo, no build. -
Updating is a menu entry.
Super + m, then Update setup: it pulls the clone you installed from and reinstalls in place, the way dpkg treats a conffile. A file you edited stays as it is; if the shipped version changed too, the new one lands beside yours as.newand the installer says so, once. The setup's own files are replaced, your settings and colors are left alone. Nothing checks on its own. Upgrading has the rule.
Everything else is on the wiki: Keybinds · Scratchpads · Settings panel · Customization · Themes · Multi-Monitor · Upgrading · Troubleshooting (HiDPI lives here too)
WHY OPENBOX, AND WHY THIS BAR
Openbox is the floating window manager that stays out of the way: windows go where you put them, it reads one file, and it is under 10 MB of memory. It also has no bar, no scratchpads and an XML config that is fine for a machine and tiresome for a person. butterbox keeps openbox exactly that light and adds the parts around it: snap keys for a floating layout, scratchpads done with xdotool, a line-per-bind file generated into the XML openbox wants, and a window theme generated from the wallpaper so the titlebars always match.
The bar is quickshell: desktops with live occupancy, a launcher and window switcher with thumbnails, an SNI tray, now-playing, weather, volume, network, calendar, the settings panel, and wallpaper-driven theming that recolors the whole desktop without a restart. The same bar ships with butterdwm and mangobutter, so it is maintained once. Under openbox it needs no patch: a dock strut for the panel, EWMH for state.
The trade. The bar is Qt/QML and is most of the session's footprint. Measured idle on one machine with two 1080p monitors (Xorg not counted), a butterbox session uses about 275 MB and an XFCE session about 165 MB; the bar alone is about 200 MB of it. CPU drawing in the settings panel's Bar tab keeps the GPU driver out of the bar and brings the session to about 205 MB, for a little CPU per frame. Without the bar you would have a 10 MB window manager and no desktop. That is the trade, and it is deliberate. The reasoning is on the wiki's Architecture page.
WHAT'S IN THE BOX
| Component | Job |
|---|---|
| openbox | Floating window manager, 12 desktops, header-bar window theme |
| quickshell bar | Desktops, launcher and window switcher, tray, media, network, weather, power, settings panel |
| Wallpaper theming | Pick a wallpaper and the titlebars, menu, bar, terminal and GTK re-theme from it |
| jgmenu | The right-click menu: your entries plus the installed apps by category, in the wallpaper's colors |
| kitty | Terminal, with a session-local config the theming recolors |
| picom | Compositor: shadows, fades, rounded corners, unfocused dimming |
| dunst | Notifications |
Support
Connect
- YouTube — tutorials and guides
- Butterforge — source code and projects
- Butter desktops — ready-to-use window manager desktops for Debian
- The Butter Lab — Discourse forum
- The Churn — community chat (Fluxer)
- Wiki — documentation and guides
- Mastodon — @justaguylinux@fosstodon.org
- Butterbian — a maintained Debian derivative built on Debian stable
License
GPL-2.0. See LICENSE.
Made with 🧈 by JustAGuyLinux



