Why Nautilus and GNOME applications use URIs?

Damián Nohales damiannohales at gmail.com
Wed Jun 2 02:39:40 UTC 2010


First, sorry about my English, the native version is below :)

Hi, this is the first time I write in the list, and places I saw it 
seemed the most appropriate to request a feature to Ubuntu, because I do 
not really see it as a bug.

The issue is that when I use Ubuntu, I use a lot of SSH, FTP and Samba 
connections through GVFS. These connections, if I don't mistake, are 
mounted on the folder "/home/<user>/.gvfs" via FUSE, but in most GNOME 
desktop applications gain access to these through URIs 
(sftp://user@server/path) instead of through your local address 
(/home/user/.gvfs/sftp to user at server/path), the truth is that using 
URIs instead of the local address is really annoying when working with 
the system, especially with Nautilus.

You see, not all applications support the GVFS URIs, which makes 
difficult its integration with the GNOME desktop for the user, and 
difficults to much in the use of the system (at least to me).
For instance, the Meld diff viewer, a program is fairly common, but I 
see that does not support GVFS URIs, this makes me a lot of bad things: 
I can not drag and drop remote files from Nautilus to Meld, it will not 
recognize (I don't know because it contradicts the use of "Open With 
..." in which local address is sending to Meld); In Open / Save dialogs 
do not appear Nautilus Bookmarks to remote folders, so I have to look 
hand (why use Bookmarks so :(?); on the other hand, the Nautilus scripts 
and extensions do not work on remote folders; I can not copy from the 
address bar in Nautilus the direction as I would in other programs ...


The truth is that observing the ease and abstraction with which 
non-GNOME programs accessing remote files using the local address 
instead of your URI, I see a big advantage in usability with this change 
URIs GVFS by local address, for Nautilus least, it would be great to see 
in future versions.

Specifically why GNOME desktop applications use these URIs to locate the 
files? Do not you offer a better abstraction using "/home/user/.gvfs" in 
place to locate? Can you solve the problems just mentioned if a SSH 
connection works like it were a mounted Hard drive?


Do not know if someone shares the idea, I may be in a minority or may 
not have the slightest idea of how it works GVFS, FUSE and Nautilus, and 
is said crap :). I hope somebody will correct me in that case.
Regards!

------------------------------------------------------------------------------

Hola, es la primera vez que escribo en la lista, y de los lugares que vi 
me pareció el mas apropiado para pedir una funcionalidad a Ubuntu, ya 
que realmente no lo veo como un bug.

El tema es que cuando uso Ubuntu, suelo usar mucho conexiones SSH, FTP, 
Samba, etc a través de GVFS. Estas conexiones, si no me equivoco, son 
montadas en la carpeta "/home/<user>/.gvfs" a través de FUSE, pero, en 
la mayoría de aplicaciones del escritorio GNOME se logran acceder a 
estas a través de URIs (sftp://user@server/path) en vez de hacerlo a 
través de su dirección local (/home/user/.gvfs/sftp to user at 
server/path), la verdad es que el uso de URIs en vez de la dirección 
local es verdaderamente molesto a la hora de trabajar con el sistema, 
sobretodo con Nautilus.

Verán, no todas las aplicaciones soportan las URIs de GVFS, lo que hace 
complicada su integración con el escritorio GNOME para el usuario, y la 
verdad dificulta mas el uso del sistema (por lo menos a mi).
Por poner un ejemplo, el visor de diferencias Meld, es un programa 
bastante común, pero veo que no soporta las URIs de GVFS, esto me 
dificulta una serie de cosas: no puedo arrastrar y soltar un archivo 
remoto desde Nautilus pues no lo reconocerá (y no se porque se 
contradice al uso de "Abrir con..." en el que si envía la dirección 
local al programa); en los diálogos Abrir/Guardar no aparecen los 
marcadores de Nautilus a carpetas remotas, con lo que tengo que buscarlo 
a mano (¿entonces para que tengo marcadores?); por otro lado, los 
scripts y extensiones de Nautilus no funcionan en carpetas remotas; no 
puedo copiar de la barra de direcciones de Nautilus la dirección pues no 
me serviría en otros programas...


La verdad es que observando la facilidad y abstracción con que los 
programas no-GNOME acceden a archivos remotos usando la dirección local 
en lugar de su URI, veo una ventaja muy grande en usabilidad con este 
cambio de URIs de GVFS por la dirección local, por lo menos en Nautilus, 
sería excelente verlo en futuras versiones.

Concretamente ¿Por qué las aplicaciones del escritorio GNOME usan estas 
URIs para localizar los archivos? ¿no se ofrecería una mejor abstracción 
usando "/home/user/.gvfs" en su lugar para localizarlos? ¿Podrían 
solventarse los problemas que acabo de mencionar si una conexión por SSH 
se tratase igual que un disco duro montado?


No se si alguien comparte la idea, puede que yo este dentro de una 
minoría o puede que no tenga la menor idea de como funcione GVFS, FUSE y 
Nautilus, y halla dicho cualquier cosa :) . Espero que alguien me 
corrija en ese caso.
Un Saludo!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20100601/ff417dd5/attachment.html>


More information about the Ubuntu-devel-discuss mailing list