4

Ubuntu has a useful feature where you can mount and view files on an external ssh account, bluetooth device, etc., called gvfs/GIO. Is there a developer's guide/tutorial for making a custom adapter to 'mount' from an external storage or web service, preferably in Python?

NoBugs
  • 9,310
  • 13
  • 80
  • 146
  • 2
    Very good question. I suspect there isn't one, but if you manage to create an example, I might be interested in adapting it for my 'Advanced GTK Techniques' tutorial (http://ptomato.github.com/advanced-gtk-techniques/). – ptomato Apr 23 '12 at 11:52
  • @ptomato where is that? Link is broken. – NoBugs Jul 09 '22 at 06:31
  • The URL didn't survive the migration of GitHub Pages from .com to .io. It's now at https://ptomato.name/advanced-gtk-techniques/, but I'm sure it's outdated by now. – ptomato Jul 13 '22 at 05:08

1 Answers1

0

http://git.gnome.org/browse/gvfs/tree/ has a couple of backends (allthough all written in C). I don't know of examples in python.

ensonic
  • 3,304
  • 20
  • 31
  • That looks like the code for gvfs itself? What code would be best to interface with another programming language (if possible?) – NoBugs May 14 '12 at 03:30
  • Yes, thats the gvfs code, which also includes a few filesystems. Isn't the gvfs stuff wrapped by pygobject as well? – ensonic May 15 '12 at 13:52