Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to attach gvfs mount to a custom directory? So instead of ~/.gvfs/sftp for leon on something like: ~/mounts/

I thought about using pam_mount but that lacks the nice gnome keyring integration.

share|improve this question
You could create symlinks in ~/mounts leading to ~/.gvfs, but I guess you want something more automatic. – Adam Byrtek Apr 17 '11 at 23:34
OK. Thanks. I'll create something with python & fuse I think. – Leon Apr 20 '11 at 21:25
Are you still experiencing this issue? :) – James Dec 27 '11 at 15:18
I'm still "experiencing" the issue. I've created a little pet project for it but I've got to finish it: – Leon Dec 27 '11 at 21:47

I use a symlink named "MountedFolders" which points to ".gvfs".

Since you mentioned creating something with python, you could create a python program that uses inotify to monitor ".gvfs" and creates symlinks in "~/mounts"

share|improve this answer
I have significantly slower access times to gvfs mounted files though a symlink. Its an ssh gvfs mount. I'm guessing the symlink invalidates some form of caching that makes gvfs more tolerable. – ThorSummoner Aug 25 '15 at 17:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.