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

--- Comment #7 from Elvis Angelaccio <elvis.angelac...@kde.org> ---
(In reply to Peter from comment #6)
> I'm coming to the realization that none of these scripts work particularly
> well. I have not been able to install (or uninstall) any of the downloaded
> Services (most downloads) for Dolphin. `.desktop` files fail at the `qtpaths
> --writable-path GenericDataLocation` on my fresh install of KDE Neon, and
> will also try going into a directory that doesn't exist. I believe this was
> written for KDE4 and hasn't really been updated for Plasma5. Can someone
> please confirm my findings? 

No, it was updated for Plasma 5. I just tried with a couple of services, one
was installed and the other was not. I think the problem might be in the
service itself.

> 
> /usr/bin/servicemenuinstallation fails at `$servicedir = `qtpaths
> --writable-path GenericDataLocation`.strip!  + "/kservices5/ServiceMenus/"`

This folder should be created at the beginning of servicemenuinstallation.

> 
> /usr/bin/servicemenudeinstallation fails at the same line of code (if the
> file is a .desktop) or will fail at `dd = Dir.new(dir)` (as the folder does
> not exist)
> 
> Happy to rewrite for new plugin support. Just need to make sure this isn't
> just me

The script can definitely be improved. It would be nice if it were at least
logging failures somewhere.

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

Reply via email to