This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Service Menus Missing

Tags: None
(comma "," separated)
glepore70
Registered Member
Posts
59
Karma
0

Service Menus Missing

Sun Oct 04, 2015 9:14 pm
Running Dolphin 15.08.01 on Kde Frameworks 5.14.0. After a recent install of Kubuntu Wily beta I no longer have any service menus in Dolphin, nor do I have the Sharing tab under properties (may be two separate issues.) I've installed Ark and Krename and I am accustomed to seeing their service menus when I right click on a file, compressed file, or folder.

I've also installed Samba and other networking files, but the Sharing tab does not appear. I am using system-config-samba to share folders, which works fine, but I would like the Dolphin tab to appear.

Any ideas or suggestions?
luebking
Karma
0

Re: Service Menus Missing

Mon Oct 05, 2015 7:41 am
Check the installation path of the ark desktop service (likely /usr/share/kde4/services/ServiceMenus/)

In konsole, run "strace kbuildsycoca5 2>&1 | grep kde4" to check whether it collects service files from that directory at all.
If not, the problem is KF/5 dolphin not seeing KDE SC4 service files - report to your distro.
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Service Menus Missing

Mon Oct 05, 2015 9:12 am
Service Menus
( Kubuntu forums: https://www.kubuntuforums.net/showthrea ... post367207 )

The KDE4 service menus are at:
~/.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/

Krename KDE4

The Krename is a KDE4 application - > http://packages.ubuntu.com/wily/amd64/krename/filelist .
It is installing the Service Menus to the /usr/share/kde4/services/ServiceMenus/

A workaround is to link the /usr/share/kde4/services/ServiceMenus/ to the /usr/share/kservices5/ServiceMenus/.

Or copy the /usr/share/kde4/services/ServiceMenus/krename_all_nonrec.desktop and /usr/share/kde4/services/ServiceMenus/krename_dir_rec.desktop to the ~/.local/share/kservices5/ServiceMenus/ .

Ark KF5

The Ark is a KF5 application. It should install the Service Menus to the /usr/share/kservices5/ServiceMenus/ -> http://packages.ubuntu.com/wily/amd64/ark/filelist

The command:
Code: Select all
dpkg -L ark

should list the installed files with paths.

kbuildsycoca5

execute the command:
Code: Select all
kbuildsycoca5

or
Code: Select all
kbuildsycoca5 --noincremental


Any error messages ?


Code: Select all
$ kbuildsycoca5 --help
Usage: kbuildsycoca5 [options]
Rebuilds the system configuration cache.

Options:
  -h, --help         Displays this help.
  -v, --version      Displays version information.
  --author           Show author information.
  --license          Show license information.
  --nosignal         Do not signal applications to update
  --noincremental    Disable incremental update, re-read everything
  --checkstamps      Check file timestamps
  --nocheckfiles     Disable checking files (dangerous)
  --global           Create global database
  --menutest         Perform menu generation test run only
  --track <menu-id>  Track menu id for debug purposes
  --testmode         Switch QStandardPaths to test mode, for unit tests only



Sharing tab does not appear

Maybe: Bug 351699 - Whereis Share Folder - https://bugs.kde.org/show_bug.cgi?id=351699
glepore70
Registered Member
Posts
59
Karma
0

Re: Service Menus Missing

Mon Oct 05, 2015 12:58 pm
Thanks for the suggestions. I think I was able to follow all of the instructions, but it does not appear to have solved the problem.

ls ~/.local/share/kservices5/ServiceMenus/
krename_all_nonrec.desktop krename_dir_rec.desktop

ls /usr/share/kservices5/ServiceMenus/
ark_addtoservicemenu.desktop dragonplayer_play_dvd.desktop konsolehere.desktop krename_all_nonrec.desktop slideshow.desktop
ark_servicemenu.desktop installfont.desktop konsolerun.desktop krename_dir_rec.desktop

kbuildsycoca5
kbuildsycoca5 running...
Reusing existing ksycoca
Recreating ksycoca file ("/home/lepore/.cache/ksycoca5", version 303)
Still in the time dict (i.e. deleted files) ("apps")
Saving
Emitting notifyDatabaseChanged ("apps")

Ark appears to be putting the files in the right place:

dpkg -L ark | grep desk

/usr/share/kservices5/ServiceMenus/ark_servicemenu.desktop
/usr/share/kservices5/ServiceMenus/ark_addtoservicemenu.desktop

The Sharing Tab definitely appears to be bug 351699. It looks like there's some action on that bug, so I can wait for it.

Any other suggestions? Thanks again.
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Service Menus Missing  Topic is solved

Mon Oct 05, 2015 3:03 pm
There was same kind of problem with the Arch Linux: https://bbs.archlinux.org/viewtopic.php ... 6#p1548876

Do you have the /usr/share/kservicetypes5/konqpopupmenuplugin.desktop ?

By the Ubuntu package search: http://packages.ubuntu.com/search?searc ... y&arch=any . It is part of the package libkonq-common.

With the Arch the konqpopupmenuplugin.desktop is part of the Dolphin:
$ pacman -Qo /usr/share/kservicetypes5/konqpopupmenuplugin.desktop
/usr/share/kservicetypes5/konqpopupmenuplugin.desktop is owned by dolphin 15.08.1-1


You could try the linking and if it helps then file a bug in the Launchpad.
glepore70
Registered Member
Posts
59
Karma
0

Re: Service Menus Missing

Mon Oct 05, 2015 4:34 pm
Reinstalling libkonq-common didn't have any effect, but running:

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

fixed the problem for me. Thanks.
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Service Menus Missing

Fri Oct 09, 2015 3:40 pm
The Dolphin service menu bug is https://bugs.kde.org/show_bug.cgi?id=350769


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee, Sogou [Bot]