TranslateProject/sources/tech/20140910 How To Recover Default Openbox Config Files On Crunchbang.md
2014-09-10 11:13:07 +08:00

2.0 KiB
Raw Blame History

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.

Which removed every code from the menu configuration file. Since I wasnt having a backup (Its good to backup config files too) I have to search for the default configuration that comes with Crunchbang out of the box. And heres 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:

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

Then restart openbox.

openbox --restart

via: http://www.unixmen.com/recover-default-openbox-config-files-crunchbang/

作者:Enock Seth Nyamador 译者:译者ID 校对:校对者ID

本文由 LCTT 原创翻译,Linux中国 荣誉推出