昨天安装了常规系统更新并重新启动后,启动器和菜单栏突然不见了,我尝试在类似标题的帖子下寻找答案,但似乎都无济于事。尝试在 Compiz 中禁用并重新启用 Unity。我对 Linux 还不是很熟悉。我正在尝试学习,但尝试了其他帖子中建议的所有方法都没有成功。
我现在能做的唯一方法是,当我unity --debug
在终端中输入内容时,我可以让启动器和菜单栏(暂时)重新出现,结果如下:
~$ unity --debug
unity-panel-service stop/waiting
unity7 stop/waiting
unity-panel-service start/running, process 5114
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
/usr/bin/compiz (core) - Info: Loading plugin: core
/usr/bin/compiz (core) - Info: Starting plugin: core
[New Thread 0x7ffff3637700 (LWP 5233)]
/usr/bin/compiz (core) - Info: Loading plugin: ccp
/usr/bin/compiz (core) - Info: Starting plugin: ccp
[New Thread 0x7fffeb20e700 (LWP 5234)]
[New Thread 0x7fffeaa0d700 (LWP 5235)]
compizconfig - Info: Backend : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile : unity
/usr/bin/compiz (core) - Info: Loading plugin: composite
/usr/bin/compiz (core) - Info: Starting plugin: composite
/usr/bin/compiz (core) - Info: Loading plugin: opengl
/usr/bin/compiz (core) - Info: Starting plugin: opengl
[New Thread 0x7fffe1dfc700 (LWP 5236)]
[New Thread 0x7fffe15fb700 (LWP 5237)]
[New Thread 0x7fffe0dfa700 (LWP 5238)]
[New Thread 0x7fffd962c700 (LWP 5239)]
[New Thread 0x7fffd8e2b700 (LWP 5240)]
[New Thread 0x7fffd862a700 (LWP 5241)]
[New Thread 0x7fffd7e29700 (LWP 5242)]
[New Thread 0x7fffd7628700 (LWP 5243)]
/usr/bin/compiz (core) - Info: Loading plugin: place
/usr/bin/compiz (core) - Info: Starting plugin: place
/usr/bin/compiz (core) - Info: Loading plugin: wall
/usr/bin/compiz (core) - Info: Starting plugin: wall
/usr/bin/compiz (core) - Info: Loading plugin: session
/usr/bin/compiz (core) - Info: Starting plugin: session
/usr/bin/compiz (core) - Info: Loading plugin: copytex
/usr/bin/compiz (core) - Info: Starting plugin: copytex
/usr/bin/compiz (core) - Info: Loading plugin: grid
/usr/bin/compiz (core) - Info: Starting plugin: grid
/usr/bin/compiz (core) - Info: Loading plugin: mousepoll
/usr/bin/compiz (core) - Info: Starting plugin: mousepoll
/usr/bin/compiz (core) - Info: Loading plugin: vpswitch
/usr/bin/compiz (core) - Info: Starting plugin: vpswitch
/usr/bin/compiz (core) - Info: Loading plugin: compiztoolbox
/usr/bin/compiz (core) - Info: Starting plugin: compiztoolbox
/usr/bin/compiz (core) - Info: Loading plugin: resize
/usr/bin/compiz (core) - Info: Starting plugin: resize
/usr/bin/compiz (core) - Info: Loading plugin: imgpng
/usr/bin/compiz (core) - Info: Starting plugin: imgpng
/usr/bin/compiz (core) - Info: Loading plugin: regex
/usr/bin/compiz (core) - Info: Starting plugin: regex
/usr/bin/compiz (core) - Info: Loading plugin: move
/usr/bin/compiz (core) - Info: Starting plugin: move
/usr/bin/compiz (core) - Info: Loading plugin: commands
/usr/bin/compiz (core) - Info: Starting plugin: commands
/usr/bin/compiz (core) - Info: Loading plugin: snap
/usr/bin/compiz (core) - Info: Starting plugin: snap
/usr/bin/compiz (core) - Info: Loading plugin: unitymtgrabhandles
/usr/bin/compiz (core) - Info: Starting plugin: unitymtgrabhandles
/usr/bin/compiz (core) - Info: Loading plugin: animation
/usr/bin/compiz (core) - Info: Starting plugin: animation
/usr/bin/compiz (core) - Info: Loading plugin: fade
/usr/bin/compiz (core) - Info: Starting plugin: fade
/usr/bin/compiz (core) - Info: Loading plugin: workarounds
/usr/bin/compiz (core) - Info: Starting plugin: workarounds
/usr/bin/compiz (core) - Info: Loading plugin: expo
/usr/bin/compiz (core) - Info: Starting plugin: expo
/usr/bin/compiz (core) - Info: Loading plugin: scale
/usr/bin/compiz (core) - Info: Starting plugin: scale
/usr/bin/compiz (core) - Info: Loading plugin: ezoom
/usr/bin/compiz (core) - Info: Starting plugin: ezoom
/usr/bin/compiz (core) - Info: Loading plugin: unityshell
/usr/bin/compiz (core) - Info: Starting plugin: unityshell
[New Thread 0x7fffc3eef700 (LWP 5253)]
WARN 2016-07-21 12:19:08 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'org.gnome.Shell' yet as we don't have a connection, waiting for it...
WARN 2016-07-21 12:19:09 unity.debug.interface DebugDBusInterface.cpp:217 Unable to load entry point in libxpathselect: libxpathselect.so.1.4: cannot open shared object file: No such file or directory -- full D-Bus introspection will not be available
WARN 2016-07-21 12:19:09 xim.controller XIMController.cpp:103 IBus natively supported.
WARN 2016-07-21 12:19:09 unity.dash.gsettingsscopereader GSettingsScopes.cpp:108 Error fetching protocol metadata for scope: social.scope : Valid key file could not be found in search dirs
WARN 2016-07-21 12:19:09 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'com.canonical.Unity.Launcher' yet as we don't have a connection, waiting for it...
WARN 2016-07-21 12:19:09 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'com.canonical.Unity.Dash' yet as we don't have a connection, waiting for it...
WARN 2016-07-21 12:19:09 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'org.gnome.SessionManager.EndSessionDialog' yet as we don't have a connection, waiting for it...
[New Thread 0x7fffc2c56700 (LWP 5257)]
WARN 2016-07-21 12:19:09 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'com.canonical.Unity.Session' yet as we don't have a connection, waiting for it...
WARN 2016-07-21 12:19:09 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'org.gnome.ScreenSaver' yet as we don't have a connection, waiting for it...
[Thread 0x7fffc2c56700 (LWP 5257) exited]
ERROR 2016-07-21 12:19:09 unity.glib.dbus.server GLibDBusServer.cpp:538 DBus name lost 'org.gnome.Shell'
ERROR 2016-07-21 12:19:09 unity.glib.dbus.server GLibDBusServer.cpp:538 DBus name lost 'com.canonical.Unity'
WARN 2016-07-21 12:19:09 unity.key.gnome.grabber GnomeKeyGrabber.cpp:108 Trying to grab a disabled action, we skip it
WARN 2016-07-21 12:19:09 unity.key.gnome.grabber GnomeKeyGrabber.cpp:108 Trying to grab a disabled action, we skip it
WARN 2016-07-21 12:19:09 unity.key.gnome.grabber GnomeKeyGrabber.cpp:108 Trying to grab a disabled action, we skip it
WARN 2016-07-21 12:19:09 unity.key.gnome.grabber GnomeKeyGrabber.cpp:108 Trying to grab a disabled action, we skip it
WARN 2016-07-21 12:19:09 unity.key.gnome.grabber GnomeKeyGrabber.cpp:108 Trying to grab a disabled action, we skip it
WARN 2016-07-21 12:19:09 unity.key.gnome.grabber GnomeKeyGrabber.cpp:108 Trying to grab a disabled action, we skip it
WARN 2016-07-21 12:19:09 unity.key.gnome.grabber GnomeKeyGrabber.cpp:108 Trying to grab a disabled action, we skip it
WARN 2016-07-21 12:19:09 unity.key.gnome.grabber GnomeKeyGrabber.cpp:108 Trying to grab a disabled action, we skip it
WARN 2016-07-21 12:19:09 unity.key.gnome.grabber GnomeKeyGrabber.cpp:108 Trying to grab a disabled action, we skip it
WARN 2016-07-21 12:19:09 unity.key.gnome.grabber GnomeKeyGrabber.cpp:108 Trying to grab a disabled action, we skip it
[Thread 0x7fffc3eef700 (LWP 5253) exited]
[New Thread 0x7fffc3eef700 (LWP 5295)]
[New Thread 0x7fffc2c56700 (LWP 5296)]
[New Thread 0x7fffc1a01700 (LWP 5297)]
[New Thread 0x7fffc1200700 (LWP 5298)]
[New Thread 0x7fffc09ff700 (LWP 5299)]
[New Thread 0x7fffabfff700 (LWP 5300)]
[Thread 0x7fffc1a01700 (LWP 5297) exited]
[Thread 0x7fffc1200700 (LWP 5298) exited]
[Thread 0x7fffabfff700 (LWP 5300) exited]
[Thread 0x7fffc2c56700 (LWP 5296) exited]
[Thread 0x7fffc09ff700 (LWP 5299) exited]
[Thread 0x7fffc3eef700 (LWP 5295) exited]
答案1
按照建议删除 compiz 配置目录@zerkms
。谢谢!
特别是,我用
mv ~/.config/compiz-1 ~/Desktop
将它移到桌面以防它不起作用,这样它就不会被直接删除,如果它不是罪魁祸首,我可以将它移回。移动目录后,重新启动后一切都恢复正常。
再次感谢大家的回答,虽然我仍然是个新手,但我学到的每件小事都有帮助!
答案2
我遇到了同样的问题,但删除 compiz-1 目录并没有解决问题。这个方法有效但不完全有效:
dconf reset -f /org/compiz/
setsid compiz --replace