all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Christophe Pisteur <christophe.pisteur@fsfe.org>
Cc: help-guix@gnu.org
Subject: Re: How to configure a printer on Guix System
Date: Fri, 15 May 2020 17:33:32 +0200	[thread overview]
Message-ID: <87eerljjqr.fsf@nckx> (raw)
In-Reply-To: <25916d1e0db98b12dc5d631cd7c03e28e11410a4.camel@fsfe.org>

[-- Attachment #1: Type: text/plain, Size: 1685 bytes --]

Christophe,

Christophe Pisteur 写道:
> Since now, I installed the following packages: cups, 
> cups-filters,
> fomatics-filters.
>
> When I launch http: // localhost: 631 / in my browser

So the important thing to (un)learn here is that installing Guix 
packages will never start random software in the background.  This 
is by design.

(Guix) System software is started by services that are part of 
your OPERATING-SYSTEM.  Here's part of my laptop's CUPS 
configuration:

  (use-service-modules ···
                       cups
                       ···)
  (operating-system
    (services
     (cons* ···
       (service cups-service-type
        (cups-configuration
         (extensions
          (list hplip-minimal
                ;; Required to display printer options,
                ;; even with IPP Everywhere everywhere.
                cups-filters
                ;; Other possible legacy drivers:
                ;; escpr foo2zjs foomatic-filters
                ;; hplip-minimal splix
                ))
         (server-name host-name)
         (host-name-lookups #t)
         (web-interface? #t)
         (default-paper-size "A4")
         ;; You get the idea.
         ···))
       ···
       %base-services-or-whatever)))

Adapt & add this to your system, run ‘sudo guix system 
reconfigure’, and you should be able to ‘herd start cups’ if it 
isn't automatically.  It will certainly be started at boot.

You should probably uninstall cups and the filter packages since 
they don't do what you thought they did, unless you want to keep 
them available in $PATH.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2020-05-15 15:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-15  9:22 How to configure a printer on Guix System Christophe Pisteur
2020-05-15 15:33 ` Tobias Geerinckx-Rice [this message]
2020-05-16 13:17   ` Christophe Pisteur
2020-05-16 13:27     ` Marius Bakke
2020-05-18 21:35       ` Christophe Pisteur
  -- strict thread matches above, loose matches on Subject: below --
2021-01-09 18:13 Christophe Pisteur

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

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

  git send-email \
    --in-reply-to=87eerljjqr.fsf@nckx \
    --to=me@tobias.gr \
    --cc=christophe.pisteur@fsfe.org \
    --cc=help-guix@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.