gnome-panel 一直死机

gnome-panel 一直死机

我在 Ubuntu 21.10 上。我将 gnome-flashback 与 Compiz 结合使用。gnome-panel(版本:3.41.2)不知为何一直崩溃。这是日志文件,但我似乎找不到问题所在。

Gtk-Message: 14:07:17.772: Failed to load module "xapp-gtk3-module"
(gnome-panel:202571): indicator-applet-WARNING **: 14:07:17.936: Binding '<Super>F1' failed!
(gnome-panel:202571): indicator-applet-WARNING **: 14:07:17.937: Binding '<Super>F1' failed!
(gnome-panel:202571): indicator-applet-WARNING **: 14:07:17.938: Binding '<Super>F1' failed!
(gnome-panel:202571): indicator-applet-WARNING **: 14:07:17.964: Binding '<Super>S' failed!
(gnome-panel:202571): Indicator-Appmenu-CRITICAL **: 14:07:18.369: Unable to register the object to DBus: An object is already exported for the interface com.canonical.AppMenu.Registrar at /com/canonical/AppMenu/Registrar
(gnome-panel:202571): Indicator-Appmenu-CRITICAL **: 14:07:18.369: Unable to register the object to DBus: An object is already exported for the interface com.canonical.AppMenu.Registrar at /com/canonical/AppMenu/Registrar
(gnome-panel:202571): Indicator-Appmenu-CRITICAL **: 14:07:18.464: Unable to claim the name com.canonical.AppMenu.Registrar
(gnome-panel:202571): Indicator-Appmenu-CRITICAL **: 14:07:18.464: Unable to claim the name com.canonical.AppMenu.Registrar
(gnome-panel:202571): GLib-GObject-WARNING **: 14:07:24.041: invalid unclassed pointer in cast to 'GtkWidget'
(gnome-panel:202571): Gtk-CRITICAL **: 14:07:24.041: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
...
(gnome-panel:202571): Gtk-CRITICAL **: 14:07:26.503: gtk_window_set_attached_to: assertion 'GTK_IS_WINDOW (window)' failed
(gnome-panel:202571): GLib-GObject-WARNING **: 14:07:26.503: invalid (NULL) pointer instance
(gnome-panel:202571): GLib-GObject-CRITICAL **: 14:07:26.504: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(gnome-panel:202571): Gtk-CRITICAL **: 14:07:26.504: gtk_window_set_screen: assertion 'GTK_IS_WINDOW (window)' failed
(gnome-panel:202571): GLib-GObject-WARNING **: 14:07:26.707: invalid unclassed pointer in cast to 'GtkWidget'
...
(gnome-panel:202571): GLib-GObject-WARNING **: 14:10:04.942: invalid unclassed pointer in cast to 'GtkWidget'
(gnome-panel:202571): Gtk-CRITICAL **: 14:10:04.942: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(gnome-panel:202571): Gtk-WARNING **: 14:11:06.528: ../../../../gtk/gtkwidget.c:6776: no accelerator (115,4) installed in accel group (0x55c819556660) for Genericmenuitem (0x55c819b549a0)
(gnome-panel:202571): Gtk-WARNING **: 14:11:06.528: ../../../../gtk/gtkwidget.c:6776: no accelerator (112,4) installed in accel group (0x55c819556660) for Genericmenuitem (0x55c819b54d80)
(gnome-panel:202571): Gtk-WARNING **: 14:11:06.528: ../../../../gtk/gtkwidget.c:6776: no accelerator (120,4) installed in accel group (0x55c819556660) for Genericmenuitem (0x55c819b5a1d0)
(gnome-panel:202571): Gtk-WARNING **: 14:11:06.528: ../../../../gtk/gtkwidget.c:6776: no accelerator (99,4) installed in accel group (0x55c819556660) for Genericmenuitem (0x55c819b5a5b0)
(gnome-panel:202571): Gtk-WARNING **: 14:11:06.528: ../../../../gtk/gtkwidget.c:6776: no accelerator (118,4) installed in accel group (0x55c819556660) for Genericmenuitem (0x55c819b5a990)
(gnome-panel:202571): Gtk-WARNING **: 14:11:06.528: ../../../../gtk/gtkwidget.c:6776: no accelerator (102,4) installed in accel group (0x55c819556660) for Genericmenuitem (0x55c819b5ad70)
(gnome-panel:202571): Gtk-WARNING **: 14:11:06.529: ../../../../gtk/gtkwidget.c:6776: no accelerator (104,4) installed in accel group (0x55c819556660) for Genericmenuitem (0x55c819b815b0)
(gnome-panel:202571): Gtk-WARNING **: 14:11:06.529: ../../../../gtk/gtkwidget.c:6776: no accelerator (117,4) installed in accel group (0x55c819556660) for Genericmenuitem (0x55c819b88d80)
(gnome-panel:202571): GLib-GObject-WARNING **: 14:11:06.613: invalid unclassed pointer in cast to 'GtkWidget'
...
(gnome-panel:202571): GLib-GObject-WARNING **: 14:11:07.160: invalid unclassed pointer in cast to 'GtkWidget'
(gnome-panel:202571): Gtk-CRITICAL **: 14:11:07.160: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(gnome-panel:202571): Indicator-Appmenu-CRITICAL **: 14:11:07.232: menus_destroyed: assertion 'IS_WINDOW_MENU(wm)' failed
(gnome-panel:202571): Indicator-Appmenu-CRITICAL **: 14:11:07.232: menus_destroyed: assertion 'IS_WINDOW_MENU(wm)' failed
(gnome-panel:202571): Indicator-Appmenu-CRITICAL **: 14:11:07.232: menus_destroyed: assertion 'IS_WINDOW_MENU(wm)' failed
(gnome-panel:202571): GLib-GObject-WARNING **: 14:11:08.079: invalid unclassed pointer in cast to 'GtkWidget'
(gnome-panel:202571): Gtk-CRITICAL **: 14:11:08.079: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
...
(gnome-panel:202571): Gtk-CRITICAL **: 14:14:37.169: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(gnome-panel:202571): GLib-GObject-WARNING **: 14:14:37.228: invalid unclassed pointer in cast to 'GtkWidget'
(gnome-panel:202571): Gtk-CRITICAL **: 14:14:37.228: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

答案1

让我们尝试逐步修复每个警告或错误。

  1. 以下消息

    Gtk-Message: 14:07:17.772: Failed to load module "xapp-gtk3-module"

    可以通过安装对应包经过:

    sudo apt-get update
    sudo apt-get install --reinstall xapps-common libxapp1
    
  2. 然后留言

    (gnome-panel:202571): Indicator-Appmenu-CRITICAL **: 14:07:18.369: Unable to register the object to DBus: An object is already exported for the interface com.canonical.AppMenu.Registrar at /com/canonical/AppMenu/Registrar

    应该通过安装来修复对应包经过

    sudo apt-get install --reinstall plasma-workspace-dev appmenu-registrar
    

然后重新启动并再次登录 GNOME FlashBack(Compiz)会话。


以下是一些个人看法。GNOME
FlashBack(无论是 Metacity 还是 Compiz)从长远来看都无法解决 GNOME Shell 可用性的下降。所以欢迎你去掉它并正常安装完全传统的稳定桌面名为伴侣这是 GNOME 2 的一个分支。请参阅这个答案.
MATE 的安装非常简单sudo apt-get install ubuntu-mate-desktop^

答案2

答案似乎是从旧的 gnome-panel(Gnome2)转移到更受支持的东西,如 Mate 和 mate-panel。

相关内容