重置Ubuntu 14.04中的Unity和Compiz

来源:互联网 发布:最优化主要内容包括 编辑:程序博客网 时间:2024/06/05 17:16

重置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.g2dfile2derror2dquark.Code17: Cannot open dconf database: invalid gvdb header

可能的原因是用户文件被搞乱了。备份dconf配置,并移除配置文件:

mv ~/.config/dconf/ ~/.config/dconf.bak
0 0
原创粉丝点击