Caja——MATE 桌面文件管理器——立即崩溃每次我打开任何包含一个或多个 JPG 或 PDF 的文件夹时。
一两秒之后文件夹就消失了——我甚至没有时间尝试打开 PDF 或 JPG。
我在跑Caja v.1.26.0-1ubuntu1在Ubuntu MATE 22.04 Jammy Jellyfish在桌面工作站上。
我目前所做的:
禁用了 Caja 的所有扩展并重新启动。没有帮助。
彻底删除了 Caja 及其相关程序,重新启动,重新安装 Caja 及其相关应用程序和库(逐个安装)。没有帮助。
确保所有文件和文件夹权限正确。
删除了所有未使用或不需要的与 Caja 相关的程序 - 我将所有与 Caja 相关的程序与我在 20.04 安装在单独的内部驱动器上的 caja 相关应用程序列表相同,Caja 在其中运行没有问题。
以下是当前安装的 (15) 个 Caja 应用程序:
caja、caja-admin、caja-common、caja-eiciel caja-extensons-common、caja-gtkhash、caja-mediainfo、caja-open-terminal、caja-rename、caja-seahorse、caja-sendto、gir1.2-caja-2.0、libcaja-extension1 python-caja-common python3-caja
我已经将这些全部删除并逐一添加回来。
有一次,由于我无法在 GUI 显示屏中打开 PDF 或 JPG,所以我从终端的命令行打开了一个 PDF。这导致我的桌面上的图标闪烁,直到我重新启动。我从未见过这样的闪烁,我想知道当这种情况发生时,这是否可能表明桌面上发生了什么具体的事情。
以下是我主目录中 .xsession-errors 文件中的一些相关行:
52 mate-session[1906]: WARNING: Unable to find provider '' of required component 'dock'
53 Window manager warning: Log level 128: unsetenv() is not thread-safe and should not be used after threads are created
54 Window manager warning: Log level 128: Name com.canonical.AppMenu.Registrar does not exist on the session bus
55
56
57 (process:2428): accountsservice-CRITICAL **: 14:12:19.660: _act_user_update_from_object_path: assertion 'ACT_IS_USER (user)' failed
58
59 (process:2428): GLib-GObject-WARNING **: 14:12:19.660: invalid uninstantiatable type '(null)' in cast to 'GObject'
60
61 (process:2428): GLib-GObject-CRITICAL **: 14:12:19.660: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed
62
63 (process:2452): ayatana-indicator-sound-WARNING **: 14:12:19.678: volume-control-pulse.vala:746: unable to get pulse unix socket: GDBus.Error:org.freedes ____ktop.DBus.Error.ServiceUnknown: The name org.PulseAudio1 was not provided by any .service files
64 Failure: No such entity
65
66 (caja:2359): Gtk-WARNING **: 14:12:19.714: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
67
68 (mate-power-manager:2427): PowerManager-WARNING **: 14:12:19.720: Failed to get session for pid 2427: The name org.freedesktop.ConsoleKit was not provide ____d by any .service files
69
70 (mate-power-manager:2427): PowerManager-WARNING **: 14:12:19.787: could not map keysym 1008ffa8 to keycode
71 libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
72 (node:2808) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe( ____), or Buffer.from() methods instead.
73 (Use `exe --trace-deprecation ...` to show where the warning was created)
74 Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3800008 specified for 0x3800006 (Cantata Fi).
75 QCommandLineParser: option not defined: "allow-screencapture"
76 INFO:root:The HUD is disabled via org.mate.hud in gsettings.
77
78 ** (caja:2359): CRITICAL **: 14:12:41.938: caja_bookmark_get_location: assertion 'CAJA_IS_BOOKMARK (bookmark)' failed
79
80 (caja:2359): GLib-GIO-CRITICAL **: 14:12:41.938: g_file_get_uri: assertion 'G_IS_FILE (file)' failed
81 sys:1: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
82
83 ** (caja:2359): CRITICAL **: 14:12:44.108: caja_bookmark_get_location: assertion 'CAJA_IS_BOOKMARK (bookmark)' failed
84
85 (caja:2359): GLib-GIO-CRITICAL **: 14:12:44.108: g_file_get_uri: assertion 'G_IS_FILE (file)' failed
86
87 (caja:3571): Gtk-WARNING **: 14:12:48.616: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
88
89 (mate-panel:2318): Gtk-CRITICAL **: 14:21:13.872: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
90
91 (mate-panel:2318): Gtk-CRITICAL **: 14:22:43.503: gtk_drag_finish: assertion 'GDK_IS_DRAG_CONTEXT (context)' failed
92
93 (mate-panel:2318): Gtk-CRITICAL **: 14:22:43.503: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
94 Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2600007 (Authentica)
95 Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
96
97 (mate-panel:2318): Gtk-CRITICAL **: 14:26:20.867: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
我们欢迎任何关于导致崩溃的原因的想法,无论它们有多么离奇。 谢谢。
答案1
解决了:
我进入文件管理器,打开“预览”选项卡,并将其中的所有内容设置为“从不”。
然后,我一个接一个地取消“从不”并重新设置为“始终”。
问题在于“其他可预览文件” -> “显示缩略图”环境。
如果设置为“从不”,问题消失了。
由于我不需要缩略图预览,我现在将“显示缩略图”设置为“从不”。