What is the ~/.gvfs file?

Solution 1:

It serves as mount point for GVFS-Fuse.

gvfs is a userspace virtual filesystem where mount runs as a separate processes which you talk to via dbus. It also contains a gio module that seamlessly adds gvfs support to all applications using the gio API. It also supports exposing the gvfs mounts to non-gio applications using fuse.Ubuntu Packages