Openbox is minimalistic, highly configurable, next generation window
manager with extensive standards support.
You can start Openbox in three ways:
If you run a display manager such as GDM, you will find 3 entries
in the login session type menu for Openbox:
GNOME/Openbox, KDE/Openbox and Openbox. If you want to use Openbox
within GNOME or KDE, you can choose the appropriate entry, and it will
launch GNOME or KDE with Openbox as the window manager.
The third option at log in, which is Openbox without a session manager, uses the openbox-session command to start Openbox. On log in, openbox will
run the ~/.config/openbox/autostart.sh script if it exists, and will run
the system-wide script /usr/local/etc/xdg/openbox/autostart.sh otherwise. You
may place anything you want to run automatically in those files, for
xsetroot -solid grey &
Make sure that each line is followed by a "&" or else the script will
stop there and further commands will not be executed. You can use the
/usr/local/etc/xdg/openbox/autostart.sh file as an example for creating your
The default /usr/local/etc/xdg/openbox/autostart.sh runs a number of things
Lastly, if you use startx to launch your X
session, you can set up a ~/.xinitrc file to run
openbox-session and follow the same directions as
above regarding the autostart.sh file.
You can use the obconf tool to configure Openbox
easily with a graphical interface, however more in-depth configuration
is possible by editing the configuration files by hand.
The default configuration and menu files are installed in
/usr/local/etc/xdg/openbox/, and the user configuration is placed in
~/.config/openbox/. You can copy the default configuration and menus
to ~/.config/openbox and edit it to your liking.