Is it possible to restrict a Dolphin service menu to a specific location/path?

Dolphin co-maintainer here.

I am happy to heard that, I implemented it.

but there is no option to “go to target” or “open containing folder” option for recent files.

It would be very simple to add. I thought it was there. Adding it Add open containing folder options for files in recentlyused:/ (!616) · Merge requests · System / Dolphin · GitLab

I would like to add a service menu for that (containing Exec=dolphin %d), but can I make it appear only for the location recentlyused:/files/ — because having that appearing at the location Dolphin already is makes little sense — ?

That’s possible, you can follow the documentation Creating Dolphin Service Menus | Developer and set “X-KDE-Protocols” to “recentlyused” with “MimeType” “application/octet-stream”.

4 Likes