我无法开始
$ unity-control-center
$ gnome-control-center
输出是bus error (core dump created)
,尽管它们都已重新安装。在我的装有 Ubuntu 16.04.5 的 MacBookPro6,2 上,我也看不到电池图标。当我尝试通过右上角的主菜单打开“系统设置”时,什么也没有发生。
分析问题后,我尝试了一下$ sudo apt-cache depends unity-control-center
,提示是(从德语翻译的状态词):
unity-control-center
Depends: libaccountsservice0
Depends: libatk1.0-0
Depends: libc6
Depends: libcairo2
Depends: libcanberra-gtk3-0
Depends: libcanberra0
Depends: libcheese-gtk25
Depends: libcheese8
Depends: libcolord2
Depends: libcups2
Depends: libdbus-glib-1-2
Depends: libfcitx-config4
Depends: libfcitx-gclient0
Depends: libfcitx-utils0
Depends: libfontconfig1
Depends: libgdk-pixbuf2.0-0
Depends: libgeonames0
|Depends: libgl1-mesa-glx
Depends: <libgl1>
libgl1-mesa-glx
Depends: libglib2.0-0
Depends: libgnome-desktop-3-12
Depends: libgnome-menu-3-0
Depends: libgtk-3-0
Depends: libgtop-2.0-10
Depends: libibus-1.0-5
Depends: libkrb5-3
Depends: libnm-glib4
Depends: libnm-gtk0
Depends: libnm-util2
Depends: libnotify4
Depends: libpango-1.0-0
Depends: libpangocairo-1.0-0
Depends: libpolkit-gobject-1-0
Depends: libpulse-mainloop-glib0
Depends: libpulse0
Depends: libpwquality1
Depends: libtimezonemap1
Depends: libunity-control-center1
Depends: libunity-settings-daemon1
Depends: libupower-glib3
Depends: libwacom2
Depends: libwebkit2gtk-4.0-37
Depends: libx11-6
Depends: libxi6
Depends: libxml2
Depends: accountsservice
Depends: apg
Depends: desktop-file-utils
desktop-file-utils:i386
Depends: gkbd-capplet
Depends: gnome-desktop3-data
Depends: adwaita-icon-theme
Depends: gnome-menus
Depends: unity-settings-daemon
Depends: gnome-settings-daemon-schemas
Depends: gsettings-desktop-schemas
Depends: gsettings-ubuntu-schemas
Depends: ibus
ibus:i386
Depends: indicator-bluetooth
Depends: indicator-datetime
Depends: indicator-keyboard
Depends: indicator-power
Depends: indicator-sound
Conflicts: gnome-control-center
Conflicts: <gnome-control-center-unity>
Conflicts: <unity-control-center-datetime>
Damaged: compiz
Damaged: gnome-bluetooth
Damaged: gnome-power-manager
Damaged: gnome-session
Damaged: libglib2.0-0
Damaged: metacity
Damaged: unity
Recommends: cups-pk-helper
Recommends: gnome-session-bin
Recommends: ubuntu-system-service
Recommends: ibus
ibus:i386
Recommends: iso-codes
Recommends: mousetweaks
Recommends: policykit-1-gnome
lxpolkit
mate-polkit
Recommends: libcanberra-pulse
Recommends: system-config-printer-gnome
Recommends: unity-control-center-faces
|Suggests: gnome-screensaver
Suggests: xscreensaver
|Suggests: gnome-user-guide
Suggests: ubuntu-docs
Suggests: libcanberra-gtk-module
Suggests: x11-xserver-utils
Replaces: gnome-bluetooth
Replaces: <gnome-control-center-unity>
unity-control-center
Replaces: <unity-control-center-datetime>
unity-control-center
我已经尝试过了
$ sudo apt-get --reinstall install compiz
$ sudo apt-get --reinstall install gnome-power-manager
$ sudo apt-get remove unity-control-center
$ sudo apt-get install unity-control-center
$ sudo apt-get remove gnome-control-center
$ sudo apt-get install gnome-control-center
这些都不会影响上述提示的任何变化。
之前,我删除了 Firefox(现在重新安装),并且已经尝试了几次图形驱动程序安装,因为其他类似的问题让我相信这主要是 NVIDIA 的问题 - 但现在我对此不再确定。我确实阅读了许多相关问题,但没有一个让我走上解决方案的轨道。
我该如何修复控制中心?
编辑1:我意识到,设置后NoDisplay=false
,/etc/xdg/autostart/indicator-power.desktop
电池图标会在启动时出现,在我登录之前。因此,它通常在我的系统安装中可用,但我的用户配置似乎阻止了它。
编辑2:我正在使用snap
。$ snap list
显示:
Name Version Rev Tracking Publisher Notes
core 16-2.35.4 5662 stable canonical✓ core
vlc 3.0.4 555 stable videolan✓ -
编辑3:所有系统应用程序、控制中心、电池图标以及 Rhythmbox 在 Ubuntu 异常窗口中显示以下行:
Title: ... crashed with signal 7 in gst_update_registry()
因此,我目前正在 GStreamer 领域中搜索该问题 - 到目前为止我还不了解 - 欢迎任何提示。谢谢。
编辑4:同时,我已经卸载并重新安装了 GStreamer:
$ sudo apt-get purge gstreamer1.0-tools
$ sudo apt-get purge libgstreamer1.0-0
$ sudo apt-get install libgstreamer1.0-0
$ sudo apt-get install gstreamer1.0-tools
$ sudo apt install gstreamer1.0-plugins-good
$ sudo apt install gstreamer1.0-plugins-base
$ sudo apt autoremove
在我看来,我的 Ubuntu 从那时起运行得更快了,但对我仍然缺少的系统应用程序的可用性没有明显的影响。
答案1
由于目前还没有直接解决此问题的方法,我使用以下解决方法来帮助自己。正如我在问题的编辑 1 中提到的那样,我观察到在启动时登录之前会显示电池图标。以访客身份登录时也会显示该图标。
鉴于此,问题显然与我现有的用户帐户有关。因此,我根据这些内容创建了一个新用户帐户添加用户说明我已将所有个人文档移至那里,但帐户设置保持不变。
到目前为止,一切都运行良好。如果后续出现任何问题或见解,我将在此记录。