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

How to change the order of own entries to the context menu?

Tags: None
(comma "," separated)
thugo
Registered Member
Posts
45
Karma
0
Well, the headline says it all.
With your help I managed to add my own entries to the dolphin context menu.

Can anyone tell me, how to define in which order these entries appear?

Best greetings from Germany.
;-)
User avatar
blue_bullet
Registered Member
Posts
87
Karma
0
OS
If I understand your question you can do the following in Dolphin:

Right mouse click on a file of interest,
select Properties,
Left click on File Type Properties,
on the General Tab you can add operations, or select existing operations and move them up or down in the menu order,
apply the changes and you are done.


Migrated from Linux Mint 17.3/18.3 KDE to KDE neon User Edition.
User avatar
Rog131
Registered Member
Posts
828
Karma
10
The order of the entries can be set with the 'InitialPreference' key in the desktop file.

The highest 'InitialPreference' will become first.

Code: Select all
[Desktop Entry]
Type=Service
Icon=list-remove
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=video/*;application/x-flash-video;application/vnd.ms-asf;application/vnd.rn-realmedia;
Actions=removeVideoThumbnail;
#X-KDE-Priority=TopLevel
X-KDE-Submenu=Video Thumbnail Fixer
Encoding=UTF-8
InitialPreference=99

[Desktop Action removeVideoThumbnail]
Name=Remove selected video thumbnails
Icon=list-remove
Exec=mattepaint-remover.pl "%U"



=>

Image


Earlier: Service Menus: how to define order? - viewtopic.php?f=224&t=126624
thugo
Registered Member
Posts
45
Karma
0
Thank you Blue Bullet for your reply!
It was not what I was looking for, but it is also very useful information ... and I probably would have looked for it in the near future. Thank you!

And thank you Rog131 again!
You saved me once again! :-)
And I put this information into the german Wiki too!
Wonderful!

I wish you all a very nice day!
thugo
Registered Member
Posts
45
Karma
0
Say, Rog131, since you are such an expert in this topic, do you know if it is possible to remove default items from the context menu. Nobody answered to my question here:
viewtopic.php?f=224&t=143464&p=385871#p385871


Bookmarks



Who is online

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