Difference between revisions of "GVFS"

From ArchWiki
Jump to: navigation, search
(create)
 
(fix template)
Line 15: Line 15:
 
This should contain {{ic|1=Remote=no}} and {{ic|1=Active=yes}} in the output. See [[xinitrc#Preserving the session]] for troubleshooting info.
 
This should contain {{ic|1=Remote=no}} and {{ic|1=Active=yes}} in the output. See [[xinitrc#Preserving the session]] for troubleshooting info.
  
A dbus session should also be started along with X, in a way that exports a single {{ic|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 {{ic|/etc/skel/.xinitrc}} that runs files in {{ic|/etc/X11/xinit/xinitrc.d}} to your {{~/.xinitrc}}, and avoid using {{ic|dbus-launch}} or {{ic|ck-launch-session}}.
+
A dbus session should also be started along with X, in a way that exports a single {{ic|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 {{ic|/etc/skel/.xinitrc}} that runs files in {{ic|/etc/X11/xinit/xinitrc.d}} to your {{ic|~/.xinitrc}}, and avoid using {{ic|dbus-launch}} or {{ic|ck-launch-session}}.
  
 
==Troubleshooting==
 
==Troubleshooting==
  
 
There is a [https://bugs.archlinux.org/task/32325 known bug] that causes duplicate entries for drives.
 
There is a [https://bugs.archlinux.org/task/32325 known bug] that causes duplicate entries for drives.

Revision as of 06:53, 1 November 2012

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.

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

Getting mounting working

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 info.

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.