GVFS

From ArchWiki
Revision as of 06:59, 1 November 2012 by Thestinger (Talk | contribs) (move note)

Jump to: navigation, search

GVFS is the virtual filesystem for the GNOME desktop, which allows mounting local and remote filesystems as a user along with trash support. It is also used by file managers like Thunar.

Installation

The gvfs package needs to be installed, along with polkit-gnome for the polkit rules.

Getting mounting working

Note: You must be using systemd as your init system for local sessions to work.

First, make sure you have a valid local session within X:

$ loginctl show-session $XDG_SESSION_ID

This should contain Remote=no and Active=yes in the output. See xinitrc#Preserving the session for troubleshooting if it does not.

A dbus session should also be started along with X, in a way that exports a single DBUS_SESSION_BUS_ADDRESS for every application in your session. The simplest way to do this is if you don't use a desktop environment is to copy the code from /etc/skel/.xinitrc that runs files in /etc/X11/xinit/xinitrc.d to your ~/.xinitrc, and avoid using dbus-launch or ck-launch-session.

Troubleshooting

There is a known bug that causes duplicate entries for drives.