I'm using neovim-gtk as my text editor, which I've compiled myself. I'd like to set it as the default text editor in MATE's Preferred Applications, but there's no such option.
There is a desktop file in ~/.local/share/applications/org.daa.NeovimGtk.desktop, which contains the following contents:
[Desktop Entry] Name=NeovimGtk Comment=Gtk GUI for Neovim text editor Exec=/home/bmc/.local/bin/nvim-gtk -- %F Icon=org.daa.NeovimGtk Type=Application Terminal=false Categories=GTK;Utility;TextEditor; StartupNotify=true MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; Note that I'm already capable of setting this in EDITOR and VISUAL, where it works fine. However, opening the file from a MATE application, such as Engrampa, still invokes the default specified in the Preferred Applications window.
In case it's relevant, I'm using Debian unstable, but I'm also interested in responses for Ubuntu 23.10, both using MATE.
How should I go about configuring things so that I can set my preferred editor in the Preferred Applications window?