页次: 1
环境:
archlinux+dwm
google-chrome-beta(aur latest)
dolphin
问题描述:
在chrome中一些需要打开文件管理器选择文件的情况下无法打开dolphin
xdg-mime结果为:
xdg-mime query default inode/directory
org.kde.dolphin.desktop
使用
xdg-open /
也会正确打开dolphin
我知道问题是chrome无法正确识别dolphin为文件管理器,但我不知道该如何修复
希望有人能提供帮助,十分感谢
最近编辑记录 Tofweod (2024-12-21 23:00:47)
离线
具体是什么问题呢?打开了别的软件?还是好像什么反应都没有?
离线
不好意思我的描述不够清晰,我具体举个例子吧
如下图当我点击选择文件时,本应打开一个文件管理器然后选择文件,但使用chrome却没有反应
我已经确定了dolphin是正常工作的,然后换成kde-plasma桌面环境,chrome可以打开文件管理器
离线
two desktop env?
i am a noob
离线
呃,这个是叫「文件选择对话框」,不是文件管理器……
大概是用了 xdg portal 吧。不过你用 dwm 的时候应该没有 portal 才对,然后 fallback 到 GTK 的对话框——或者其实有 portal 但是它出问题了?重现问题之后 journalctl -n 100 看看最近的日志。
离线
Dec 21 16:53:15 arch-tofweod systemd[1640]: Activating special unit Exit the Session...
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped target Main User Target.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Closed Socket to launch DrKonqi for a systemd-coredump crash.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopping Accessibility services bus...
Dec 21 16:53:15 arch-tofweod dbus-broker[1867]: Dispatched 13 messages @ 4(±3)μs / message.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopping dbus-:1.4-org.a11y.atspi.Registry@0.service...
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopping A simple, easy-to-use ddns service....
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopping Virtual filesystem service...
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopping PipeWire PulseAudio...
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopping Portal service...
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopping flatpak document portal service...
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopping sandboxed app permission store...
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped A simple, easy-to-use ddns service..
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped Accessibility services bus.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped dbus-:1.4-org.a11y.atspi.Registry@0.service.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped flatpak document portal service.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped Portal service.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped sandboxed app permission store.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped PipeWire PulseAudio.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped Virtual filesystem service.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Removed slice Slice /app/dbus-:1.4-org.a11y.atspi.Registry.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopping Multimedia Service Session Manager...
Dec 21 16:53:15 arch-tofweod wireplumber[1910]: wireplumber: stopped by signal: Terminated
Dec 21 16:53:15 arch-tofweod wireplumber[1910]: wireplumber: disconnected from pipewire
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped Multimedia Service Session Manager.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopping PipeWire Multimedia Service...
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped PipeWire Multimedia Service.
Dec 21 16:53:15 arch-tofweod systemd[1640]: pipewire.service: Consumed 4.327s CPU time, 6.3M memory peak.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped target Basic System.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped target Paths.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped Submitting pending crash events (file monitor).
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped target Sockets.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped target Timers.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Closed GnuPG network certificate management daemon.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Dec 21 16:53:15 arch-tofweod systemd[1640]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Dec 21 16:53:15 arch-tofweod systemd[1640]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Dec 21 16:53:15 arch-tofweod systemd[1640]: Closed GnuPG cryptographic agent and passphrase cache.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Closed GnuPG public key management service.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Closed p11-kit server.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Closed PipeWire PulseAudio.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Closed PipeWire Multimedia System Sockets.
Dec 21 16:53:15 arch-tofweod dbus-broker[1859]: Dispatched 5094 messages @ 9(±12)μs / message.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopping D-Bus User Message Bus...
Dec 21 16:53:15 arch-tofweod systemd[1640]: Stopped D-Bus User Message Bus.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Removed slice User Core Session Slice.
Dec 21 16:53:15 arch-tofweod systemd[1640]: session.slice: Consumed 7.016s CPU time, 80.4M memory peak.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Closed D-Bus User Message Bus Socket.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Removed slice User Application Slice.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Reached target Shutdown.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Finished Exit the Session.
Dec 21 16:53:15 arch-tofweod systemd[1640]: Reached target Exit the Session.
Dec 21 16:53:15 arch-tofweod (sd-pam)[1642]: pam_unix(systemd-user:session): session closed for user tofweod
Dec 21 16:54:15 arch-tofweod systemd[1660]: Queued start job for default target Main User Target.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Created slice User Application Slice.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Started Submitting pending crash events (file monitor).
Dec 21 16:54:15 arch-tofweod systemd[1660]: Cleanup lingering KCrash metadata was skipped because of an unmet condition check (ConditionPathExistsGlob=/home/tofweod/.cache/kcrash-metadata/*.ini).
Dec 21 16:54:15 arch-tofweod systemd[1660]: Submitting pending crash events was skipped because of an unmet condition check (ConditionPathExistsGlob=/home/tofweod/.cache/drkonqi/sentry-envelopes/*).
Dec 21 16:54:15 arch-tofweod systemd[1660]: Reached target Paths.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Reached target Timers.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Starting D-Bus User Message Bus Socket...
Dec 21 16:54:15 arch-tofweod systemd[1660]: Listening on GnuPG network certificate management daemon.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Listening on Socket to launch DrKonqi for a systemd-coredump crash.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Dec 21 16:54:15 arch-tofweod systemd[1660]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Dec 21 16:54:15 arch-tofweod systemd[1660]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Dec 21 16:54:15 arch-tofweod systemd[1660]: Listening on GnuPG cryptographic agent and passphrase cache.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Listening on GnuPG public key management service.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Listening on p11-kit server.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Listening on PipeWire PulseAudio.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Listening on PipeWire Multimedia System Sockets.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Listening on D-Bus User Message Bus Socket.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Reached target Sockets.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Reached target Basic System.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Starting A simple, easy-to-use ddns service....
Dec 21 16:54:15 arch-tofweod systemd[1660]: Cleanup lingering KCrash metadata was skipped because of an unmet condition check (ConditionPathExistsGlob=/home/tofweod/.cache/kcrash-metadata/*.ini).
Dec 21 16:54:15 arch-tofweod systemd[1660]: Starting Update XDG user dir configuration...
Dec 21 16:54:15 arch-tofweod systemd[1660]: Finished Update XDG user dir configuration.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Started A simple, easy-to-use ddns service..
Dec 21 16:54:15 arch-tofweod systemd[1660]: Reached target Main User Target.
Dec 21 16:54:15 arch-tofweod systemd[1660]: Startup finished in 200ms.
Dec 21 16:54:15 arch-tofweod (ddns-go)[1680]: ddns-go.service: Referenced but unset environment variable evaluates to an empty string: EXTRA_OPTS
Dec 21 16:54:15 arch-tofweod ddns-go[1680]: 2024/12/21 16:54:15 监听 :9876
Dec 21 16:54:17 arch-tofweod systemd[1660]: Created slice User Core Session Slice.
Dec 21 16:54:17 arch-tofweod systemd[1660]: Starting D-Bus User Message Bus...
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1869]: Service file '/usr/share/dbus-1/services/org.kde.dolphin.FileManager1.service' is not named after the D-Bus name 'org.freedesktop.FileManager1'.
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1869]: Service file '/usr/share/dbus-1/services/org.kde.kscreen.service' is not named after the D-Bus name 'org.kde.KScreen'.
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1869]: Service file '/usr/share/dbus-1/services/org.kde.plasma.Notifications.service' is not named after the D-Bus name 'org.freedesktop.Notifications'.
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1869]: Service file '/usr/share/dbus-1/services/org.knopwob.dunst.service' is not named after the D-Bus name 'org.freedesktop.Notifications'.
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1869]: Ignoring duplicate name 'org.freedesktop.Notifications' in service file '/usr/share/dbus-1/services/org.knopwob.dunst.service'
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1869]: Service file '/usr/share/dbus-1/services/org.xfce.Tumbler.Cache1.service' is not named after the D-Bus name 'org.freedesktop.thumbnails.Cache1'.
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1869]: Service file '/usr/share/dbus-1/services/org.xfce.Tumbler.Manager1.service' is not named after the D-Bus name 'org.freedesktop.thumbnails.Manager1'.
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1869]: Service file '/usr/share/dbus-1/services/org.xfce.Tumbler.Thumbnailer1.service' is not named after the D-Bus name 'org.freedesktop.thumbnails.Thumbnailer1'.
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1869]: Policy to allow eavesdropping in /usr/share/dbus-1/session.conf +31: Eavesdropping is deprecated and ignored
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1869]: Policy to allow eavesdropping in /usr/share/dbus-1/session.conf +33: Eavesdropping is deprecated and ignored
Dec 21 16:54:17 arch-tofweod systemd[1660]: Started D-Bus User Message Bus.
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1869]: Ready
Dec 21 16:54:17 arch-tofweod systemd[1660]: Starting Accessibility services bus...
Dec 21 16:54:17 arch-tofweod systemd[1660]: Started Accessibility services bus.
Dec 21 16:54:17 arch-tofweod dbus-broker-launch[1887]: Ready
Dec 21 16:54:18 arch-tofweod systemd[1660]: Created slice Slice /app/dbus-:1.4-org.a11y.atspi.Registry.
Dec 21 16:54:18 arch-tofweod systemd[1660]: Started dbus-:1.4-org.a11y.atspi.Registry@0.service.
Dec 21 16:54:18 arch-tofweod at-spi2-registryd[1919]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Dec 21 16:54:18 arch-tofweod systemd[1660]: Started PipeWire Multimedia Service.
Dec 21 16:54:18 arch-tofweod systemd[1660]: Started Multimedia Service Session Manager.
Dec 21 16:54:18 arch-tofweod ddns-go[1680]: 2024/12/21 16:54:18 你的IP 180.160.51.109 没有变化, 域名 arch.tofweod.top
Dec 21 16:54:18 arch-tofweod wireplumber[1932]: wp-internal-comp-loader: Loading profile 'main'
Dec 21 16:54:18 arch-tofweod wireplumber[1932]: wplua: [string "common-utils.lua"]:71: attempt to index a nil value (field 'source_plugin')
stack traceback:
[string "common-utils.lua"]:71: in function 'common-utils.get_object_manager'
[string "common-utils.lua"]:76: in function 'common-utils.get_default_metadata_object'
[string "find-defined-target.lua"]:37: in function <[string "find-defined-target.lua"]:24>
Dec 21 16:54:18 arch-tofweod wireplumber[1932]: wplua: [string "common-utils.lua"]:71: attempt to index a nil value (field 'source_plugin')
stack traceback:
[string "common-utils.lua"]:71: in function 'common-utils.get_object_manager'
[string "linking-utils.lua"]:331: in function 'linking-utils.findDefaultLinkable'
[string "find-default-target.lua"]:37: in function <[string "find-default-target.lua"]:23>
Dec 21 16:54:18 arch-tofweod wireplumber[1932]: default: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Dec 21 16:54:18 arch-tofweod wireplumber[1932]: wp-device: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
Dec 21 16:54:18 arch-tofweod wireplumber[1932]: s-monitors-libcamera: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.
Dec 21 16:54:18 arch-tofweod pipewire[1931]: pw.node: (alsa_output.pci-0000_00_1f.3.analog-stereo-54) graph xrun not-triggered (0 suppressed)
Dec 21 16:54:18 arch-tofweod pipewire[1931]: pw.node: (alsa_output.pci-0000_00_1f.3.analog-stereo-54) xrun state:0x736da507c008 pending:1/2 s:0 a:0 f:0 waiting:0 process:0 status:triggered
Dec 21 16:54:18 arch-tofweod systemd[1660]: Starting Portal service...
Dec 21 16:54:18 arch-tofweod systemd[1660]: Starting flatpak document portal service...
Dec 21 16:54:18 arch-tofweod systemd[1660]: Starting sandboxed app permission store...
Dec 21 16:54:18 arch-tofweod systemd[1660]: Started sandboxed app permission store.
Dec 21 16:54:18 arch-tofweod systemd[1660]: Started flatpak document portal service.
Dec 21 16:54:18 arch-tofweod xdg-desktop-por[2003]: Choosing gtk.portal for org.freedesktop.impl.portal.Lockdown as a last-resort fallback
Dec 21 16:54:18 arch-tofweod xdg-desktop-por[2003]: The preferred method to match portal implementations to desktop environments is to use the portals.conf(5) configuration file
Dec 21 16:54:18 arch-tofweod systemd[1660]: Starting Portal service (GTK/GNOME implementation)...
Dec 21 16:54:18 arch-tofweod xdg-desktop-por[2031]: cannot open display:
Dec 21 16:54:18 arch-tofweod systemd[1660]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 16:54:18 arch-tofweod systemd[1660]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Dec 21 16:54:18 arch-tofweod systemd[1660]: Failed to start Portal service (GTK/GNOME implementation).
Dec 21 16:54:18 arch-tofweod systemd[1660]: Starting Xdg Desktop Portal For KDE...
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2040]: qt.qpa.xcb: could not connect to display
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2040]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2040]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2040]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb, wayland-egl, wayland.
Dec 21 16:54:19 arch-tofweod systemd-coredump[2049]: Process 2040 (xdg-desktop-por) of user 1000 dumped core.
Stack trace of thread 2040:
#0 0x00007ad38b0a53f4 n/a (libc.so.6 + 0x963f4)
#1 0x00007ad38b04c120 raise (libc.so.6 + 0x3d120)
#2 0x00007ad38b0334c3 abort (libc.so.6 + 0x244c3)
#3 0x00007ad38b6905e8 n/a (libQt6Core.so.6 + 0x905e8)
#4 0x00007ad38b691571 _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x91571)
#5 0x00007ad38bcdef8b n/a (libQt6Gui.so.6 + 0xdef8b)
#6 0x00007ad38bd8bc18 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0x18bc18)
#7 0x00007ad38b75727d _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x15727d)
#8 0x00007ad38bd8bcae _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x18bcae)
#9 0x00007ad38c6f94e6 _ZN19QApplicationPrivate4initEv (libQt6Widgets.so.6 + 0xf94e6)
#10 0x00006340bc9683c0 n/a (n/a + 0x0)
#11 0x00007ad38b034e08 n/a (libc.so.6 + 0x25e08)
#12 0x00007ad38b034ecc __libc_start_main (libc.so.6 + 0x25ecc)
#13 0x00006340bc9688f5 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Main process exited, code=dumped, status=6/ABRT
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Starting Portal service (GTK/GNOME implementation)...
Dec 21 16:54:19 arch-tofweod xdg-desktop-por[2058]: cannot open display:
Dec 21 16:54:19 arch-tofweod systemd[1660]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 16:54:19 arch-tofweod systemd[1660]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Portal service (GTK/GNOME implementation).
Dec 21 16:54:19 arch-tofweod systemd[1660]: Starting Xdg Desktop Portal For KDE...
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2062]: qt.qpa.xcb: could not connect to display
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2062]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2062]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2062]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb, wayland-egl, wayland.
Dec 21 16:54:19 arch-tofweod systemd-coredump[2067]: Process 2062 (xdg-desktop-por) of user 1000 dumped core.
Stack trace of thread 2062:
#0 0x000075a7d96a53f4 n/a (libc.so.6 + 0x963f4)
#1 0x000075a7d964c120 raise (libc.so.6 + 0x3d120)
#2 0x000075a7d96334c3 abort (libc.so.6 + 0x244c3)
#3 0x000075a7d9c905e8 n/a (libQt6Core.so.6 + 0x905e8)
#4 0x000075a7d9c91571 _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x91571)
#5 0x000075a7da2def8b n/a (libQt6Gui.so.6 + 0xdef8b)
#6 0x000075a7da38bc18 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0x18bc18)
#7 0x000075a7d9d5727d _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x15727d)
#8 0x000075a7da38bcae _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x18bcae)
#9 0x000075a7dacf94e6 _ZN19QApplicationPrivate4initEv (libQt6Widgets.so.6 + 0xf94e6)
#10 0x00005a4bfdab93c0 n/a (n/a + 0x0)
#11 0x000075a7d9634e08 n/a (libc.so.6 + 0x25e08)
#12 0x000075a7d9634ecc __libc_start_main (libc.so.6 + 0x25ecc)
#13 0x00005a4bfdab98f5 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Main process exited, code=dumped, status=6/ABRT
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Starting Xdg Desktop Portal For KDE...
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2076]: qt.qpa.xcb: could not connect to display
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2076]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2076]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2076]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb, wayland-egl, wayland.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Started Launch DrKonqi for a systemd-coredump crash (PID 2050/UID 0).
Dec 21 16:54:19 arch-tofweod systemd[1660]: Started Launch DrKonqi for a systemd-coredump crash (PID 2068/UID 0).
Dec 21 16:54:19 arch-tofweod systemd-coredump[2083]: Process 2076 (xdg-desktop-por) of user 1000 dumped core.
Stack trace of thread 2076:
#0 0x00007f536f0a53f4 n/a (libc.so.6 + 0x963f4)
#1 0x00007f536f04c120 raise (libc.so.6 + 0x3d120)
#2 0x00007f536f0334c3 abort (libc.so.6 + 0x244c3)
#3 0x00007f536f6905e8 n/a (libQt6Core.so.6 + 0x905e8)
#4 0x00007f536f691571 _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x91571)
#5 0x00007f536fcdef8b n/a (libQt6Gui.so.6 + 0xdef8b)
#6 0x00007f536fd8bc18 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0x18bc18)
#7 0x00007f536f75727d _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x15727d)
#8 0x00007f536fd8bcae _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x18bcae)
#9 0x00007f53706f94e6 _ZN19QApplicationPrivate4initEv (libQt6Widgets.so.6 + 0xf94e6)
#10 0x00005b411cd213c0 n/a (n/a + 0x0)
#11 0x00007f536f034e08 n/a (libc.so.6 + 0x25e08)
#12 0x00007f536f034ecc __libc_start_main (libc.so.6 + 0x25ecc)
#13 0x00005b411cd218f5 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Main process exited, code=dumped, status=6/ABRT
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Started Launch DrKonqi for a systemd-coredump crash (PID 2084/UID 0).
Dec 21 16:54:19 arch-tofweod systemd[1660]: Starting Xdg Desktop Portal For KDE...
Dec 21 16:54:19 arch-tofweod drkonqi-coredump-launcher[2091]: Unable to find file for pid 2062 expected at "kcrash-metadata/xdg-desktop-portal-kde.2af63b71ec40475cbf804ea1c0e986b7.2062.ini"
Dec 21 16:54:19 arch-tofweod drkonqi-coredump-launcher[2087]: Unable to find file for pid 2040 expected at "kcrash-metadata/xdg-desktop-portal-kde.2af63b71ec40475cbf804ea1c0e986b7.2040.ini"
Dec 21 16:54:19 arch-tofweod drkonqi-coredump-launcher[2091]: Nothing handled the dump :O
Dec 21 16:54:19 arch-tofweod drkonqi-coredump-launcher[2087]: Nothing handled the dump :O
Dec 21 16:54:19 arch-tofweod drkonqi-coredump-launcher[2101]: Unable to find file for pid 2076 expected at "kcrash-metadata/xdg-desktop-portal-kde.2af63b71ec40475cbf804ea1c0e986b7.2076.ini"
Dec 21 16:54:19 arch-tofweod drkonqi-coredump-launcher[2101]: Nothing handled the dump :O
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2103]: qt.qpa.xcb: could not connect to display
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2103]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2103]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2103]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb, wayland-egl, wayland.
Dec 21 16:54:19 arch-tofweod systemd-coredump[2118]: Process 2103 (xdg-desktop-por) of user 1000 dumped core.
Stack trace of thread 2103:
#0 0x000073e954ea53f4 n/a (libc.so.6 + 0x963f4)
#1 0x000073e954e4c120 raise (libc.so.6 + 0x3d120)
#2 0x000073e954e334c3 abort (libc.so.6 + 0x244c3)
#3 0x000073e9554905e8 n/a (libQt6Core.so.6 + 0x905e8)
#4 0x000073e955491571 _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x91571)
#5 0x000073e955adef8b n/a (libQt6Gui.so.6 + 0xdef8b)
#6 0x000073e955b8bc18 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0x18bc18)
#7 0x000073e95555727d _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x15727d)
#8 0x000073e955b8bcae _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x18bcae)
#9 0x000073e9564f94e6 _ZN19QApplicationPrivate4initEv (libQt6Widgets.so.6 + 0xf94e6)
#10 0x00006315983133c0 n/a (n/a + 0x0)
#11 0x000073e954e34e08 n/a (libc.so.6 + 0x25e08)
#12 0x000073e954e34ecc __libc_start_main (libc.so.6 + 0x25ecc)
#13 0x00006315983138f5 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Main process exited, code=dumped, status=6/ABRT
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Starting Xdg Desktop Portal For KDE...
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2130]: qt.qpa.xcb: could not connect to display
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2130]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2130]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Dec 21 16:54:19 arch-tofweod xdg-desktop-portal-kde[2130]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb, wayland-egl, wayland.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Started Launch DrKonqi for a systemd-coredump crash (PID 2119/UID 0).
Dec 21 16:54:19 arch-tofweod drkonqi-coredump-launcher[2140]: Unable to find file for pid 2103 expected at "kcrash-metadata/xdg-desktop-portal-kde.2af63b71ec40475cbf804ea1c0e986b7.2103.ini"
Dec 21 16:54:19 arch-tofweod drkonqi-coredump-launcher[2140]: Nothing handled the dump :O
Dec 21 16:54:19 arch-tofweod systemd-coredump[2137]: Process 2130 (xdg-desktop-por) of user 1000 dumped core.
Stack trace of thread 2130:
#0 0x00007dd3484a53f4 n/a (libc.so.6 + 0x963f4)
#1 0x00007dd34844c120 raise (libc.so.6 + 0x3d120)
#2 0x00007dd3484334c3 abort (libc.so.6 + 0x244c3)
#3 0x00007dd348a905e8 n/a (libQt6Core.so.6 + 0x905e8)
#4 0x00007dd348a91571 _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x91571)
#5 0x00007dd3490def8b n/a (libQt6Gui.so.6 + 0xdef8b)
#6 0x00007dd34918bc18 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0x18bc18)
#7 0x00007dd348b5727d _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x15727d)
#8 0x00007dd34918bcae _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x18bcae)
#9 0x00007dd349af94e6 _ZN19QApplicationPrivate4initEv (libQt6Widgets.so.6 + 0xf94e6)
#10 0x000061e02bc213c0 n/a (n/a + 0x0)
#11 0x00007dd348434e08 n/a (libc.so.6 + 0x25e08)
#12 0x00007dd348434ecc __libc_start_main (libc.so.6 + 0x25ecc)
#13 0x000061e02bc218f5 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Main process exited, code=dumped, status=6/ABRT
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Started Portal service.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:19 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Starting Portal service (GTK/GNOME implementation)...
Dec 21 16:54:19 arch-tofweod xdg-desktop-por[2164]: cannot open display:
Dec 21 16:54:19 arch-tofweod systemd[1660]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 16:54:19 arch-tofweod systemd[1660]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Dec 21 16:54:19 arch-tofweod systemd[1660]: Failed to start Portal service (GTK/GNOME implementation).
Dec 21 16:54:20 arch-tofweod systemd[1660]: Started PipeWire PulseAudio.
Dec 21 16:54:20 arch-tofweod systemd[1660]: Started Launch DrKonqi for a systemd-coredump crash (PID 2138/UID 0).
Dec 21 16:54:20 arch-tofweod drkonqi-coredump-launcher[2208]: Unable to find file for pid 2130 expected at "kcrash-metadata/xdg-desktop-portal-kde.2af63b71ec40475cbf804ea1c0e986b7.2130.ini"
Dec 21 16:54:20 arch-tofweod drkonqi-coredump-launcher[2208]: Nothing handled the dump :O
Dec 21 16:54:25 arch-tofweod systemd[1660]: Starting Virtual filesystem service...
Dec 21 16:54:25 arch-tofweod systemd[1660]: Started Virtual filesystem service.
Dec 21 16:54:25 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Start request repeated too quickly.
Dec 21 16:54:25 arch-tofweod systemd[1660]: plasma-xdg-desktop-portal-kde.service: Failed with result 'core-dump'.
Dec 21 16:54:25 arch-tofweod systemd[1660]: Failed to start Xdg Desktop Portal For KDE.
Dec 21 16:54:25 arch-tofweod xdg-desktop-por[2003]: Failed to ReadAll() from Settings implementation: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'org.freedesktop.impl.portal.desktop.kde': startup job failed
Dec 21 16:54:25 arch-tofweod systemd[1660]: Starting Portal service (GTK/GNOME implementation)...
Dec 21 16:54:25 arch-tofweod xdg-desktop-por[2872]: cannot open display:
Dec 21 16:54:25 arch-tofweod systemd[1660]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Dec 21 16:54:25 arch-tofweod systemd[1660]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Dec 21 16:54:25 arch-tofweod systemd[1660]: Failed to start Portal service (GTK/GNOME implementation).
Dec 21 16:54:25 arch-tofweod xdg-desktop-por[2003]: Failed to ReadAll() from Settings implementation: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'org.freedesktop.impl.portal.desktop.gtk': startup job failed
离线
你的登录过程有问题。执行一下 dbus-update-activation-environment --systemd DISPLAY 能修正日志中的问题,但我不确定你还会不会有别的问题。
离线
谢谢帮助,问题已解决
在知道使用xdg-portal之后,我在archwiki上查到了dwm的相关设置,链接如下
XDG Desktop Portal
具体内容在3.1处
然后用
dbus-update-activation-environment --systemd DISPLAY
将DISPLAY更新到 systemd 的用户会话环境中
此时chrome就可以正常显示文件选择对话框了
最后再次感谢帮助
离线
页次: 1