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

--- Comment #10 from Natalie Clarius <natalie_clar...@yahoo.de> ---
(In reply to Flupp from comment #9)
> I checked several Plasma versions to find out which metadata formats work or
> don’t work for each version.
> 
> ...
> 
> From that I infer that, for maximal backwards compatibility, we are stuck
> with the variant `metadata.desktop` with `X-KDE-Library` and with symlink
> for quite some time when there is no further bugfix release for Plasma 5.23
> assuming many distributions currently using Plasma 5.23 won’t switch to a
> newer version soon. That is unfortunate because this variant requires manual
> intervention by the user creating the symlink even with the newest Plasma
> version.

Thanks a lot for taking the time to investigate and summarize this!

The variant I went with now was to publish the metadata with
`X-KDE-ConfigModule`, and instruct users of older Plasma versions to run a sed
command replacing that part with `X-KDE-Library` before creating the symlink:

> sed -i 's/ConfigModule/Library/g' 
> ~/.local/share/kwin/scripts/floatingtiles/metadata.desktop
> mkdir -p ~/.local/share/kservices5/
> ln -sf ~/.local/share/kwin/scripts/floatingtiles/metadata.desktop 
> ~/.local/share/kservices5/floatingtiles.desktop
> qdbus org.kde.KWin /KWin reconfigure

If they have to manually intervent anyway, might as well add one line more, and
that way at least users of an up-to-date system can use the scripts
out-of-the-box. 

But of course it would be preferable if there was a fix for older Plasma
versions so it works automatically for them too.

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

Reply via email to