Runit with KDE Plasma: krunner current working directory /

Martin Steigerwald martin at lichtvoll.de
Wed Feb 15 09:37:19 GMT 2023


Martin Steigerwald - 15.02.23, 10:24:23 CET:
> > Could it be that with X11 DBUS activation is always used, no matter
> > what is in the desktop file?
> 
> Could indeed be:
> 
> % dpkg -L plasma-workspace | grep krunner | grep -v 'linux-gnu'
> /usr/bin/krunner
> /usr/lib/systemd/user/plasma-krunner.service
> /usr/share/dbus-1/services/org.kde.krunner.service
> /usr/share/kglobalaccel/org.kde.krunner.desktop
> /usr/share/krunner
> /usr/share/krunner/dbusplugins
> /usr/share/krunner/dbusplugins/plasma-runner-baloosearch.desktop
> 
> % cat /usr/share/dbus-1/services/org.kde.krunner.service
> [D-BUS Service]
> Name=org.kde.krunner
> Exec=/usr/bin/krunner
> SystemdService=plasma-krunner.service
> 
> So what may also work, is just removing that dbus service file, what
> do you think, Lorenzo? Trying this. Will report back.

Well without that DBUS service file krunner is not running and is also 
not started by Alt-Space shortcut.

So at least that seems to be a confirmation that it is this DBUS service 
file that starts krunner. So your suspicion might be correct that it is 
something to do with dbus-x11. Also that it does not happen with a 
Wayland session points at that.

And I can at least confirm that the current working directory of kwalletd 
and kiod5 is also /. I bet those are started by the corresponding 
service files in /usr/share/dbus-1/services.

I think that pretty much nails it, what do you think? If you agree, I'd 
file a report for dbus-x11.

Best,
-- 
Martin





More information about the Debian-init-diversity mailing list