Obrigado Pavlos G. pela informação e links. Depois de ler os links e mais algumas pesquisas no Google, recompilei o seguinte:
sudo apt-get build-dep nautilus # get build dependencies
apt-get source nautilus # get nautilus source
cd nautilus-2.32.2.1
patch -p1 < ../sftp_default.patch # apply patch to set sftp (SSH) to default protocol
dpkg-buildpackage -rfakeroot -uc -b # build .deb files
cd ..
sudo dpkg -i *.deb # install .deb files
Onde sftp_default.patch contém:
diff -ruN nautilus-2.32.2.1.a/src/nautilus-connect-server-dialog.c nautilus-2.32.2.1.b/src/nautilus-connect-server-dialog.c
--- nautilus-2.32.2.1.a/src/nautilus-connect-server-dialog.c 2011-08-21 16:00:30.720119356 +1200
+++ nautilus-2.32.2.1.b/src/nautilus-connect-server-dialog.c 2011-08-21 16:00:36.250910768 +1200
@@ -96,9 +96,9 @@
/* Remember to fill in descriptions below */
static struct MethodInfo methods[] = {
/* FIXME: we need to alias ssh to sftp */
- { "sftp", SHOW_PORT | SHOW_USER },
+ { "sftp", DEFAULT_METHOD | SHOW_PORT | SHOW_USER },
{ "ftp", SHOW_PORT | SHOW_USER },
- { "ftp", DEFAULT_METHOD | IS_ANONYMOUS | SHOW_PORT},
+ { "ftp", IS_ANONYMOUS | SHOW_PORT},
{ "smb", SHOW_SHARE | SHOW_USER | SHOW_DOMAIN },
{ "dav", SHOW_PORT | SHOW_USER },
/* FIXME: hrm, shouldn't it work? */
Para verificar se eu poderia restaurar o Nautilus ao pacote padrão do Ubuntu, usei:
sudo apt-get install --reinstall nautilus
Funciona como charme, obrigado novamente Pavlos G.
Eu achei que o link era útil para recompilar o pacote.