Translated:20140922 Reset Unity and Compiz Settings in Ubuntu 14.04.md

This commit is contained in:
GOLinux 2014-09-23 08:57:13 +08:00
parent 9b99129e99
commit 8281556f71
2 changed files with 41 additions and 42 deletions

View File

@ -1,42 +0,0 @@
Translating by GOLinux ...
Reset Unity and Compiz Settings in Ubuntu 14.04 [Quick Tip]
================================================================================
If you keep experimenting with your Ubuntu system you might end up with a messed up Unity and Compiz settings. In this quick tip we shall see how to reset Unity and Compiz settings in Ubuntu 14.04. In fact it is all about running a couple of commands.
### Reset Unity and Compiz settings in Ubuntu 14.04 ###
Open a terminal (Ctrl+Alt+T) and use the following command to reset compiz:
dconf reset -f /org/compiz/
When you have reset compiz, restart Unity:
setsid unity
Optionally, if you want to reset Unity to the default launcher icons, try the command below:
unity --reset-icons
### Possible troubleshoot: ###
If you encounter an error like this while resetting the compiz:
> error: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code17: Cannot open dconf database: invalid gvdb header
The possible reason is that user file has messed up. Make a back up of dconf config and remove the config file:
mv ~/.config/dconf/ ~/.config/dconf.bak
I hope this quick tip helped you to reset Unity and compiz in Ubuntu 14.04. Any questions or suggestions are always welcomed.
--------------------------------------------------------------------------------
via: http://itsfoss.com/reset-unity-compiz-settings-ubuntu-1404/
作者:[Abhishek][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://itsfoss.com/author/Abhishek/

View File

@ -0,0 +1,41 @@
在Ubuntu 14.04中重置Unity和Compiz设置【小贴士】
================================================================================
如果你一直在试验你的Ubuntu系统你可能最终以Unity和Compiz的一片混乱收场。在此贴士中我们将看看怎样来重置Ubuntu 14.04中的Unity和Compiz。事实上全部要做的事仅仅是运行几个命令而已。
### 重置Ubuntu 14.04中的Unity和Compiz ###
打开终端Ctrl+Alt+T并使用以下命令来重置compiz
dconf reset -f /org/compiz/
重置compiz后重启Unity
setsid unity
此外如果你想将Unity图标也进行重置试试以下的命令吧
unity --reset-icons
### 可能的疑难解决方案: ###
如果你在重置compiz时遇到如下错误
> error: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code17: Cannot open dconf database: invalid gvdb header
可能的原因是用户文件被搞乱了。备份dconf配置并移除配置文件
mv ~/.config/dconf/ ~/.config/dconf.bak
希望本贴士对你重置Ubuntu 14.04中Unity和compiz有所帮助欢迎您随时提出问题和建议。
--------------------------------------------------------------------------------
via: http://itsfoss.com/reset-unity-compiz-settings-ubuntu-1404/
作者:[Abhishek][a]
译者:[GOLinux](https://github.com/GOLinux)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://itsfoss.com/author/Abhishek/