2

How to set Nautilus as the default FTP handler in Linux

Posted (Updated ) in Linux

Update 2011-10-30: Added instructions for Ubuntu 11.04+

An issue has crept up in the latest version of Ubuntu (10.10 as of writing) whereby installing beta versions of Firefox causes the browser to become the default application for FTP addresses. This is a real annoying development that I’m sure alot of you have a beef with. There’s a very simple fix to change it back to trusty ol’ nautilus:

Open ~/.gconf/desktop/gnome/url-handlers/ftp/%gconf.xml and change the stringvalue link to/usr/bin/nautilus like so:

<?xml version="1.0"?>
<gconf>
	<entry name="needs_terminal" mtime="1287534317" type="bool" value="false"/>
 
	<entry name="enabled" mtime="1287534317" type="bool" value="true"/>
	<entry name="command" mtime="1287534317" type="string">
 
		<stringvalue>/usr/bin/nautilus</stringvalue>
	</entry>
</gconf>

In 11.04+, you’ll also need to open ~/.local/share/applications/mimeapps.list and under [Default Applications] add:

x-scheme-handler/ftp=nautilus.desktop

Courtesy of radu cotescu.