How to Theme Openbox
The following section is intended for users who have configured Openbox to run as a standalone desktop, without the assistance of GNOME, KDE or Xfce.
Openbox Themes
Openbox themes control the appearance of window borders, including the titlebar and titlebar buttons. They also determine the appearance of the application menu and on-screen display (OSD).
Additional themes are available from the standard repositories:
pacman -S openbox-themes or apt-get install openbox-themes, etc
This package is by no means definitive. You can download more themes at websites such as:
Downloaded themes should be extracted to ~/.themes and can be installed or selected with the ObConf tool which can be downloaded from your repositories as well
Desktop Wallpaper
Openbox itself does not include a way to change the wallpaper. This can be done easily with programs like Feh or Nitrogen. Other options include ImageMagick, hsetroot and xsetbg.
example: feh –bg-scale /home/user/wallpaper.jpg
You can add this line in your ~/.config/openbox/autostart.sh file as well to make it load each time you log in.
GTK Themes
GTK+ themes can be managed easily with the lxappearance, gtk-chtheme, or switch2 utilities. To install, run:
sudo apt-get install gtk-ctheme
Now you can simply run lxappearance, gtk-chtheme or switch2 to set the desired theme.
GTK Fonts
Manually edit the config file
If you want to change the type and size of your fonts, add the following to ~/.gtkrc-2.0 :
style "user-font"
{
font_name = "[font-name] [size]"
}
widget_class "*" style "user-font"
gtk-font-name = "[font-name] [size]"
where [font-name] [size] is the desired font and point size. For example:
style "user-font"
{
font_name = "DejaVu Sans 8"
}
widget_class "*" style "user-font"
gtk-font-name = "DejaVu Sans 8"
Both font_name and gtk-font-name fields are required for backwards compatibility.
Use GUI tools
You can use gtk-chtheme or lxappearance to set GTK font settings. Please refer to the above section.
GTK Icons
First, extract the desired icon theme to /usr/share/icons (system-wide access) or ~/.icons (local user access), then:
Manually edit the config file
Add the following to ~/.gtkrc-2.0:
gtk-icon-theme-name = "[name-of-icon-theme]"
where [name-of-icon-theme] is the name of the icon theme directory. For example:
gtk-icon-theme-name = "Tango"
Ensure ~/.gtkrc-2.0 is configured to parse ~/.gtkrc.mine:
# ~/.gtkrc-2.0 # -- THEME AUTO-WRITTEN DO NOT EDIT include "/usr/share/themes/Rezlooks-Gilouche/gtk-2.0/gtkrc" include "/home/username/.gtkrc.mine" # -- THEME AUTO-WRITTEN DO NOT EDIT
Use GUI tools
You can use lxappearance to choose GTK icon themes. Please refer to the above section.
Mouse cursor themes
Extract the desired Xcursor theme to either /usr/share/icons (system-wide access) or ~/.icons (local user access).
Add this to ~/.Xdefaults:
Xcursor.theme: [name-of-cursor-theme]
where [name-of-cursor-theme] is the name of the cursor theme directory. For example:
Xcursor.theme: Vanilla-DMZ-AA
To change the size:
Xcursor.size: [size]







