Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

Cannot open text editor with double click in ftp Nautilus

Writer 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.

3

3 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.cache

Find the line with

 x-scheme-handler/ftp=firefox.desktop;

and comment or delete it.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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