- Shell 98.3%
- CSS 1.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| config | ||
| install.sh | ||
| LICENSE | ||
| QUICKSTART.md | ||
| README.md | ||
| screenshot.png | ||
🪟 openbox-classic
Openbox the classic way, for Debian: a panel along the bottom, a right-click menu, rofi, and a theme switcher, with rc.xml edited by hand. No quickshell, so it stays light.
Part of the JustAGuy Linux window manager collection and the Butterbian family. butterknife's openbox choice installs butterbox, the full one; openbox-classic installs with the command below.
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 | openbox-classic — the light one 📍 you are here |
|---|---|
![]() |
![]() |
| 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.
🚀 Installation
git clone https://justaguy.dev/butter/openbox-classic.git
cd openbox-classic
chmod +x install.sh
./install.sh
⚠️ XLibre users: This script installs
xorgas part of its core packages, which will replace XLibre if you've installed it. RemovexorgfromPACKAGES_COREininstall.shbefore running, or use--only-configto skip package installation entirely.
This assumes a fresh Debian or Debian-based install with sudo access.
After install, it's yours. openbox-classic is a starting point, not a setup that updates itself: change anything in ~/.config/openbox as you like. Running ./install.sh again replaces that folder; answer y at the prompt to keep the old one as ~/.config/openbox.bak.<number>, then copy your changes and any wallpapers you added back from it. The theme, display scale, panel layout and right-click menu are kept either way.
📦 What It Installs
| Component | Purpose |
|---|---|
openbox |
Lightweight window manager |
picom (yshui) |
Compositor: shadows, corners, fades |
xfce4-panel |
Bottom panel: menu, workspaces, dock, tray, volume, clock |
xfce4-settings |
Settings daemon (GTK theme, fonts, scale, cursor), Displays and Appearance |
kitty |
Terminal emulator (default) |
thunar + plugins |
File manager |
firefox-esr |
Default web browser |
| Geany 2.1 (butterrepo) | Editor, with the butterscripts config |
dunst |
Notifications |
rofi |
App launcher, theme picker, power menu, keybind help |
nala |
Better apt frontend |
fastfetch |
System info utility |
pipewire |
Audio handling |
flameshot, |
Screenshot tools |
micro |
Terminal text editor |
redshift |
Night light |
butterview |
Image viewer |
fzf, etc. |
Utilities & enhancements |
jgmenu |
Right-click menu: your entries, app categories, roomy and themed |
obconf |
Openbox settings: window theme, fonts, desktops, margins |
| GTK & icon themes | Cohesive look and feel |
📄 Need help with Geany? See the full guide at justaguylinux.com/documentation/software/geany
🎨 Appearance & Theming
Super + Shift + t opens the theme switcher: 15 themes (aura, butterbox, catppuccin, dracula, eldritch, everforest, github_dark, gruvbox, kanagawa, monokai, moonfly, nord, retro, rose_pine, tokyo_night). A pick recolors rofi, dunst, the panel and the openbox window theme, and switches the GTK and icon themes, kitty's colors and the wallpaper. Each theme is a folder in ~/.config/openbox/themes/.
- Openbox Theme:
Butterbox, a flat header bar the theme switcher writes from each theme's colors - GTK Theme: Orchis
- Icon Theme: Colloid
💡 Special thanks to vinceliuice for the excellent GTK and icon themes.
🔑 Keybindings Overview
| Shortcut | Action |
|---|---|
Super + Return |
Launch terminal (kitty) |
Super + Space |
App launcher; :g words searches Google |
Super + / |
Open keybind help via Rofi |
Super + Shift + t |
Theme switcher |
Super + Shift + d |
Window decorations on / off |
Super + Arrow Keys |
Snap window to side/center |
Super + 1-4 |
Switch to desktop 1-4 |
Super + Shift + 1-4 |
Move window to desktop 1-4 |
Super + = |
Two windows side by side |
Super + s |
Screenshot (fullscreen) |
Super + Shift + s |
Screenshot (region select) |
XF86Audio* |
Multimedia key support |
Keybindings are defined in:
~/.config/openbox/rc.xml~/.config/openbox/scripts/help(invoked bySuper + /)
📂 Configuration Files
~/.config/openbox/
├── rc.xml # Main Openbox configuration
├── autostart # Startup applications
├── environment # Session environment variables
├── menu.xml # openbox's own root menu (a fallback; right-click runs jgmenu)
├── wallpaper/ # Default and user wallpapers
├── dunst/ # Notification config
│ └── dunstrc
├── picom/ # Compositor configuration
│ └── picom.conf
├── themes/ # The theme switcher's themes + the window theme template
├── xfce4-panel/ # The panel's shipped layout and look (gtk.css block)
├── rofi/ # The rofi menus, sharing one look
│ ├── shared.rasi # the common style
│ ├── colors.rasi # written by the theme switcher
│ ├── launcher.rasi # Super + Space and the panel's menu button (Pat's strip: `enabled: false` hides it)
│ ├── themes.rasi # theme switcher
│ ├── power.rasi
│ └── keybinds.rasi
├── scripts/ # Helper tools
│ ├── changevolume
│ ├── launcher # the app launcher (categories above the apps)
│ ├── power
│ ├── help
│ └── thememenu
~/.config/jgmenu/
├── jgmenurc # The right-click menu's look (colors set by the theme switcher)
├── prepend.csv # Entries above the app categories
└── append.csv # Entries below them (Advanced Settings, Power, Exit)
~/.config/openbox/kitty/ # kitty's config for this session (KITTY_CONFIG_DIRECTORY, set in
├── kitty.conf # ~/.config/openbox/environment); ~/.config/kitty is left alone
└── themes/ # Aura and Butterbox, which kitty's own collection lacks
🔍 Display Scale (HiDPI / 4K)
Right-click the desktop → Advanced Settings → Display Scale picks 100, 125, 150, 175 or 200%. The installer doesn't ask: a fresh install starts at 100%, and an update keeps the one picked.
One choice reaches every part of the session:
- GTK apps and the panel, fonts in X apps (kitty), and the cursor: through
XFCE's settings daemon (
xfsettingsd), which applies it to running apps - notifications: dunst's own
scale - openbox's title bars and menus, jgmenu and the rofi menus, which have no
scale of their own: their sizes are multiplied in their files, which note
the scale they're at (
openbox-classic scale: 150)
200% is whole-step scaling (sharp); the steps between grow the fonts and sizes instead. X11 has one scale for the whole session, so a 200% laptop with a 1080p monitor plugged in is big on the monitor too.
Monitor layout (resolution, position, rotation, saved profiles) is Advanced Settings → Displays, XFCE's display settings; the settings daemon applies it at login and when a screen is plugged in. Its own Scale stays at 1.0: that one stretches the whole picture (blurry, and above 1.0 it makes things smaller); Display Scale is the sharp one. Likewise leave Appearance's Window Scaling to Display Scale, which sets it.
🧠 Notes
- The right-click menu is jgmenu: apps by category from the installed
.desktopfiles, plus your own entries in~/.config/jgmenu/prepend.csvandappend.csv - The panel's layout lives in xfconf (
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml); the installer seeds it only when there is none, so an XFCE desktop on the same account keeps its own - Its look is a marked block in
~/.config/gtk-3.0/gtk.css; the rest of that file is yours - Wallpapers are stored in
~/.config/openbox/wallpaper/ - You can launch a keybind viewer anytime with
Super + / - On first login, a welcome notification points to
~/QUICKSTART-openbox.md— a short cheat sheet you can delete when you're comfortable
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 for details.
Made with 🧈 by JustAGuyLinux



