From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] doc: Suggest installing gvfs. Date: Mon, 19 Dec 2016 14:55:05 +0100 Message-ID: <87y3zc3txi.fsf@gnu.org> References: <20161128184755.17106-1-rekado@elephly.net> <87h96rl37m.fsf@gnu.org> <87shqb1byq.fsf@elephly.net> <8760n6ndh3.fsf@gnu.org> <87a8ch29vx.fsf@elephly.net> <87vav5jehm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIyPH-00035M-F1 for guix-devel@gnu.org; Mon, 19 Dec 2016 08:55:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIyPE-0006HX-CH for guix-devel@gnu.org; Mon, 19 Dec 2016 08:55:11 -0500 In-Reply-To: <87vav5jehm.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 30 Nov 2016 14:15:17 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org Hi Ricardo! ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Ricardo Wurmus skribis: > >> Ludovic Court=C3=A8s writes: >> >>> Ricardo Wurmus skribis: >>> >>>> =E2=80=9Cgvfs=E2=80=9D is useful for more than just GNOME. For a long= time I tried to >>>> figure out why USB devices would not be mounted automatically in Xfce >>>> and I ran gvfsd and the gvfs-* device monitor daemons manually =E2=80= =94 until >>>> today when I understood that these daemons are supposed to be started >>>> automatically if only the DBUS service files were found. >>>> >>>> We probably should add it to the =E2=80=9Cgnome=E2=80=9D meta-package,= and additionally >>>> document in the manual that gvfs must be installed system-wide to allow >>>> DBUS to find the service files and start the monitoring daemons on >>>> demand. >>> >>> If it=E2=80=99s not specific to GNOME, what about adding it to >>> =E2=80=98%desktop-services=E2=80=99? >> >> How would that work? > > This patch extends DBus with gvfs, since you said gvfs is a set of DBus > services (I didn=E2=80=99t check). If gvfs provides DBus service definit= ion > files, then DBus will automatically pick them and start the services on > demand. > >> =E2=80=9Cgvfs=E2=80=9D doesn=E2=80=99t provide any services that would b= e run as root. It >> only comes with dbus service files; the daemons are started as the >> current user on demand over dbus when certain libraries are loaded. > > OK, so that was the wrong approach. > > In that case, what about adding the package to the global profile like > this: > > diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm > index 7555780..5d02bd0 100644 > --- a/gnu/services/desktop.scm > +++ b/gnu/services/desktop.scm > @@ -753,6 +753,10 @@ with the administrator's password." > (screen-locker-service slock) > (screen-locker-service xlockmore "xlock") >=20=20 > + ;; GVFS is used by both GNOME and Xfce. It provides DBus servi= ces > + ;; started on behalf of users, and those daemons need to be in = $PATH. > + (simple-service 'gvfs profile-service-type gvfs) > + > ;; The D-Bus clique. > (avahi-service) > (wicd-service) Should we do this? I would test it but I don=E2=80=99t know how. Ludo=E2=80=99.