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: Wed, 30 Nov 2016 14:15:17 +0100 [thread overview]
Message-ID: <87vav5jehm.fsf@gnu.org> (raw)
In-Reply-To: <87a8ch29vx.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 29 Nov 2016 23:34:26 +0100")
[-- Attachment #1: Type: text/plain, Size: 1456 bytes --]
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:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 608 bytes --]
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)
[-- Attachment #3: Type: text/plain, Size: 21 bytes --]
Thanks,
Ludo’.
next prev parent reply other threads:[~2016-11-30 13:15 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 [this message]
2016-12-19 13:55 ` Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vav5jehm.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.