From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#36014: [PATCH] Attempt to use console-fonts not provided by kbd if they are installed Date: Thu, 11 Jul 2019 22:49:41 +0200 Message-ID: <87pnmgpa8q.fsf@gnu.org> References: <2B601D3D-75D4-4F3B-8324-E039395227CE@asu.edu> Mime-Version: 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]:39835) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlg0y-0004dx-JN for bug-guix@gnu.org; Thu, 11 Jul 2019 16:50:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlg0x-0004To-O8 for bug-guix@gnu.org; Thu, 11 Jul 2019 16:50:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58268) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlg0x-0004Td-KM for bug-guix@gnu.org; Thu, 11 Jul 2019 16:50:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlg0x-0007df-GZ for bug-guix@gnu.org; Thu, 11 Jul 2019 16:50:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (John Soo's message of "Thu, 11 Jul 2019 14:27:15 +0000") 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: John Soo Cc: 36014@debbugs.gnu.org Hi John, John Soo skribis: > 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 over > the kbd directory. The following patch attempts to chdir to a directory > where more console fonts may be installed. What about doing something like this in your config (console-font-service "tty1" (file-append some-font-package "/share/consolefonts/whatever")) ? Does it work for you? This approach has the advantage that the service doesn=E2=80=99t need to be changed, and it doesn=E2=80=99t need to change the current directory of PID= =C2=A01 either. Thanks, Ludo=E2=80=99.