Adding new actions to Dolphin context menu seems possible in Microsoft Windows. But it shows a permission error with the message “You are not authorized to execute this file”.
Is there a way to solve that?
STEPS TO REPRODUCE
- Download the last portable version of Dolphin for Windows in:
https://cdn.kde.org/ci-builds/system/dolphin/master/windows/dolphin-master-5102-windows-cl-msvc2022-x86_64.7z - Extract the file in some folder
- Create a Dolphin service menu using the procedure specified at:
Creating Dolphin service menus | Developer
3.1. Create a file “myservicemenu.desktop” in the locaction
C:\Users\USER\AppData\Local\kio\servicemenus\myservicemenu.desktop
(where “USER” is the current user)
3.2. Specify the action as:
[Desktop Entry]
Type=Service
MimeType=all/all;
Actions=MyCustomAction;
[Desktop Action MyCustomAction]
Name=Custom Action
Icon=edit
Exec=notepad.exe %f
- Execute
dolphin.exe
from thebin
folder extracted in step 2, - Right click any plain text file and choose new item “Custom Action” added in step 3
OBSERVED RESULT
BUG REPORT: 498581 – Permission error when adding actions to Dolphin context menu in Windows version