https://bugs.kde.org/show_bug.cgi?id=429168

--- Comment #33 from Duncan <1i5t5.dun...@cox.net> ---
(In reply to David Edmundson from comment #6)
> >My guess is that [kwin's] private sharing arrangement [for] plasmashell[, 
> >while] working for some, for whatever reason (missing dependency?) [isn't] 
> >working here.
> 
> It's a likely guess. Debug of plasmashell should tell you.
> Our sharing arrangement is done by keys in the .desktop file and matching
> paths.

Following this hint, after a bit of looking I found the
X-KDE-Wayland_Interfaces= setting in a number of *.desktop files:

In /share (and also in /usr via /usr -> . symlink):

/share/kglobalaccel/
org.kde.krunner.desktop

/share/kservicetypes5
application.desktop

/share/applications
org.kde.plasma.browser_integration.host.desktop
org.kde.plasmawindowed.desktop
org.kde.plasmashell.desktop

In /etc:

/etc/xdg/autostart/
org.kde.plasmashell.desktop  (identical to the one in /share/applications)

Comparing the plasmashell *.desktop against those for krunner and
browser_integration, they all three have in their X-KDE-Wayland-Interfaces=
line:

org_kde_plasma_window_management

And for the latter two it seems to work, as krunner can see and activate
windows based on their titles (presumably the krunner file) and can see and
switch tabs in firefox (presumably the browser_integration file).

But it doesn't seem to work for plasmashell...

Could it be that plasmashell is started by path instead of via the *.desktop
file, or otherwise doesn't match it, so doesn't get the benefit of its
X_KDE_Wayland_Interfaces= line?


Note that I do not run a *DM here, instead starting plasma from the CLI using a
script that simply does:

dbus-run-session startplasma-wayland

Maybe when started by that method, plasmashell is launched via shell path
instead of the *.desktop file, despite the /etc/xdg/autostart/ *.desktop file?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to