[PATCH] services: Add "sane" service.

  • Done
  • quality assurance status badge
Details
2 participants
  • Danny Milosavljevic
  • Ludovic Courtès
Owner
unassigned
Submitted by
Danny Milosavljevic
Severity
normal

Debbugs page

Danny Milosavljevic wrote 5 years ago
(address . guix-patches@gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20200105125102.29539-1-dannym@scratchpost.org
* gnu/services/desktop.scm (%desktop-services): Add "sane" service.
---
gnu/services/desktop.scm | 3 +++
1 file changed, 3 insertions(+)

Toggle diff (21 lines)
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").
polkit-wheel-service
Ludovic Courtès wrote 5 years ago
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 38945@debbugs.gnu.org)
87h80u2q6q.fsf@gnu.org
Hi,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

Toggle quote (2 lines)
> * gnu/services/desktop.scm (%desktop-services): Add "sane" service.

Neat, go for it!

Ludo’.
Danny Milosavljevic wrote 5 years ago
20200120184715.4e62abe8@scratchpost.org
Pushed to guix master as commit 19b310901c9d798722e6be849e335efc1fee0384.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl4l56MACgkQ5xo1VCww
uqUIGQf/SeRP+EoRR1muqe+MwfSmRfxjItFT7qQANpPBaD/8QsXTR5CW0fUJadZu
/vwdcQYNLW/lVg6WZ17uvSILhGr190vy+Qssj4Rx9hc+LGW2b3JnBUyfkjuL/DA0
tsmnApb4hHZm4Q7ujUqGjrOhswMtQrKEz+9Ym8f+Wf5peELiLCS7g94eezTCNqY3
FNqCtgGDQsi/YGFUjSsSwynSmIaCGLHrHNaBZngWOVJozVYrBNpqKgDUgPrDdKTD
zlk/VSjMJk1t4UaqCBqBUMuILYt8ti4eIg6AF5vt7Q3VC5QnO6d8aOjBzouggaaJ
t4ku8zzurJ0StTvNoTGtIK2xOnI6eA==
=9/2a
-----END PGP SIGNATURE-----


Closed
Ludovic Courtès wrote 5 years ago
Re: bug#38945: closed (Re: [bug#38945] [PATCH] services: Add "sane" service.)
87sgk8dhnn.fsf@gnu.org
Hello!

help-debbugs@gnu.org (GNU bug Tracking System) skribis:

Toggle quote (2 lines)
> Pushed to guix master as commit 19b310901c9d798722e6be849e335efc1fee0384.

I followed up with commit b2f948be9f815582a49bd80a9594a881d7d1a56e to
create the “scanner” group that the udev rules refer to.

Ludo’.
?
Your comment

This issue is archived.

To comment on this conversation send an email to 38945@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 38945
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help