[Top][All Lists]

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

01/01: services: Add libmtp's udev rules to '%desktop-services'.

From: Ludovic Courtès
Subject: 01/01: services: Add libmtp's udev rules to '%desktop-services'.
Date: Thu, 29 Dec 2016 22:36:39 +0000 (UTC)

civodul pushed a commit to branch master
in repository guix.

commit 3547a5effecfa19f73af29f0d503f5a231025672
Author: Ludovic Courtès <address@hidden>
Date:   Thu Dec 29 23:20:57 2016 +0100

    services: Add libmtp's udev rules to '%desktop-services'.
    Suggested by Chris Marusich <address@hidden>.
    * gnu/services/desktop.scm (%desktop-services): Add 'mtp' service via
    call to 'simple-service'.
 gnu/services/desktop.scm |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 7555780..3604958 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -40,6 +40,7 @@
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages suckless)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages libusb)
   #:use-module (guix records)
   #:use-module (guix packages)
   #:use-module (guix store)
@@ -753,6 +754,10 @@ with the administrator's password."
          (screen-locker-service slock)
          (screen-locker-service xlockmore "xlock")
+         ;; Add udev rules for MTP devices so that non-root users can access
+         ;; them.
+         (simple-service 'mtp udev-service-type (list libmtp))
          ;; The D-Bus clique.

reply via email to

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