From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: bug#36014: [PATCH] Attempt to use console-fonts not provided by kbd if they are installed Date: Fri, 12 Jul 2019 09:05:45 -0700 Message-ID: References: <2B601D3D-75D4-4F3B-8324-E039395227CE@asu.edu> <87pnmgpa8q.fsf@gnu.org> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43274) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hly3f-0007yU-E7 for bug-guix@gnu.org; Fri, 12 Jul 2019 12:06:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hly3e-0007Ve-CH for bug-guix@gnu.org; Fri, 12 Jul 2019 12:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60000) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hly3e-0007VE-8G for bug-guix@gnu.org; Fri, 12 Jul 2019 12:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hly3d-0006Ae-U1 for bug-guix@gnu.org; Fri, 12 Jul 2019 12:06:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87pnmgpa8q.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36014@debbugs.gnu.org Ok so I tried your suggestion and it works! I=E2=80=99m so surprised but I t= hink I=E2=80=99ll update the docs to reflect this possibility instead of the= current patch. - John > On Jul 11, 2019, at 1:49 PM, Ludovic Court=C3=A8s wrote: >=20 > Hi John, >=20 > John Soo skribis: >=20 >> I looked hard at a nicer way to provide a flag to start kbd pointing to a= >> directory or file. There is a flag to point to a file for a font which >> could be nice. However setfont also prioritizes the current directory ove= r >> the kbd directory. The following patch attempts to chdir to a directory >> where more console fonts may be installed. >=20 > What about doing something like this in your config >=20 > (console-font-service "tty1" > (file-append some-font-package > "/share/consolefonts/whatever")) >=20 > ? >=20 > Does it work for you? >=20 > This approach has the advantage that the service doesn=E2=80=99t need to b= e > changed, and it doesn=E2=80=99t need to change the current directory of PI= D 1 > either. >=20 > Thanks, > Ludo=E2=80=99.