Difference between revisions of "GVFS"

From ArchWiki
Jump to: navigation, search
(rw)
(change stub to merge request)
(18 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 
[[Category:File systems]]
 
[[Category:File systems]]
[[Wikipedia:GVFS|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]].
+
[[ru:GVFS]]
 +
{{Related articles start}}
 +
{{Related|Polkit}}
 +
{{Related|File manager functionality}}
 +
{{Related articles end}}
  
==Installation==
+
{{Merge|File manager functionality|No important information, too short for a separate article.|Talk:File manager functionality#Udiskie}}
  
The {{pkg|gvfs}} package needs to be installed, along with {{pkg|polkit-gnome}} for the polkit rules.
+
[[Wikipedia:GVFS|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]].
 
+
{{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 {{ic|1=Remote=no}} and {{ic|1=Active=yes}} in the output. See [[xinitrc#Preserving the session]] for troubleshooting if it does not.
+
== Installation ==
  
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}}.
+
The {{Pkg|gvfs}} package needs to be [[pacman|installed]], along with a suitable [[Polkit#Authentication agents|polkit authentication agent]].
  
==Troubleshooting==
+
== GVFS without root password ==
  
There is a [https://bugs.archlinux.org/task/32325 known bug] that causes duplicate entries for drives.
+
In file managers (e.g. Thunar), when you try to mount a drive, you might see that you need to enter the root password to continue every single time you want to mount and unmount a drive. This can be bypassed by setting a polkit rule as shown in [[Polkit#Allow mounting a filesystem on a system device]].

Revision as of 03:04, 29 December 2013

Merge-arrows-2.pngThis article or section is a candidate for merging with File manager functionality.Merge-arrows-2.png

Notes: No important information, too short for a separate article. (Discuss in Talk:File manager functionality#Udiskie)
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 a suitable polkit authentication agent.

GVFS without root password

In file managers (e.g. Thunar), when you try to mount a drive, you might see that you need to enter the root password to continue every single time you want to mount and unmount a drive. This can be bypassed by setting a polkit rule as shown in Polkit#Allow mounting a filesystem on a system device.