Lost "Open terminal here" on upgrade from Kubuntu 14.10 to 15.04

In Kubuntu 14.10, the option "Open terminal here" was available in Dolphin's Actions menu. When I upgraded to Kubuntu 15.04, this option disappeared. How can it be restored?


KF5 Service Menus

This is partial copy from: https://www.kubuntuforums.net/showthread.php?25740-Service-Menus-with-Dolphin&p=367207&viewfull=1#post367207

The Kubuntu 15.04 is a hybrid system. There are KDE4 applications and there are new KF5 applications.The KDE4 parts are looking the service menus from:

~/.kde/share/kde4/services/ServiceMenus/ and /usr/share/kde4/services/ServiceMenus/

The new KF5 service menus are at:

~/.local/share/kservices5/ServiceMenus/ and /usr/share/kservices5/ServiceMenus/

To get the KF5 service menus to the KDE4 applications the KF5 service menu directory can be linked to the KDE4 directory.

enter image description here

..and there are the KF5 service menus with the Dolphin (KDE4).

enter image description here

More of the Dolphin: https://www.kubuntuforums.net/showthread.php?67996-Bug-275405-Dolphin-ignores-file-association-for-scripts-but-executes-them


In my installation of Kubuntu 15.10 solution is bit different. Copy only service menus is not enought.

Desktop files are in the right place ~/.local/share/kservices5/ServiceMenus/ and /usr/share/kservices5/ServiceMenus/, but ingored.

The solution is to copy plugin .desktop file to the new place too: from /usr/share/kde4/servicetypes/konqpopupmenuplugin.desktop to /usr/share/kservicetypes5/konqpopupmenuplugin.desktop

Script to finally fix this:

# Copy Service Menus and symlink old and new place
cp -r ~/.kde/share/kde4/services/ServiceMenus/* ~/.local/share/kservices5/ServiceMenus/
rm -rf ~/.kde/share/kde4/services/ServiceMenus
ln -s ~/.local/share/kservices5/ServiceMenus ~/.kde/share/kde4/services/ServiceMenus

# Copy main plugin file
sudo cp /usr/share/kde4/servicetypes/konqpopupmenuplugin.desktop /usr/share/kservicetypes5/konqpopupmenuplugin.desktop

I had the same problem as Peter Petrovich on Kubuntu 15.10. I solved this one using a hard file system link without copying. Thus, you do not break backward compatibility:

sudo ln /usr/share/kde4/servicetypes/konqpopupmenuplugin.desktop /usr/share/kservicetypes5/konqpopupmenuplugin.desktop