I have read this link, but there it's talking about nautilus, i am using a different file manager (PCManFm), but i want to add an item to all the right-click menus of the directory.
I have done the following:
added a file ~/.local/share/file-manager/actions/mkthumb.desktop
with the following context:
[Desktop Entry]
Type=Action
Tooltip=Generate all the thumbs on the folder
Name=Generate all the thumbs
MimeTypes=inode/directory
Exec=mkthumb.sh -s %u
this doesn't work (i don't even get the menu).
What am i doing wrong, how do i accomplish this? In the event if it's impossible to do this for both Nautilus and PCManFm, i will ask how to do that for the latter.
~/.gnome2/nautilus-scripts/
, make them executable and they'll appear in the Scripts submenu of the context menu. – whtyger Jul 20 '17 at 14:53