选择字体时 Gnome 调整工具崩溃并强制注销

选择字体时 Gnome 调整工具崩溃并强制注销

我试图通过使用更改 Ubuntu 18.04 系统上的字体gnome-tweak-tool,每当我进入字体选项卡并尝试单击任何字体选择菜单时,程序都会崩溃并自动注销。

我试图记录它,但我确实不能,因为它让我注销了。我不确定问题是什么,但如果有任何迹象表明出了什么问题,当我安装时gnome-tweak-tool,我没有.themes文件夹,必须手动创建它。

$ sudo apt remove gnome-tweaks这样做了,删除了gnome-tweaksgnome-tweak-tool,然后$ sudo apt install gnome-tweak-tool尝试重新安装该软件包。再次重新启动它又出现了完全相同的问题。

的输出$ gnome-tweaks --version3.28.1, 的输出 $ uname -a给出:

$ uname -a 
Linux t420 4.15.0-32-generic #35-Ubuntu SMP Fri Aug 10 17:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

跑步Ubuntu 18.04 bionic

编辑:

运行grep -B 50 "tweak" /var/log/syslog | tail -n 50生成以下内容:

Aug 20 15:05:32 T420 wpa_supplicant[1103]: wlp3s0: CTRL-EVENT-SIGNAL-
CHANGE above=0 signal=-84 noise=9999 txrate=1000
Aug 20 15:05:32 T420 wpa_supplicant[1103]: wlp3s0: Reject scan trigger since one is already pending
Aug 20 15:05:32 T420 wpa_supplicant[1103]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-70 noise=9999 txrate=1000
Aug 20 15:05:35 T420 wpa_supplicant[1103]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-69 noise=9999 txrate=36000
Aug 20 15:05:36 T420 wpa_supplicant[1103]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-83 noise=9999 txrate=108000
Aug 20 15:05:41 T420 wpa_supplicant[1103]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-72 noise=9999 txrate=108000
Aug 20 15:05:46 T420 gnome-shell[10862]: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
Aug 20 15:05:46 T420 org.gnome.Shell.desktop[10862]: **
Aug 20 15:05:46 T420 org.gnome.Shell.desktop[10862]: mutter:ERROR:core/window.c:5296:get_default_window_icon: assertion failed: (default_icon)
Aug 20 15:05:46 T420 org.gnome.Shell.desktop[10862]: == Stack trace for context 0x55b68ecae340 ==
Aug 20 15:05:46 T420 gnome-session[10786]: gnome-session-binary[10786]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
Aug 20 15:05:46 T420 gnome-session-binary[10786]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
Aug 20 15:05:46 T420 /usr/lib/gdm3/gdm-x-session[10777]: (II) modeset(0): EDID vendor "LGD", prod id 16544
Aug 20 15:05:46 T420 /usr/lib/gdm3/gdm-x-session[10777]: (II) modeset(0): Printing DDC gathered Modelines:
Aug 20 15:05:46 T420 /usr/lib/gdm3/gdm-x-session[10777]: (II) modeset(0): Modeline "1366x768"x0.0   69.30  1366 1398 1430 1470  768 771 776 786 -hsync -vsync (47.1 kHz eP)
Aug 20 15:05:46 T420 gsd-media-keys[10970]: g_variant_get_va: assertion 'value != NULL' failed
Aug 20 15:05:46 T420 gsd-media-keys[10970]: g_variant_unref: assertion 'value != NULL' failed
Aug 20 15:05:47 T420 org.gnome.Shell.desktop[12533]: current session already has an ibus-daemon.
Aug 20 15:05:47 T420 wpa_supplicant[1103]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-84 noise=9999 txrate=81000
Aug 20 15:05:47 T420 gnome-shell[12533]: Telepathy is not available, chat integration will be disabled.
Aug 20 15:05:47 T420 wpa_supplicant[1103]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-71 noise=9999 txrate=81000
Aug 20 15:05:48 T420 gnome-shell[12533]: JS WARNING: [/usr/share/gnome-shell/extensions/[email protected]/appIcons.js 1027]: unreachable code after return statement
Aug 20 15:05:48 T420 gnome-shell[12533]: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
Aug 20 15:05:48 T420 org.gnome.Shell.desktop[12533]: **
Aug 20 15:05:48 T420 org.gnome.Shell.desktop[12533]: mutter:ERROR:core/window.c:5296:get_default_window_icon: assertion failed: (default_icon)
Aug 20 15:05:48 T420 org.gnome.Shell.desktop[12533]: == Stack trace for context 0x563fb8e134b0 ==
Aug 20 15:05:48 T420 update-notifier[11777]: Unable to connect to the Notification Watcher: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Aug 20 15:05:48 T420 gsd-media-keys[10970]: g_variant_get_va: assertion 'value != NULL' failed
Aug 20 15:05:48 T420 gnome-session[10786]: gnome-session-binary[10786]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
Aug 20 15:05:48 T420 gnome-session[10786]: gnome-session-binary[10786]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Aug 20 15:05:48 T420 gnome-session-binary[10786]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 6
Aug 20 15:05:48 T420 gnome-session-binary[10786]: Unrecoverable failure in required component org.gnome.Shell.desktop
Aug 20 15:05:48 T420 gnome-session[10786]: gnome-session-binary[10786]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Aug 20 15:05:48 T420 gnome-session-binary[10786]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Aug 20 15:05:48 T420 gsd-media-keys[10970]: g_variant_unref: assertion 'value != NULL' failed
Aug 20 15:05:48 T420 gnome-session-binary[10786]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Aug 20 15:05:48 T420 gsd-media-keys[10970]: Failed to grab accelerators: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.192 was not provided by any .service files (2)
Aug 20 15:05:48 T420 kernel: [ 3079.042157] rfkill: input handler enabled
Aug 20 15:05:48 T420 at-spi-bus-launcher[9087]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Aug 20 15:05:48 T420 at-spi-bus-launcher[9087]:       after 3449 requests (3449 known processed) with 0 events remaining.
Aug 20 15:05:48 T420 gsd-power[10916]: gsd-power: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 20 15:05:48 T420 gsd-xsettings[10947]: gsd-xsettings: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 20 15:05:48 T420 gsd-wacom[10951]: gsd-wacom: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 20 15:05:48 T420 gsd-color[10958]: gsd-color: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 20 15:05:48 T420 gsd-keyboard[10963]: gsd-keyboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 20 15:05:48 T420 gsd-clipboard[10953]: gsd-clipboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 20 15:05:48 T420 gsd-media-keys[10970]: gsd-media-keys: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 20 15:05:48 T420 gsd-color[1565]: failed to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_LG_Display_oleg_1000
Aug 20 15:05:48 T420 update-notifier[11777]: update-notifier: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Aug 20 15:05:48 T420 gnome-tweaks[11884]: gnome-tweaks: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

对于其他上下文,我昨天遵循了使用 gnome-tweak-tool 的完全相同的过程,并且能够很好地更改字体,而无需将我注销或执行其他任何操作,此问题所在的台式机和笔记本电脑都运行 Ubuntu 18.04

答案1

所以我通过查看来调试它,/var/log/syslog发现它与我正在使用的图标集有关,并且能够通过用仅在 GitHub 上提供的更新版本替换图标集的过时版本来修复它。

问题在于我从 Ubuntu PPA 下载了图标作为私人存储库上提供的包。这个版本在过去 12 天内没有更新过,所以我最终只是下载了源代码,它对我来说工作得很好

相关内容