Why Nautilus and GNOME applications use URIs?

Chris Cheney ccheney at ubuntu.com
Thu Jun 3 13:38:47 UTC 2010

On Thu, 2010-06-03 at 07:36 +0200, Aurélien Naldi wrote:
> Hi,
> when using Drag and Drop, nautilus switches from GIO/GVFS URI to local
> path, depending on the drop target (i.e. it will paste a local path if
> you drop to a gnome-terminal). I guess dropping on a gtk filechooser
> assumes that the application is using GIO. It may need some special
> casing for this case. On one hand, if an application is gtk-based it
> really should use gio, on the other hand  I think at least firefox and
> openoffice use gtk file chooser and won't use it.
> For GIO-based applications, using the GIO URI is much better, but as
> far as I remember, several applications transform local paths into GIO
> URIs, so providing a local path should always work.

Dragging files from nautilus and dropping on the file open dialog in OOo
works for me. Ubuntu's OOo doesn't use URIs due to prior bugs and I
converted it to using the local path (gvfs-fuse) which appears to work
more reliably.


More information about the Ubuntu-devel-discuss mailing list