You are not logged in.

#1 2015-08-23 14:33:22

Potomac
Member
Registered: 2011-12-25
Posts: 556

[solved][KF5 dolphin] no service menus in dolphin

Hello,

Dolphin (KF5 version ) 15.08 has been released in archlinux repository,

I notice a problem : the "service menu" feature is missing, I can not use my service menus created in "~/.kde4/share/kde4/services/ServiceMenus/"

how can I fix this problem ?

what is the correct folder for "dolphin KF5" in order to store the service menus files ?

thanks

Last edited by Potomac (2015-08-23 15:33:30)

Offline

#2 2015-08-23 15:01:45

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,313

Re: [solved][KF5 dolphin] no service menus in dolphin

~/.local/share/kservices5/ServiceMenus/

Offline

#3 2015-08-23 15:16:29

Potomac
Member
Registered: 2011-12-25
Posts: 556

Re: [solved][KF5 dolphin] no service menus in dolphin

I already tried it and it doesn't work,

for example I created a service menu file in order to edit a file with root rights :

[Desktop Entry]
Encoding=UTF-8
Type=Service
ServiceTypes=KonqPopupMenu/Plugin,all/all
Actions=editRoot
 
[Desktop Action editRoot]
Name=Edit as root
Name[fr]=Editer en tant que root
Icon=kfm
Exec=kdesu "kate" "%U"

then I put this service menu file ( root.desktop ) in ~/.local/share/kservices5/ServiceMenus/

then I reopen Dolphin, and I go to "/etc" in order to right click the file "locale.conf", and I don't see a sub-menu "actions" or a menu "edit as root", so there is a problem, or a bug related to "service menus",

maybe also I need to install an optional package in order to use the service menus feature in KF5 dolphin ?

Arojas have you really tested this service menu feature ?

I don't use plasma 5, I am still using KDE4 plasma version

Last edited by Potomac (2015-08-23 15:18:02)

Offline

#4 2015-08-23 15:21:44

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,313

Re: [solved][KF5 dolphin] no service menus in dolphin

Works for me. Have you ran kbuildsycoca5?

Offline

#5 2015-08-23 15:31:48

Potomac
Member
Registered: 2011-12-25
Posts: 556

Re: [solved][KF5 dolphin] no service menus in dolphin

no, I didn't run the file "kbuildsycoca5", why should I need to run manually "kbuildsycoca5" ?

this should be done in a "post_upgrade() or post_install() functions" in the archlinux package of dolphin, that's why I think it's a bad packaging,

now I have just done what you said ( run kbuildsycoca5 ) and it solves the problem, thanks,

I think you should rebuild the dolphin package ( 15.08 ) by adding this "post_ugrade/post_install" in order to run automatically "kbuildsycoca5" during the first installation of dolphin KF5 for users who used the KDE4 version of dolphin

Last edited by Potomac (2015-08-23 15:32:31)

Offline

#6 2015-08-23 15:37:49

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,313

Re: [solved][KF5 dolphin] no service menus in dolphin

because you installed your script manually, that's why you should run kbuildsycoca manually. It's not our job to take care of stuff installed in your home dir.

Offline

#7 2015-08-23 15:58:11

Potomac
Member
Registered: 2011-12-25
Posts: 556

Re: [solved][KF5 dolphin] no service menus in dolphin

creating a service menu file ( *.desktop ) in our home directory doesn't imply to run manually an unfriendly binary file "kbuildsycoca5", there is no information about this in the wiki,
     
and I find this with a google search :

Users do not normally need to run this application directly; KService
       will run it if necessary, and if KDED is installed and running it will
       run kbuildsyscoca5 whenever any of the files whose data is cached are
       changed.

http://manpages.ubuntu.com/manpages/viv … ca5.8.html

if you think it's not a bad packaging then there is still a problem : users should not have to run manually "kbuildsycoca5" when they create a servicemenu file,

don't forget that there are 2 use cases :

- people who use both KDE4 ( plasma 4 ) and KF5 softwares

- people who use both plasma 5 and KF5 softwares

I am in the first use case, do I need to install a package in order to run automatically "kbuildsycoca5" ?

or enable a systemd service related to KF5/kbuildsycoca5" ?

you seem to have a good knowledge about KF5/Plasma 5, it would be great if you can create a wiki page with all advices, hints, help about KF5, plasma 5, and especially advices for people who use KDE4 with KF5 in order to solve weird issues like this

Last edited by Potomac (2015-08-23 16:03:59)

Offline

#8 2015-08-23 23:51:03

ChemBro
Member
Registered: 2008-10-22
Posts: 704

Re: [solved][KF5 dolphin] no service menus in dolphin

Potomac wrote:

if you think it's not a bad packaging then there is still a problem : users should not have to run manually "kbuildsycoca5" when they create a servicemenu file,

The alternative is restarting KDE.

Offline

Board footer

Powered by FluxBB