[Translated] 20140910 How To Recover Default Openbox Config Files On Crunchbang

This commit is contained in:
zhengsihua 2014-09-13 12:37:19 +08:00
parent 1d0c281440
commit fb73ec5dbd
2 changed files with 38 additions and 41 deletions

View File

@ -1,41 +0,0 @@
Translating------------geekpi
How To Recover Default Openbox Config Files On Crunchbang
================================================================================
[CrunchBang][1] 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.
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/09/curnchbang_menu_xml.png)
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:
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/09/curnchbang_menu_xml_etc.png)
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][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://www.unixmen.com/author/seth/
[1]:http://crunchbang.org/

View File

@ -0,0 +1,38 @@
如何在Crunchbang下回复Openbox的默认配置
================================================================================
[CrunchBang][1]是一个很好地融合了速度、风格和内容的基于Debian GNU/Linux的发行版。使用了灵活的Openbox窗口管理器高度定制化并且提供了一个现代、全功能的GNU/Linux系统而没有牺牲性能。
Crunchbang是高度自定义的用户可以尽情地地把它调整成他们想要的样子。这一切都通过文本文件配置。我作为一个Crunchbang用户我最近搞乱了我的**menu.xml**配置文件,它负责下面的菜单显示。
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/09/curnchbang_menu_xml.png)
其中从菜单配置文件中去除了所有代码。由于我没有备份最好备份配置文件。我不得不搜索Crunchbang开箱即用的默认配置。这里就是我如何修复的过程要感谢Crunchbang论坛。
了解所有为你预备份的默认配置是很有趣的,你可以在这里找到:
/etc/skel/.config/
因此对于任何默认配置,你只需复制他们并重启适当的程序。
我在这里使用Openbox的**menu.xml**作为示例:
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/09/curnchbang_menu_xml_etc.png)
cp -r /etc/skel/.config/openbox/menu.xml ~/.config/openbox/menu.xml
接着重启openbox。
openbox --restart
--------------------------------------------------------------------------------
via: http://www.unixmen.com/recover-default-openbox-config-files-crunchbang/
作者:[Enock Seth Nyamador][a]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://www.unixmen.com/author/seth/
[1]:http://crunchbang.org/