How can I open files whose name contains sharps / hashes #
from the Cinnamon Nemo right-click context menu?
A Nemo action e.g. /usr/share/nemo/actions/unzap.nemo_action
which contains the line Exec=unzap "%F"
will open most files,
but fail to escape filenames which contain a #
.
Use
Exec=<open.py "unzap" %F>
instead ofExec=unzap "%F"
in theunzap.nemo_action
.The unescape the backslashes in
open.py
as follows: