Message ID | 20161128184755.17106-1-rekado@elephly.net |
---|---|
State | New |
Headers | show |
Hi, Ricardo Wurmus <rekado@elephly.net> writes: > * gnu/system/examples/desktop.tmpl: Add gvfs to the system-wide list of > packages. > --- > gnu/system/examples/desktop.tmpl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl > index 82687e7..21b4563 100644 > --- a/gnu/system/examples/desktop.tmpl > +++ b/gnu/system/examples/desktop.tmpl > @@ -4,7 +4,7 @@ > > (use-modules (gnu) (gnu system nss)) > (use-service-modules desktop) > -(use-package-modules certs) > +(use-package-modules certs gnome) > > (operating-system > (host-name "antelope") > @@ -42,6 +42,7 @@ > > ;; This is where we specify system-wide packages. > (packages (cons* nss-certs ;for HTTPS access > + gvfs ;for user mounts > %base-packages)) > > ;; Add GNOME and/or Xfce---we can choose at the log-in IMO 'gvfs' is a reasonable default for a desktop configuration. So I think this patch is a good idea. Thanks.
Ricardo Wurmus <rekado@elephly.net> skribis: > * gnu/system/examples/desktop.tmpl: Add gvfs to the system-wide list of > packages. > --- > gnu/system/examples/desktop.tmpl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl > index 82687e7..21b4563 100644 > --- a/gnu/system/examples/desktop.tmpl > +++ b/gnu/system/examples/desktop.tmpl > @@ -4,7 +4,7 @@ > > (use-modules (gnu) (gnu system nss)) > (use-service-modules desktop) > -(use-package-modules certs) > +(use-package-modules certs gnome) > > (operating-system > (host-name "antelope") > @@ -42,6 +42,7 @@ > > ;; This is where we specify system-wide packages. > (packages (cons* nss-certs ;for HTTPS access > + gvfs ;for user mounts What about adding it to the ‘gnome’ meta-package instead? (That meta-package gets installed in the global profile by ‘gnome-desktop-service-type’.) Ludo’.
Mathieu Lirzin <mthl@gnu.org> writes: > Ricardo Wurmus <rekado@elephly.net> writes: > >> * gnu/system/examples/desktop.tmpl: Add gvfs to the system-wide list of >> packages. >> --- >> gnu/system/examples/desktop.tmpl | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl >> index 82687e7..21b4563 100644 >> --- a/gnu/system/examples/desktop.tmpl >> +++ b/gnu/system/examples/desktop.tmpl >> @@ -4,7 +4,7 @@ >> >> (use-modules (gnu) (gnu system nss)) >> (use-service-modules desktop) >> -(use-package-modules certs) >> +(use-package-modules certs gnome) >> >> (operating-system >> (host-name "antelope") >> @@ -42,6 +42,7 @@ >> >> ;; This is where we specify system-wide packages. >> (packages (cons* nss-certs ;for HTTPS access >> + gvfs ;for user mounts >> %base-packages)) >> >> ;; Add GNOME and/or Xfce---we can choose at the log-in > > IMO 'gvfs' is a reasonable default for a desktop configuration. So I > think this patch is a good idea. > > Thanks. Pushed as e48ddb96282cd231e4aed2255f6b918901a71922.
Ludovic Courtès <ludo@gnu.org> writes: > Ricardo Wurmus <rekado@elephly.net> skribis: > >> * gnu/system/examples/desktop.tmpl: Add gvfs to the system-wide list of >> packages. >> --- >> gnu/system/examples/desktop.tmpl | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl >> index 82687e7..21b4563 100644 >> --- a/gnu/system/examples/desktop.tmpl >> +++ b/gnu/system/examples/desktop.tmpl >> @@ -4,7 +4,7 @@ >> >> (use-modules (gnu) (gnu system nss)) >> (use-service-modules desktop) >> -(use-package-modules certs) >> +(use-package-modules certs gnome) >> >> (operating-system >> (host-name "antelope") >> @@ -42,6 +42,7 @@ >> >> ;; This is where we specify system-wide packages. >> (packages (cons* nss-certs ;for HTTPS access >> + gvfs ;for user mounts > > What about adding it to the ‘gnome’ meta-package instead? (That > meta-package gets installed in the global profile by > ‘gnome-desktop-service-type’.) I’m sorry, I didn’t see your email before my reply to Mathieu and the my decision to push! “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. What do you think? If that’s okay I’ll prepare a patch for this.
diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl index 82687e7..21b4563 100644 --- a/gnu/system/examples/desktop.tmpl +++ b/gnu/system/examples/desktop.tmpl @@ -4,7 +4,7 @@ (use-modules (gnu) (gnu system nss)) (use-service-modules desktop) -(use-package-modules certs) +(use-package-modules certs gnome) (operating-system (host-name "antelope") @@ -42,6 +42,7 @@ ;; This is where we specify system-wide packages. (packages (cons* nss-certs ;for HTTPS access + gvfs ;for user mounts %base-packages)) ;; Add GNOME and/or Xfce---we can choose at the log-in