Okay, here's what finally worked in Filezilla to use Notepadqq as the default editor (example for .htm files):
htm "/var/lib/flatpak/exports/bin/com.notepadqq.Notepadqq"
Some keywords for anyone else who may be searching on this exact same issue:
filezilla command path flatpak notepadqq settings filetype associations custom filetype
I'm running Mint 19.1 and my question is in regards to setting a default editor for text files in FIlezilla.
Currently I have xed 2.02 sitting on the desktop and I managed to get it to be the default editor in Filezilla to use when I open a text file.
Xed is a little too limited for my use, so I installed Notepadqq via Flatpak (from the Software Manager). It's also sitting on the desktop.
Try as I might, I can't get it to be the default editor for text files in Filezilla. Clicking on the Properties menu item, it shows me this:
Code: Select all
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=notepadqq --file-forwarding com.notepadqq.Notepadqq @@u %U @@
This is what works to use xed as the default editor in Filezilla:
htm "/usr/bin/xed"
txt "/usr/bin/xed"
How do I set this to use Notepadqq the default editor for text files in Filezilla? No matter what I use, it pops up this error when I try to save the Filezilla settings:
Associated program not found:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=notepadqq --file-forwarding com.notepadqq.Notepadqq @@u %U @@
What would be the command to enter into the Filezilla setup dialog?
I suspect this may be due to the fact that it was installed as a Flatpak file, but I don't really know.