mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-23 21:20:42 +08:00
Translated:20140922 Reset Unity and Compiz Settings in Ubuntu 14.04.md
This commit is contained in:
parent
9b99129e99
commit
8281556f71
@ -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/
|
@ -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/
|
Loading…
Reference in New Issue
Block a user