How To Recover Default Openbox Config Files On Crunchbang

CrunchBang is a Debian GNU/Linux based distribution offering a great blend of speed, style and substance. Using the nimble Openbox window manager, it is highly customizable and provides a modern, full-featured GNU/Linux system without sacrificing performance.

As Crunchbang is highly customizable, users tweak it to their liking as much as they can. All this is done via text files (config). As a “Crunchbanger” myself, I recently messed up with my menu.xml config file, which is responsible for the menu shown below.

curnchbang_menu_xml

Which removed every code from the menu configuration file. Since I wasn’t having a backup (It’s good to backup config files too) I have to search for the default configuration that comes with Crunchbang out of the box. And here’s how I got it fixed thanks to Crunchbang forums.

It is very interesting to know all default configs were pre-backed up for you and can be found at

/etc/skel/.config/

So for any default config you just copy them over and restart the appropriate application.

I will use Openbox menu.xml as an example here:

curnchbang_menu_xml_etc

cp -r /etc/skel/.config/openbox/menu.xml ~/.config/openbox/menu.xml

Then restart openbox.

openbox --restart