Runit with KDE Plasma: krunner current working directory /
Martin Steigerwald
martin at lichtvoll.de
Wed Feb 15 09:24:23 GMT 2023
Martin Steigerwald - 14.02.23, 22:22:56 CET:
> > So the Exec= line in the desktop file appears to be ignored by
> > whatever starts krunner.
> >
> > I wonder whether I just restart krunner from my .zshrc or something
> > like that or from a file in ~/.config/plasma-workspace/env in case
> > that still works.
>
> That did not work either. Not sure whether executable shell script in
> there still get run by Plasma.
>
> However what works is switching the session type to Plasma (Wayland).
Also the following works:
% ~/.config/autostart> cat krunner.desktop
[Desktop Entry]
Comment[de_DE]=
Comment=
Exec=/usr/bin/krunner --daemon --replace
GenericName[de_DE]=
GenericName=
Icon=
MimeType=
Name[de_DE]=krunner
Name=krunner
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
Not nice, but it works.
I added this via the autostart manager.
> Then a konsole started from krunner is in $HOME.
>
> 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.
Ciao,
--
Martin
More information about the Debian-init-diversity
mailing list