Cannot open text editor with double click in ftp Nautilus
Andrew Henderson
I am working on some ftp in which there are some php files, but whenever I double click on files it gets opened in browser, while local php files opens in text editor. How to open php in ftp with text editor.
33 Answers
This is affecting 18.04 as well. The only remotely related bug (and really old one) I have found is Files & Folders - Favorites opens FTP in browser instead of Nautilus . But this proposed solution doesn't help.
Open
/usr/share/applications/mimeinfo.cache
Find
x-scheme-handler/ftp=firefox.desktop;
change it to:
x-scheme-handler/ftp=nautilus-folder-handler.desktop;
I believe this is a bug that needs to be looked at. I have now reported this at
Please log in there and give any feedback in comments to get this looked at.
Open /usr/share/applications/mimeinfo.cache, eg with vim
sudo vim /usr/share/applications/mimeinfo.cacheFind the line with
x-scheme-handler/ftp=firefox.desktop;and comment or delete it.