Gottfried <gottfr...@posteo.de> writes: > Next step: > How can I install a scanner, because my printer can also scan. > I installed a scanning program: "simple scan" "xsane" "gimp" in > hoping to be able to scan. But it doesn't.
Scanning is also a service in Guix, so you will need to configure it in your config.scm. The Guix info manual is very helpful in answering questions like this. Here, it looks like the solution is in the manual on the page called "Printing Services". The service that you need for scanning is called "sane-service-type". It looks like it is included by default in the "%desktop-services" list, so you should already have it installed. However, it looks like you may need to configure the `sane-backends` variable in your config.scm to activate scanning for your printer. Here is the relevant documentation from the manual: ==================================================================== -- Scheme Variable: sane-service-type This service provides access to scanners via SANE (http://www.sane-project.org) by installing the necessary udev rules. It is included in ‘%desktop-services’ (*note Desktop Services::) and relies by default on ‘sane-backends-minimal’ package (see below) for hardware support. -- Scheme Variable: sane-backends-minimal The default package which the ‘sane-service-type’ installs. It supports many recent scanners. -- Scheme Variable: sane-backends This package includes support for all scanners that ‘sane-backends-minimal’ supports, plus older Hewlett-Packard scanners supported by ‘hplip’ package. In order to use this on a system which relies on ‘%desktop-services’, you may use ‘modify-services’ (*note ‘modify-services’: Service Reference.) as illustrated below: (use-modules (gnu)) (use-service-modules ... desktop) (use-package-modules ... scanner) (define %my-desktop-services ;; List of desktop services that supports a broader range of scanners. (modify-services %desktop-services (sane-service-type _ => sane-backends))) (operating-system ... (services %my-desktop-services)) ==================================================================== You should follow the steps in the "sane-backends" example to update your config.scm file and then rebuild your OS by running this command as your regular (non-root) user: $ sudo guix system reconfigure config.scm Good luck and happy hacking! Gary -- GPG Key ID: 7BC158ED Use `gpg --search-keys lambdatronic' to find me Protect yourself from surveillance: https://emailselfdefense.fsf.org ======================================================================= () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Why is HTML email a security nightmare? See https://useplaintext.email/ Please avoid sending me MS-Office attachments. See http://www.gnu.org/philosophy/no-word-attachments.html