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

How to change dolphin context menu ...?

Tags: None
(comma "," separated)
thugo
Registered Member
Posts
45
Karma
0
Hello everybody,

I wrote a .desktop file and put it into ~/.kde/share/kde4/services/ServiceMenus.
The file contains the following:

Code: Select all
[Desktop Action Amarok abspielen sofort]
Exec=amarok -l -p %U
Icon=amarok
Name=Play

[Desktop Entry]
Actions=Amarok abspielen sofort;
MimeType=inode/directory
ServiceTypes=
Type=Service
X-KDE-Priority=TopLevel
X-KDE-ServiceTypes=KonqPopupMenu/Plugin,,audio/*
X-KDE-Submenu=


After closing and restarting dolphin ... nothing has changed in the context menu.
What am I missing?

Best regards from Germany!
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Your Dolphin version ?

Earlier: Service Menus Missing - viewtopic.php?f=223&t=128621

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/


At here, Dolphin 17.12, adding your desktop file to the ~/.local/share/kservices5/ServiceMenus/

Image

Seems to work.
thugo
Registered Member
Posts
45
Karma
0
Dear Rog131,

thank you so much!

I searched the web for several hours without success ... and you made it happen so easily! It works like a charm. Very beautiful.

I have edited the german ubuntuusers wiki as it has a lengthy article on KDE service menus ... (of course with the outdated paths). ... Thank you again!

I wish you all a happy new year!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient, Yahoo [Bot]