https://bugs.kde.org/show_bug.cgi?id=371907
Bug ID: 371907 Summary: Dolphin, KDE Framework, service menu installation and deinstallation ruby scripts are using KDE4 paths Product: dolphin Version: 16.08.2 Platform: Archlinux Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: dolphin-bugs-n...@kde.org Reporter: samrog...@hotmail.com Target Milestone: --- servicemenuinstallation ruby script has line: $servicedir = `kde4-config --localprefix`.strip! + "share/kde4/services/ServiceMenus/" servicemenudeinstallation ruby script has line: FileUtils.rm(`kde4-config --localprefix`.strip! + "share/kde4/services/ServiceMenus/" + File.basename(archive)) Test - execute: $ servicemenuinstallation test.desktop Result: /usr/bin/servicemenuinstallation:43: warning: key "application/x-gtar" is duplicated and overwritten on line 50 Single-File Service-Menu test.desktop /home/USER/.kde4/share/kde4/services/ServiceMenus/ => The test.desktop is installed to the wrong place and the Dolphin 16.08.2 can't see it. With the KDE Frameworks 5 the service paths are: 'kf5-config --path services' so the lines could be: $servicedir = `kf5-config --path services`.split(':').first + "ServiceMenus/" FileUtils.rm(`kf5-config --path services`.split(':').first + "ServiceMenus/" + File.basename(archive)) Making the changes - Testing - executing: $ servicemenuinstallation test.desktop /usr/bin/servicemenuinstallation:43: warning: key "application/x-gtar" is duplicated and overwritten on line 50 Single-File Service-Menu test.desktop /home/USER/.local/share/kservices5/ServiceMenus/ and the $ servicemenudeinstallation test.desktop Will remove the test.desktop from /home/USER/.local/share/kservices5/ServiceMenus/ -- You are receiving this mail because: You are watching all bug changes.