今天当我登录到我的 Ubuntu 12.04 时,更新管理器告诉我有一些升级。Compiz 和 Unity 包含在这些升级中。
安装升级后,我再也无法在屏幕左侧看到 Unity 面板,也无法在屏幕顶部看到系统托盘。我现在必须运行带有 Unity 2D 的 Ubuntu 12.04。我的笔记本电脑是 HP Pavilion dv9000,配有 Nvidia GeForce Go 7600 显卡。
我尝试运行“unity --reset”,但它说 compiz 存在严重问题。我已从下面的终端剪切并粘贴了读出的内容。
[09:35:02] xxxxxxx@L01U1204:~$ unity --reset
unity-panel-service: no process found
Checking if settings need to be migrated ...no
Checking if internal files need to be migrated ...no
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Initializing core options...done
compiz (core) - Warn: failed to receive ConfigureNotify event on 0x2e00004
compiz (core) - Warn: failed to receive ConfigureNotify event on 0x580005a
compiz (core) - Warn: failed to receive ConfigureNotify event on 0x3600006
compiz (core) - Warn: failed to receive ConfigureNotify event on 0x3200255
compiz (core) - Warn: failed to receive ConfigureNotify event on 0x1600002
compiz (core) - Warn: failed to receive ConfigureNotify event on 0x1400002
Initializing composite options...done
Initializing opengl options...done
Initializing decor options...done
Initializing vpswitch options...done
Initializing snap options...done
Initializing mousepoll options...done
Initializing resize options...done
Initializing place options...done
Initializing move options...done
Initializing wall options...done
Initializing grid options...done
I/O warning : failed to load external entity "/home/brwright/.compiz/session/10afaca1703486b216133648409481824100000130110002"
Initializing session options...done
Initializing gnomecompat options...done
Initializing animation options...done
Initializing fade options...done
Initializing unitymtgrabhandles options...done
Initializing workarounds options...done
Initializing scale options...done
compiz (expo) - Warn: failed to bind image to texture
Initializing expo options...done
Initializing ezoom options...done
compiz (core) - Error: Couldn't load plugin '/usr/lib/compiz/libunityshell.so' : /usr/lib/compiz/libunityshell.so: undefined symbol: _ZNK5unity4dash10Controller6windowEv
compiz (core) - Error: Couldn't load plugin 'unityshell'
compiz (core) - Warn: unhandled ConfigureNotify on 0x7000090!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.
compiz (core) - Warn: unhandled ConfigureNotify on 0x7000093!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.
compiz (core) - Warn: unhandled ConfigureNotify on 0x7000096!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.
compiz (core) - Warn: unhandled ConfigureNotify on 0x7000099!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.
compiz (core) - Warn: unhandled ConfigureNotify on 0x700009c!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.
compiz (core) - Warn: unhandled ConfigureNotify on 0x700009f!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.
Initializing annotate options...done
Initializing blur options...done
Initializing clone options...done
Initializing colorfilter options...done
Initializing commands options...done
Initializing cube options...done
Initializing imgjpeg options...done
Initializing kdecompat options...done
Initializing mag options...done
Initializing neg options...done
Initializing obs options...done
Initializing opacify options...done
Initializing put options...done
Initializing resizeinfo options...done
Initializing ring options...done
Initializing rotate options...done
Initializing scaleaddon options...done
Initializing screenshot options...done
Initializing shift options...done
Initializing staticswitcher options...done
Initializing switcher options...done
Initializing thumbnail options...done
Initializing unityshell options...done
Initializing water options...done
Initializing winrules options...done
Initializing wobbly options...done
Setting Update "main_menu_key"
Setting Update "run_key"
Starting gtk-window-decorator
如您所见,终端再也没有回到 CI 提示符。我必须按 Control C 才能进入 CI 提示符,但随后操作系统就冻结了。我必须重新启动并运行 Unity 2D 才能在笔记本电脑上执行任何操作。我希望我已经对此进行了充分解释并提供了一些有用的信息。我不知道问题是什么,或者到底是什么导致了这个问题。是 Unity 还是 Compiz?有人能帮忙吗?
答案1
我在使用 Janitor(Ubuntu Tweak)或更新后,使用 ATI 58xx 移动版的华硕笔记本遇到了这个问题,可以通过以下方式修复它(至少是 2D 版本)
sudo apt-get install fglrx-updates
仍然尝试恢复 3D。
答案2
好的,首先,您在运行时不要按 ctrl-C,而是使用“sudo service unity stop”,然后使用“unity --reset”...
然后当然稍后转到 unity 2d 并转到系统设置>外观>行为>重置为默认值,这应该可以解决问题,对我来说它总是如此......
哦哦哦,在你回到 Unity 3D 之前,请转到 ccsm 并转到“Ubuntu Unity 插件”,在设置里面,左边有一个框可以让你启用/禁用该插件...
确保它已启用!
^^错了,抱歉...解决方案如下:步骤 1:
sudo apt-get install guake
第 2 步:转到启动应用程序并确保 guake 在其中,如果没有,请添加它。
步骤 3:启动 unity 3d,等待 guake 弹出,然后按 F12(或您设置的任何键)
步骤 4:在 guake 中:
ccsm
步骤 5:一旦 compiz 配置设置管理器启动(不应该有任何窗口边框)转到“Ubuntu Unity 插件”并单击它并在左侧的复选框中启用它。
步骤 6:返回 guake,使用“Shift+Ctrl+T”创建一个新选项卡,然后在其中输入:
unity --replace
第 7 步:转到此页面回应此答案并告诉我您的结果...