I get this error when I run 'plasmapkg -l' on my system. kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ("/home/kishore/.local/share", "/usr/share", "/usr/local/share") The relevant desktop file is '/usr/share/kservicetypes5/kwinscript.desktop' (without the dash). It seems to be searching for the wrong file.
(In reply to kishore96 from comment #0) > I get this error when I run 'plasmapkg -l' on my system. > > kf5.kcoreaddons.desktopparser: Could not locate service type file > kservicetypes5/kwin-script.desktop, tried ("/home/kishore/.local/share", > "/usr/share", "/usr/local/share") > > The relevant desktop file is '/usr/share/kservicetypes5/kwinscript.desktop' > (without the dash). It seems to be searching for the wrong file. Correction: The error occurs when I run 'plasmapkg2 -l'. I also get the same error when I run 'kpackagetool5 -l'.
Should this bug have been filed under the 'frameworks-kpackage' component?
I suspect it's either a Plasma bug of some type (whether it's plasmapkg2 from plasma-framework or kpackagetool5 from kpackage, who knows?) or old installed files from previous KF5 git installations that you may have forgot to clean out (I have that happen a lot myself). Either way it's not kcoreaddons, we're just the messenger in this case. I'll reassign to kpackage for now since it's the currently-approved method for handling Plasma packages and the Plasma devs can reassign from there if I got it wrong.
(In reply to Michael Pyne from comment #3) > . . . old > installed files from previous KF5 git installations that you may have forgot > to clean out (I have that happen a lot myself). I can reproduce this in a KDE Neon live session after installing a kwin script (to test, I used the 'sticky window snapping' [https://store.kde.org/p/1112552] script, and the 'maximise to new virtual desktop' [https://store.kde.org/p/1171196] script), so I don't think it is due to left over files.
(In reply to kishore96 from comment #4) > (In reply to Michael Pyne from comment #3) > > . . . old > > installed files from previous KF5 git installations that you may have forgot > > to clean out (I have that happen a lot myself). > > > I can reproduce this in a KDE Neon live session after installing a kwin > script (to test, I used the 'sticky window snapping' > [https://store.kde.org/p/1112552] script, and the 'maximise to new virtual > desktop' [https://store.kde.org/p/1171196] script), so I don't think it is > due to left over files. Correction. This was in another Arch installation in a VM. Sorry for the mistake. I keep on forgetting which VM I'm in.
Ah I think this is the issue of plasmapkg2 not installing the desktop file to the right place *** This bug has been marked as a duplicate of bug 386509 ***