Bug 389926 - Missing Service Menus
Summary: Missing Service Menus
Status: RESOLVED FIXED
Alias: None
Product: krename
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Heiko Becker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-05 19:11 UTC by Alan Dacey Sr.
Modified: 2018-02-15 02:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Service menu for file only rename (520 bytes, application/x-desktop)
2018-02-05 19:11 UTC, Alan Dacey Sr.
Details
Service menu for folders (622 bytes, application/x-desktop)
2018-02-05 19:13 UTC, Alan Dacey Sr.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Dacey Sr. 2018-02-05 19:11:52 UTC
Created attachment 110360 [details]
Service menu for file only rename

I installed krename 4.0.9 on a new install of Kubuntu 17.10. There are no service menus included with this release. I'd like to have the option to right click on files and rename them.
I copied the old service menus from an old Kubuntu 14.04 install and they work as expected. The missing files are attached.
Comment 1 Alan Dacey Sr. 2018-02-05 19:13:05 UTC
Created attachment 110361 [details]
Service menu for folders
Comment 2 Heiko Becker 2018-02-07 11:33:08 UTC
Hmm, https://packages.ubuntu.com/artful/amd64/krename/filelist shows me

...
/usr/share/kde4/services/ServiceMenus/krename_all_nonrec.desktop
/usr/share/kde4/services/ServiceMenus/krename_dir_rec.desktop
...

So I'm not sure what's wrong there. Perhaps some runtime component is missing with the general move to KF5/Qt5.

If you're willing to compile krename yourself, you can also test the beta version of the upcoming v5: https://download.kde.org/unstable/krename/4.90.90/krename-4.90.90.tar.xz
Comment 3 Alan Dacey Sr. 2018-02-12 20:56:44 UTC
The service menus are in the wrong place, at least for Kubuntu and KDE 5. That folder is for KDE 4. I do indeed have the service menus in /usr/share/kde4/services/ServiceMenus but they need to be in /usr/share/kservices5/ServiceMenus for them to work.
I moved my service menus out of the kservices5 folder and Krename did not show up in dolphin under Actions after right-clicking. I moved them back and it re-appeared. 
So I guess my bug report should read to put them in /usr/share/kservices5/ServiceMenus.
Comment 4 Heiko Becker 2018-02-13 08:31:27 UTC
(In reply to Alan Dacey Sr. from comment #3)
> The service menus are in the wrong place, at least for Kubuntu and KDE 5.
> That folder is for KDE 4. I do indeed have the service menus in
> /usr/share/kde4/services/ServiceMenus but they need to be in
> /usr/share/kservices5/ServiceMenus for them to work.

Will be fixed in 5.0.0, which is ported to Qt5/KF5 and will be released as soon as more mirrors have synced.
If you want to build from source until your distro picks it up: https://userbase.kde.org/KRename#Build_from_source
Comment 5 Alan Dacey Sr. 2018-02-15 02:50:49 UTC
Thanks, Heiko!