Thank you, so i setup new service file recode.desktop in $ find ~/ -type d -name ServiceMenus
[Desktop Action act]
Name=Recode to UTF-8
Exec=recode ms-ee %U
but it shows the right click menu item only when i click normal text file, not when i click file like:
$ file --mime-type ~/Downloads/*.srt
When i set the recode.desktop file to text/plain instead of text/* then it started showing the menu.
But the file is not recoded after i click the menu entry, like the command is not executed. So i am wondering how to debug this.
UPDATE: when i launch $ dolphin from command line, and right click the file, it add line:
Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, “urls”)
when i click my custom menu entry it says:
/usr/bin/recode: Request `win-ee’ is erroneous
yes, in previous file version i have used erroneous parameter, but my current file has correct one: ms-ee
So do i have to restart something? I am launching Dolphin a new to test.