LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

openbox

lightweight, highly configurable window manager

TLDR

Start Openbox
$ openbox
copy
Start as session manager
$ openbox-session
copy
Reconfigure without restart
$ openbox --reconfigure
copy
Restart Openbox
$ openbox --restart
copy
Exit Openbox
$ openbox --exit
copy
Replace the currently running window manager
$ openbox --replace
copy

SYNOPSIS

openbox [options]

DESCRIPTION

Openbox is a lightweight, highly configurable window manager. It's known for its minimal resource usage, standards compliance, and extensive customization through XML configuration.Openbox can run standalone or as the window manager for desktop environments like LXDE.

PARAMETERS

--reconfigure

Reload configuration.
--restart
Restart Openbox.
--replace
Replace running WM.
--exit
Exit the running Openbox instance.
--config-file file
Specify the path to the configuration file to use.
--sm-disable
Do not connect to the session manager.
--startup cmd
Run the specified command after startup.
--debug
Display debugging output.
--debug-focus
Display debugging output for focus handling.
--version
Show the version and exit.
--help
Show command line options summary and exit.

CONFIGURATION FILES

$ ~/.config/openbox/
├── rc.xml        # Main config
├── menu.xml      # Right-click menu
├── autostart     # Startup applications
└── environment   # Environment variables
copy

KEY BINDINGS EXAMPLE

$ <!-- rc.xml -->
<keybind key="A-Tab">
  <action name="NextWindow"/>
</keybind>
copy

CAVEATS

No built-in panel or taskbar. Requires manual configuration. Use with panel (tint2, polybar) for full desktop.

HISTORY

Openbox was originally a fork of Blackbox, rewritten by Dana Jansens starting in 2002 to provide a modern, standards-compliant window manager.

SEE ALSO

i3(1), polybar(1), feh(1), nitrogen(1)

Copied to clipboard
Kai