guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] doc: Suggest installing gvfs.


From: Ludovic Courtès
Subject: Re: [PATCH] doc: Suggest installing gvfs.
Date: Mon, 19 Dec 2016 14:55:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hi Ricardo!

address@hidden (Ludovic Courtès) skribis:

> Ricardo Wurmus <address@hidden> skribis:
>
>> Ludovic Courtès <address@hidden> writes:
>>
>>> Ricardo Wurmus <address@hidden> skribis:
>>>
>>>> “gvfs” 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 — 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 “gnome” 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’s not specific to GNOME, what about adding it to
>>> ‘%desktop-services’?
>>
>> How would that work?
>
> This patch extends DBus with gvfs, since you said gvfs is a set of DBus
> services (I didn’t check).  If gvfs provides DBus service definition
> files, then DBus will automatically pick them and start the services on
> demand.
>
>> “gvfs” doesn’t provide any services that would be 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")
>  
> +         ;; GVFS is used by both GNOME and Xfce.  It provides DBus services
> +         ;; 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’t know how.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]