unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Gottfried <gottfried@posteo.de>
To: Gary Johnson <lambdatronic@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: printer installed, now scanner ?
Date: Sun, 20 Feb 2022 15:13:45 +0000	[thread overview]
Message-ID: <690621b8-89e2-ef92-99e5-9e69bbe12a55@posteo.de> (raw)
In-Reply-To: <871qzyxytf.fsf@disroot.org>

I found the printing documentation in the manual already, but I didn´t 
understand exactly what I have to do practically.
That´s why, I wrote this email.

I tried several times to configure /etc/config.scm according to your 
email, but it failed. I have problems to understand yet the manual
(It seems to me the manual is written for people who have already a 
degree in computers)

this is my config.scm file:
what do I have to add exactly and where?


;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-package-modules cups)
(use-service-modules cups desktop networking ssh xorg)

(operating-system
   (locale "de_DE.utf8")
   (timezone "Europe/Berlin")
   (keyboard-layout (keyboard-layout "de"))
   (host-name "Tuxedo")
   (users (cons* (user-account
                   (name "gfp")
                   (comment "Gfp")
                   (group "users")
                   (home-directory "/home/gfp")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "awesome")
             (specification->package "nss-certs"))			
       %base-packages))
   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
			(service cups-service-type
				(cups-configuration
					(web-interface? #t)
					(extensions (list cups-filters hplip))))			
			(service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                 (keyboard-layout keyboard-layout))))
       %desktop-services))
		
   (bootloader
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (target "/boot/efi")
       (keyboard-layout keyboard-layout)))
   (swap-devices
     (list (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))
   (file-systems
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
            (file-system
              (mount-point "/")
              (device
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
                      'ext4))
              (type "ext4"))
            %base-file-systems)))

gottfried



Am 19.02.22 um 23:34 schrieb Gary Johnson:
> Gottfried <gottfried@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
> 


--



  reply	other threads:[~2022-02-20 15:15 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-15 16:45 install a Printer Gottfried
2022-02-15 16:54 ` Julien Lepiller
2022-02-15 17:31   ` Gottfried
2022-02-15 17:44     ` Julien Lepiller
2022-02-15 18:29       ` Gottfried
2022-02-15 18:34         ` Julien Lepiller
2022-02-15 18:59           ` Gottfried
2022-02-15 19:02             ` Julien Lepiller
2022-02-15 19:17               ` Julien Lepiller
2022-02-15 19:39                 ` Gottfried
2022-02-15 19:51                   ` Julien Lepiller
2022-02-16 16:04                     ` Gottfried
2022-02-16 17:01                       ` Julien Lepiller
2022-02-16 19:40                         ` Gottfried
2022-02-16 20:06                           ` Julien Lepiller
2022-02-16 21:09                             ` Gottfried
2022-02-18  1:39                               ` Gary Johnson
2022-02-18 13:52                                 ` Gottfried
2022-02-18 15:11                                   ` Gary Johnson
2022-02-18 17:51                                     ` printer installed, now scanner ? Gottfried
2022-02-19 22:34                                       ` Gary Johnson
2022-02-20 15:13                                         ` Gottfried [this message]
2022-02-20 15:45                                           ` SeerLite
2022-02-20 16:20                                             ` Gottfried
2022-02-20 17:25                                             ` Gottfried
2022-02-20 19:57                                               ` SeerLite
2022-02-21 17:13                                                 ` scanner Gottfried

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=690621b8-89e2-ef92-99e5-9e69bbe12a55@posteo.de \
    --to=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=lambdatronic@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).