Is there a GUI way to make context menu items in Plasma/Dolphin?

I’m trying to add some context menu items for when you right-click files on the desktop or in Dolphin, just like I had on XFCE and which I was able to set up in a GUI setting there.

But I’m now fearing that there is no GUI way to do this, or even a simple config file in this case, and that you must follow this confusing and involved guide (which keeps mentioning how “simple” it is!): Creating Dolphin Service Menus | Developer

Is there really no GUI way to add your own “actions” to context menus? Is the only way doing what that webpage says? Or is “Service Menu” something different entirely?

There are some like Menu creator, but other than that it’s mainly manual. If that one’s too complicated I suggest you look up some on the kde store. Some you can install through the “get new service menus” in dolphin, some require a manual install.

1 Like

I’ve never tried Dolphin service menus creator but it may be what you want.
With elementary scripting skills I have made dozens of custom context menu items for myself manually - it is simple and easy indeed.
Also, you can start with the many Service Menu add-ons easily installable from Dolphin menu: Settings > Configure Dolphin… > Context Menu > Download New Services…

Installed the thing for the sake of the topic. Works just fine.

1 Like

They say it doesn’t support multiple actions. It seems this is the only weak point at the moment.

What do you mean by multiple actions? It supports submenus and scripts so I don’t really see an issue here.
Anywho. It isn’t part of default kde, not a base ( whatever) app so some users might be afraid of it.
In terms of kde purists, so to speak, this thing doesn’t exist. Forget I mentioned it.

I was referring to this line at its kde store web page:
Note: this program does not support multi-actions for a single .desktop file
Maybe this is outdated?

Maybe. But those seem to be the same lines as the first edition. Which, btw, isn’t updated in the dolphin “get new…”. One user commented about it on the page.

Doesn’t matter really. If someone would dare to venture this Dante’s inferno it would have to be manual anyway.

1 Like

For example, I have created this file: ~/.local/share/kio/servicemenus/image-jpg-actions_servicemenu.desktop

[Desktop Entry]
X-KDE-Submenu=Image Actions

[Desktop Action combine-horizontal]
Name=Combine horizontally
Exec=/usr/bin/env zsh -c ‘convert +append “${@}” combined-image_$(date +%s).jpg’ zsh %F

[Desktop Action combine-vertical]
Name=Combine vertically
Exec=/usr/bin/env zsh -c ‘convert -append “${@}” combined-image_$(date +%s).jpg’ zsh %F

[Desktop Action merge-jpg2gif]
Name=Merge to GIF
Exec=“~/.local/share/kio/servicemenus/image/merge-jpg2gif.zsh” %F

Nah. Tried to create some subs in it. No go ( at least…dunno how). Aaaand, you need to export the file after which it requires a bash install. Waaaay too complicated. The user will not like it.

Maybe this promising tool can be improved with more people contributing to its development in time…

You Never know. Could be handy.