unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38161: Guix guided installer should set up printers and scanners
@ 2019-11-10 14:44 Danny Milosavljevic
  2019-11-11 21:01 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Danny Milosavljevic @ 2019-11-10 14:44 UTC (permalink / raw)
  To: 38161

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

Hi,

currently, the Guix guided installer does not set up printers and
scanners (see bug# 38064), making those not work after installation.

It would be good to extend the Guix installer to also install "cups" and
"sane-backends" services, just like it already does for networking services,
if applicable.  Long term, we could also do the actual configuration, but
right now even just the services below would already be a big improvement:

The relevant operating-system config snippets are:

  (services
    (append
      (list (service cups-service-type
             (cups-configuration
              (web-interface? #t)
              (extensions
               (list cups-filters escpr hplip-minimal))))
            (simple-service 'custom-udev-rules udev-service-type
                            (list sane-backends))
[...]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38161: Guix guided installer should set up printers and scanners
  2019-11-10 14:44 bug#38161: Guix guided installer should set up printers and scanners Danny Milosavljevic
@ 2019-11-11 21:01 ` Ludovic Courtès
  2019-11-12  7:35   ` Efraim Flashner
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2019-11-11 21:01 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 38161

Hi,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

>   (services
>     (append
>       (list (service cups-service-type
>              (cups-configuration
>               (web-interface? #t)
>               (extensions
>                (list cups-filters escpr hplip-minimal))))

This bit above would have to be opt-in, but…

>             (simple-service 'custom-udev-rules udev-service-type
>                             (list sane-backends))

… this one could perhaps be enabled by default for “desktop”
installations, since, I believe, it doesn’t increase the disk space used
by the resulting system.

WDYT?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38161: Guix guided installer should set up printers and scanners
  2019-11-11 21:01 ` Ludovic Courtès
@ 2019-11-12  7:35   ` Efraim Flashner
  2019-11-12 13:49     ` Danny Milosavljevic
  0 siblings, 1 reply; 7+ messages in thread
From: Efraim Flashner @ 2019-11-12  7:35 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 38161

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

On Mon, Nov 11, 2019 at 10:01:32PM +0100, Ludovic Courtès wrote:
> Hi,
> 
> Danny Milosavljevic <dannym@scratchpost.org> skribis:
> 
> >   (services
> >     (append
> >       (list (service cups-service-type
> >              (cups-configuration
> >               (web-interface? #t)
> >               (extensions
> >                (list cups-filters escpr hplip-minimal))))
> 
> This bit above would have to be opt-in, but…
> 
> >             (simple-service 'custom-udev-rules udev-service-type
> >                             (list sane-backends))

This could be sane-backends-minimal. I checked the udev-rules in both of
them and they're identical.

> 
> … this one could perhaps be enabled by default for “desktop”
> installations, since, I believe, it doesn’t increase the disk space used
> by the resulting system.
> 

At the very least I think the udev rules should be added to the cups
service.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38161: Guix guided installer should set up printers and scanners
  2019-11-12  7:35   ` Efraim Flashner
@ 2019-11-12 13:49     ` Danny Milosavljevic
  2019-11-12 14:35       ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 7+ messages in thread
From: Danny Milosavljevic @ 2019-11-12 13:49 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 38161

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

Hi,

On Tue, 12 Nov 2019 09:35:30 +0200
Efraim Flashner <efraim@flashner.co.il> wrote:

> At the very least I think the udev rules should be added to the cups
> service.

Hmm, does cups have anything to do with scanning? 

Long term, people will not print things anymore but will scan things
(until such time where that stops, too), so "cups" will be way less
important that "sane" in the long run--and, if optional, it can easily
be that a user has "sane" but not "cups" in the system.

I'd prefer to just add

  (simple-service 'custom-udev-rules udev-service-type
    (list sane-backends-minimal))  

unconditionally (if it doesn't increase the size anyway).

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38161: Guix guided installer should set up printers and scanners
  2019-11-12 13:49     ` Danny Milosavljevic
@ 2019-11-12 14:35       ` pelzflorian (Florian Pelz)
  2019-11-12 15:44         ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-11-12 14:35 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 38161

On Tue, Nov 12, 2019 at 02:49:44PM +0100, Danny Milosavljevic wrote:
> Long term, people will not print things anymore but will scan things

This does not match my experience.  Printing things at university for
free (up to a quota) is very popular with students.  Many prefer
reading on paper or making notes.  Paper is like a cheap extra screen.

Nonetheless, instead of making hplip a default, I would prefer having
a video on how to install and configure printing services among top
Web search results.  This sounds like much work, but I’m not sure how
much work it really is.  Installing services is really easy on Guix.

Regards,
Florian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38161: Guix guided installer should set up printers and scanners
  2019-11-12 14:35       ` pelzflorian (Florian Pelz)
@ 2019-11-12 15:44         ` Ludovic Courtès
  2022-01-14 13:41           ` Mathieu Othacehe
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2019-11-12 15:44 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: 38161

Hi!

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:

> On Tue, Nov 12, 2019 at 02:49:44PM +0100, Danny Milosavljevic wrote:
>> Long term, people will not print things anymore but will scan things
>
> This does not match my experience.  Printing things at university for
> free (up to a quota) is very popular with students.

In this context, students to not need to run the CUPS daemon on their
laptop though: they just need to fill out ~/.cups/client.conf so that it
talks to the right pool server, and then everything should “just work.”

Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#38161: Guix guided installer should set up printers and scanners
  2019-11-12 15:44         ` Ludovic Courtès
@ 2022-01-14 13:41           ` Mathieu Othacehe
  0 siblings, 0 replies; 7+ messages in thread
From: Mathieu Othacehe @ 2022-01-14 13:41 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 38161-done


The installer is now proposing to install the cups service.

Closing, thanks.

Mathieu




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-01-14 13:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-10 14:44 bug#38161: Guix guided installer should set up printers and scanners Danny Milosavljevic
2019-11-11 21:01 ` Ludovic Courtès
2019-11-12  7:35   ` Efraim Flashner
2019-11-12 13:49     ` Danny Milosavljevic
2019-11-12 14:35       ` pelzflorian (Florian Pelz)
2019-11-12 15:44         ` Ludovic Courtès
2022-01-14 13:41           ` Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

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

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).