[Top][All Lists]

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

[bug#38945] [PATCH] services: Add "sane" service.

From: Danny Milosavljevic
Subject: [bug#38945] [PATCH] services: Add "sane" service.
Date: Sun, 5 Jan 2020 13:51:02 +0100

* gnu/services/desktop.scm (%desktop-services): Add "sane" service.
 gnu/services/desktop.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index b40622a637..75d1014724 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -48,6 +48,7 @@
   #:use-module (gnu packages xfce)
   #:use-module (gnu packages avahi)
   #:use-module (gnu packages xdisorg)
+  #:use-module (gnu packages scanner)
   #:use-module (gnu packages suckless)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages libusb)
@@ -1154,6 +1155,8 @@ or setting its password with passwd.")))
          ;; Add udev rules for MTP devices so that non-root users can access
          ;; them.
          (simple-service 'mtp udev-service-type (list libmtp))
+         ;; Add udev rules for scanners.
+         (simple-service 'sane udev-service-type (list sane-backends-minimal))
          ;; Add polkit rules, so that non-root users in the wheel group can
          ;; perform administrative tasks (similar to "sudo").

reply via email to

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