From unknown Fri Aug 08 19:15:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#38810 <38810@debbugs.gnu.org> To: bug#38810 <38810@debbugs.gnu.org> Subject: Status: [PATCH] services: console-font: Update example with HDPI font suggestion. Reply-To: bug#38810 <38810@debbugs.gnu.org> Date: Sat, 09 Aug 2025 02:15:32 +0000 retitle 38810 [PATCH] services: console-font: Update example with HDPI font= suggestion. reassign 38810 guix-patches submitter 38810 Jan Nieuwenhuizen severity 38810 normal tag 38810 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 30 06:12:40 2019 Received: (at submit) by debbugs.gnu.org; 30 Dec 2019 11:12:40 +0000 Received: from localhost ([127.0.0.1]:60529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilsyQ-00012j-9I for submit@debbugs.gnu.org; Mon, 30 Dec 2019 06:12:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:48492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilsyP-00012c-6c for submit@debbugs.gnu.org; Mon, 30 Dec 2019 06:12:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35700) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilsyM-00018K-Vc for guix-patches@gnu.org; Mon, 30 Dec 2019 06:12:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_20, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ilsyM-00050r-Pc; Mon, 30 Dec 2019 06:12:30 -0500 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=58604 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ilsyL-0006Y0-Vw; Mon, 30 Dec 2019 06:12:30 -0500 From: Jan Nieuwenhuizen To: guix-patches@gnu.org Subject: [PATCH] services: console-font: Update example with HDPI font suggestion. Date: Mon, 30 Dec 2019 12:12:27 +0100 Message-ID: <87h81ihxt0.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi, Another HDPI-inspired patch; since Marrakech I finally have a readable console font, thanks to Bernhard M. Wiedemann. This solution enters the manual in a kind of tricksy way. More seriously, when updating the `guix system search console font' example output, I found that mingetty and login and ... entries to be missing. Is that a bug, or should the output be fixed? We could also change the example command to `guix search console', then those entries are present again. Greetings, janneke --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-services-console-font-Update-example-with-HDPI-font-.patch Content-Transfer-Encoding: quoted-printable >From 1b0d736405354c2c1aeb7aee00e63307d956ceae Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Mon, 30 Dec 2019 11:56:58 +0100 Subject: [PATCH] services: console-font: Update example with HDPI font suggestion. This solution was kindly provided by Bernard M. Wiedemann. * gnu/services/base.scm (console-font-service-type): Add ter132n (terminus = 132 nomal) font example, for HDPI displays. * doc/guix.texi (Invoking guix system): Update `guix system search console font' example output. --- doc/guix.texi | 20 +++++++++++++++----- gnu/services/base.scm | 6 +++++- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 02cecae043..298b9a531c 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -25980,17 +25980,27 @@ supported: Display available service type definitions that match the given regular expressions, sorted by relevance: =20 +@cindex HDPI +@cindex resolution @example $ guix system search console font name: console-fonts location: gnu/services/base.scm:729:2 extends: shepherd-root -description: Install the given fonts on the specified ttys (fonts are -+ per virtual console on GNU/Linux). The value of this service is a list -+ of tty/font pairs like: +description: Install the given fonts on the specified ttys ++ (fonts are per virtual console on GNU/Linux). The value of this ++ service is a list of tty/font pairs. The font can be the name ++ of a font provided by the `kbd' package or any valid argument to ++ `setfont', as in this example: +=20 -+ '(("tty1" . "LatGrkCyr-8x16")) -relevance: 20 ++ '(("tty1" . "LatGrkCyr-8x16") ++ ("tty2" . (file-append ++ font-tamzen ++ "/share/kbd/consolefonts/TamzenForPowerline10x20.ps= f")) ++ ("tty3" . (file-append ++ font-terminus ++ "/share/consolefonts/ter-132n"))) ; for HDPI +relevance: 32 =20 name: mingetty location: gnu/services/base.scm:1048:2 diff --git a/gnu/services/base.scm b/gnu/services/base.scm index b1eff89ecc..77215e411c 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -10,6 +10,7 @@ ;;; Copyright =C2=A9 2019 Efraim Flashner ;;; Copyright =C2=A9 2019 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2019 John Soo +;;; Copyright =C2=A9 2019 Jan (janneke) Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -818,7 +819,10 @@ package or any valid argument to @command{setfont}, as= in this example: '((\"tty1\" . \"LatGrkCyr-8x16\") (\"tty2\" . (file-append font-tamzen - \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))) + \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\")) + (\"tty3\" . (file-append + font-terminus + \"/share/consolefonts/ter-132n\"))) ; for HDPI @end example\n"))) =20 (define* (console-font-service tty #:optional (font "LatGrkCyr-8x16")) --=20 2.24.0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 30 16:59:09 2019 Received: (at 38810) by debbugs.gnu.org; 30 Dec 2019 21:59:10 +0000 Received: from localhost ([127.0.0.1]:33562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1im349-0003kR-LN for submit@debbugs.gnu.org; Mon, 30 Dec 2019 16:59:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1im348-0003k9-Kf for 38810@debbugs.gnu.org; Mon, 30 Dec 2019 16:59:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1im343-0002BT-DC; Mon, 30 Dec 2019 16:59:03 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44548 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1im341-0006zj-W8; Mon, 30 Dec 2019 16:59:02 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jan Nieuwenhuizen Subject: Re: [bug#38810] [PATCH] services: console-font: Update example with HDPI font suggestion. References: <87h81ihxt0.fsf@gnu.org> Date: Mon, 30 Dec 2019 22:58:59 +0100 In-Reply-To: <87h81ihxt0.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Mon, 30 Dec 2019 12:12:27 +0100") Message-ID: <877e2d1nmk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38810 Cc: 38810@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Jan Nieuwenhuizen skribis: > Another HDPI-inspired patch; since Marrakech I finally have a readable > console font, thanks to Bernhard M. Wiedemann. :-) > This solution enters the manual in a kind of tricksy way. More > seriously, when updating the `guix system search console font' example > output, I found that mingetty and login and ... entries to be missing. > Is that a bug, or should the output be fixed? We could also change > the example command to `guix search console', then those entries are > present again. Yeah, we should just change the example to =E2=80=9Cguix search console=E2= =80=9D. >>>From 1b0d736405354c2c1aeb7aee00e63307d956ceae Mon Sep 17 00:00:00 2001 > From: Jan Nieuwenhuizen > Date: Mon, 30 Dec 2019 11:56:58 +0100 > Subject: [PATCH] services: console-font: Update example with HDPI font > suggestion. > > This solution was kindly provided by Bernard M. Wiedemann. > > * gnu/services/base.scm (console-font-service-type): Add ter132n (terminu= s 132 > nomal) font example, for HDPI displays. > * doc/guix.texi (Invoking guix system): Update `guix system search console > font' example output. LGTM! > +@cindex HDPI Do people expect =E2=80=9CHDPI=E2=80=9D or =E2=80=9CHiDPI=E2=80=9D? Wikipe= dia says both: . Perhaps add two cindex entries then? Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 30 17:40:47 2019 Received: (at 38810-done) by debbugs.gnu.org; 30 Dec 2019 22:40:47 +0000 Received: from localhost ([127.0.0.1]:33608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1im3iN-0004kf-IV for submit@debbugs.gnu.org; Mon, 30 Dec 2019 17:40:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1im3iL-0004kT-JI for 38810-done@debbugs.gnu.org; Mon, 30 Dec 2019 17:40:42 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1im3iF-0002XU-HJ; Mon, 30 Dec 2019 17:40:35 -0500 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=33474 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1im3iE-0002Bs-Q9; Mon, 30 Dec 2019 17:40:35 -0500 From: Jan Nieuwenhuizen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#38810] [PATCH] services: console-font: Update example with HDPI font suggestion. Organization: AvatarAcademy.nl References: <87h81ihxt0.fsf@gnu.org> <877e2d1nmk.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Mon, 30 Dec 2019 23:40:32 +0100 In-Reply-To: <877e2d1nmk.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 30 Dec 2019 22:58:59 +0100") Message-ID: <87d0c5jv33.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38810-done Cc: 38810-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s writes: >> Another HDPI-inspired patch; since Marrakech I finally have a readable >> console font, thanks to Bernhard M. Wiedemann. > > :-) Yes, that was so helpful! I've been trying from time to time and did not succeed until now. > Yeah, we should just change the example to =E2=80=9Cguix search console= =E2=80=9D. Okay, changed to "guix system search console". > LGTM! Thanks, pushed to master. >> +@cindex HDPI > > Do people expect =E2=80=9CHDPI=E2=80=9D or =E2=80=9CHiDPI=E2=80=9D? Wiki= pedia says both: > . > Perhaps add two cindex entries then? Sure. HDPI is more common on the interwebs, I just added HiDPI; thanks! Always nice if you can find what you are looking fore :) janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From unknown Fri Aug 08 19:15:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 28 Jan 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator