1

I often use Nautilus to connect to my ftp server. Whenever I open a remote file from nautilus (even when it states that the default program is something like gedit) it still opens that file in firefox. Choosing the "Open with Other Application" option works, but it's annoying having to do that every time. I remember reading that this is a known bug and it has to do with some other application/library and not with Nautilus, but I can't find url to that bug anymore.

Again, This is only an issue when opening remote/ftp files and is not an issue with local files.

3

If you mainly want to edit files with gedit, you can add the following line to ~/.config/mimeapps.list

x-scheme-handler/ftp=org.gnome.gedit.desktop

Put it under the block "Default Applications". It works for me, but it sets the default program for ALL ftp-files to gedit.

  • Tested and confirmed that this works. Thank you so much! – chimeraha Dec 23 '18 at 0:34
0

list ftp handlers

gio mime x-scheme-handler/ftp 

set gedit as default ftp handler

gio mime x-scheme-handler/ftp gedit.desktop

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.