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: Thu, 11 Jul 2019 15:29:28 -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]:39610) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlhZj-0008N2-FF for bug-guix@gnu.org; Thu, 11 Jul 2019 18:30:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlhZi-0000jZ-FH for bug-guix@gnu.org; Thu, 11 Jul 2019 18:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlhZi-0000jA-Bk for bug-guix@gnu.org; Thu, 11 Jul 2019 18:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlhZi-00067c-09 for bug-guix@gnu.org; Thu, 11 Jul 2019 18:30: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 Thanks Ludo! I really appreciate how engaged you are btw. Thanks so much. But yes I agree= I=E2=80=99d rather not change the directory either. I will see what I can d= o and report back.=20 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.