From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] doc: Suggest installing gvfs.
Date: Mon, 19 Dec 2016 14:55:05 +0100 [thread overview]
Message-ID: <87y3zc3txi.fsf@gnu.org> (raw)
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")
Hi Ricardo!
ludo@gnu.org (Ludovic Courtès) skribis:
> Ricardo Wurmus <rekado@elephly.net> skribis:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>> Ricardo Wurmus <rekado@elephly.net> 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’.
prev parent reply other threads:[~2016-12-19 13:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-28 18:47 [PATCH] doc: Suggest installing gvfs Ricardo Wurmus
2016-11-28 19:16 ` Mathieu Lirzin
2016-11-28 21:26 ` Ricardo Wurmus
2016-11-28 21:11 ` Ludovic Courtès
2016-11-28 22:22 ` Ricardo Wurmus
2016-11-29 22:11 ` Ludovic Courtès
2016-11-29 22:34 ` Ricardo Wurmus
2016-11-30 13:15 ` Ludovic Courtès
2016-12-19 13:55 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y3zc3txi.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).