We have chosen to edit the tint2rc file and try to figure out some of the settings. This can be quite challenging.
It is better to use the tint2conf and change the settings one by one and check what changed.
This is a tutorial to give you tips so you do not make the same mistakes I made.
Openbox configuration files
Openbox autostart file will be started at boot.
Put all and any application in here you want to start at bootup e.g. bluetooth is not included here.
Details about the lines are in the tutorial.
menu.xml is the file that is generated with obmenu-generator.
rc.xml is the file for our openbox settings and the keyboard settings.
The obkey application will make it easier to edit your keyboard shortcuts.
More about custom keyboard shortcuts in the next topic.
The application “Obkey” will give you a graphical way to add keyboard shortcuts. You can edit them manually in ~/.config/openbox/rc.xml.
Important keyboard shortcuts.
Super + spacebar – activate openbox menu
Shift + Super + Pause/Break – quit openbox
Shift + Super + Q will close any focused application
Super + D will open an extra menu – dmenu
Super + F11 – reconfigure openbox
Super + Shift + R – reconfigure openbox
Ctrl + Alt + T – Gnome-terminal
Super + Return – Gnome-terminal
Ctrl + Alt + B – Nemo
Super + Shift + Return – Nemo
Ctrl +Alt + N – nemo –quit
Ctrl + Alt + F – Firefox
Ctrl + Alt + G – Gimp
Ctrl + Alt + I – inkscape
Ctrl + Alt + w – sublime text
Ctrl + Alt + S – spotify
Ctrl + Alt + c – catfish
Super key and keypad numbers will move your windows around and tile it automatically.
Super + Shift + arrow down will unmaximize the window
Super + arrows will move your window around
Super + F will toggle between maximize full
Super + Shift + D will toggle show desktop
Super + L will log you out of this session
Super + Shift + Q will xkill any application
Shift + Control + Escape will give you gnome-system-monitor
Print will give you a scrot or screenshot
Ctrl + Print will engage an active dialog with gnome-screenshot
Super + F1 – Firefox
Super + F2 – Sublime text
Super + F3 – Inkscape
Super + F4 – Gimp
Super + F5 – Meld
Super + F6 – Vlc
Super + F7 – VirtualBox
Super + F8 – Nemo
Super + F9 – Evolution
Super + F10 – Spotify
Alt + n or arrow right – next variety wallpaper
Alt + p or arrow left – previous variety wallpaper
Alt + f – favorite variety wallpaper
Alt + t – trash variety wallpaper
Alt + arrow up – pause variety wallpaper
Alt + arrow down – resume variety wallpaper
Keyboard shortcuts explored
Obkey is the gui way to take a look at the possible shortcuts. The gui writes this information back to ~/.config/openbox/rc.xml.
You can make your own keyboard shortcuts like ctrl+alt+t to activate a terminal of your choice and many others.
Follow the tutorial to know more.
Compton to make openbox sexy
Compton is already installed via the installation of Antergos. The compton file is already installed in ~/.config/compton.conf.
BUT the configuration of this file does matter. You can set the following features in this file.
- exclude shadows on some of them like a conky
- opacity of menu’s
- inactive applications become transparent
- frame opacity
- active applications become tranparent
- dim inactive windows
- fading of menu’s, applications, …
We will copy/paste the compton.conf file from the github.
Change the look
Let us change the theme, icons, cursors, fonts, …
Openbox configurator and lxappearance explained
You can change the font and the font size in openbox as well. There are different places to change it.
The smaller font size of the menu was for me an issue.
Fonts can be changed for
- active window title
- inactive window title
- menu header
- menu item
- active-on-screen display
- inactive-on-screen display
We will add the shade (roll up) in the meantime.
Tip: how to make a keyboard shortcut – skip to 6:24
Installing software just for Openbox
At the beginning we installed a lot of software to be able to have a complete desktop experience.
This is the list of all the software I installed (or reinstalled) for openbox.
Obmenu is a gui tool to edit ~/.config/openbox/menu.xml
Notify-osd is a notification daemon.
Obconf is the openbox configuration manager.
Lxappearance is the tool to change themes, icons and cursors.
Lxrandr a tool to set your display.
Obkey will be our editor for all the keyboard shortcuts.
Ob-autostart is a simple autostart application for Openbox.
Nitrogen is for wallpapers.
Feh is necessary for variety to work.
Menumaker is obviously a menu maker. Check here for more info.
Obmenu-generator is the one that will create my menu from now on. You can set your parameters and variables in these two files :
Help is on the way with these commands.
obmenu-generator -p -i
obmenu-generator -s -c
Gmrun is a way to run commands or start applications.
Archlinux-xdg-menu is an other way to make a menu as described here.
Xfce4-panel is an other way to give you a panel. It can serve as a replacement for tint2.
Compton is used to achieve shadow and transparency.
Dmenu is an other way to have a menu coming from i3.
Lxinput is to set your mouse and keyboard.
Playerctl is a tool to control your sound buttons.
Openbox-themes are themes made just for openbox.
Tip : More information available at …
If you still need more information about Openbox then may be you could check out the article about installing openbox on Antergos.
If you still need more information about Openbox then may be you could check out the article about installing openbox on Archlinux.