gio / gvfs changes

David Zeuthen davidz at redhat.com
Fri Apr 18 02:16:24 UTC 2008


Hey,

For GNOME, as you may know, we're shipping gvfs as a new component in
this release. One key feature is the fuse mount that is provided by
gvfs-fuse. Meaning that any gvfs file system is available to POSIX apps
from $HOME/.gvfs. Now, we haven't fully exploited this feature until the
patch introduced here

 https://bugzilla.redhat.com/show_bug.cgi?id=442835
 (you may need to pull the rpm's from koji for a while; I've
  asked Fedora rel-eng to tag them for Fedora 9 but that was
  just an hour or two ago)

This patch enables any non-gio application (including non-GNOME apps) to
Just Work(tm) when launching files from the file manager from non-kernel
mounts such as sftp, cdda, gphoto2, obex-ftp, archive etc. 

(It's actually very cool; browsing my digital camera and ISO files Just
Work(tm); I can open text files in gedit, view images using eog (or The
Gimp or ImageMagick's display), watch videos using an mplayer frontend
and so forth. It really goes to show how cool gvfs really is.)

There is one catch, applications using gio must set this key

 X-GNOME-Vfs-System=gio

in their desktop file. Note that the key name is subject to change
pending upstream and xdg-list discussions. Either way, if this change
goes upstream (which I think it will), gio-enabled applications will set
this themselves. I've already did this for nautilus and gvfs and am now
asking for assistance for remaining gio apps. Since gio/gvfs is brand
new, I don't expect a lot of apps. AFAIK only

 totem
 openoffice.org (or maybe the gio port isn't complete?)

are using gio natively and can open files from the file manager (e.g.
has MimeTypes in it's desktop file). Can anyone think of other gio apps?

     David





More information about the desktop mailing list