GNU bug report logs - #38161
Guix guided installer should set up printers and scanners

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Sun, 10 Nov 2019 14:46:01 UTC

Severity: normal

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38161 in the body.
You can then email your comments to 38161 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#38161; Package guix. (Sun, 10 Nov 2019 14:46:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 10 Nov 2019 14:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: <bug-guix <at> gnu.org>
Subject: Guix guided installer should set up printers and scanners
Date: Sun, 10 Nov 2019 15:44:59 +0100
[Message part 1 (text/plain, inline)]
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))
[...]
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#38161; Package guix. (Mon, 11 Nov 2019 21:02:02 GMT) Full text and rfc822 format available.

Message #8 received at 38161 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 38161 <at> debbugs.gnu.org
Subject: Re: bug#38161: Guix guided installer should set up printers and
 scanners
Date: Mon, 11 Nov 2019 22:01:32 +0100
Hi,

Danny Milosavljevic <dannym <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#38161; Package guix. (Tue, 12 Nov 2019 07:56:02 GMT) Full text and rfc822 format available.

Message #11 received at 38161 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 38161 <at> debbugs.gnu.org
Subject: Re: bug#38161: Guix guided installer should set up printers and
 scanners
Date: Tue, 12 Nov 2019 09:35:30 +0200
[Message part 1 (text/plain, inline)]
On Mon, Nov 11, 2019 at 10:01:32PM +0100, Ludovic Courtès wrote:
> Hi,
> 
> Danny Milosavljevic <dannym <at> 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 <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#38161; Package guix. (Tue, 12 Nov 2019 13:50:02 GMT) Full text and rfc822 format available.

Message #14 received at 38161 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 38161 <at> debbugs.gnu.org
Subject: Re: bug#38161: Guix guided installer should set up printers and
 scanners
Date: Tue, 12 Nov 2019 14:49:44 +0100
[Message part 1 (text/plain, inline)]
Hi,

On Tue, 12 Nov 2019 09:35:30 +0200
Efraim Flashner <efraim <at> 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).
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#38161; Package guix. (Tue, 12 Nov 2019 14:37:01 GMT) Full text and rfc822 format available.

Message #17 received at 38161 <at> debbugs.gnu.org (full text, mbox):

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: Efraim Flashner <efraim <at> flashner.co.il>, 38161 <at> debbugs.gnu.org
Subject: Re: bug#38161: Guix guided installer should set up printers and
 scanners
Date: Tue, 12 Nov 2019 15:35:56 +0100
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




Information forwarded to bug-guix <at> gnu.org:
bug#38161; Package guix. (Tue, 12 Nov 2019 15:45:01 GMT) Full text and rfc822 format available.

Message #20 received at 38161 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: "pelzflorian \(Florian Pelz\)" <pelzflorian <at> pelzflorian.de>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 38161 <at> debbugs.gnu.org
Subject: Re: bug#38161: Guix guided installer should set up printers and
 scanners
Date: Tue, 12 Nov 2019 16:44:23 +0100
Hi!

"pelzflorian (Florian Pelz)" <pelzflorian <at> 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’.




Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Fri, 14 Jan 2022 13:42:01 GMT) Full text and rfc822 format available.

Notification sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
bug acknowledged by developer. (Fri, 14 Jan 2022 13:42:02 GMT) Full text and rfc822 format available.

Message #25 received at 38161-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>,
 "pelzflorian \(Florian Pelz\)" <pelzflorian <at> pelzflorian.de>,
 38161-done <at> debbugs.gnu.org
Subject: Re: bug#38161: Guix guided installer should set up printers and
 scanners
Date: Fri, 14 Jan 2022 14:41:33 +0100
The installer is now proposing to install the cups service.

Closing, thanks.

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 12 Feb 2022 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 66 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.