I was looking at the KDE Dolphin Servicemenu documentation here:
https://develop.kde.org/docs/extend/dol ... ice-menus/
and I was trying to figure out how to add a context menu (servicemenu) option where if you right-click on a folder, under the "Actions" you could open the folder in XnView. However, I was not able to figure it out. I think it would involve sending a command to XnView on the command line, but I'm not sure what the command would be.
Has anyone already figured out how to do this?
KDE Dolphin integration?
Moderators: XnTriq, helmut, xnview
-
- Posts: 2
- Joined: Sat Dec 17, 2022 11:33 pm
Re: KDE Dolphin integration?
It looks like it was just a matter of creating a file called "open_in_xnview.desktop" in
with this:
It works, but I haven't been able to get the Icon to appear in the context menu.
Code: Select all
/usr/share/kio/servicemenus
Code: Select all
[Desktop Entry]
Type=Service
MimeType=inode/directory;
Actions=openInXnView
[Desktop Action openInXnView]
Name=Open In XnView
Icon=app-xnsoft-48
Exec=xnview '%u'