From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#24279: Bug in xterm and/or fontconfig Date: Thu, 30 Nov 2017 10:42:36 +0100 Message-ID: <87inds6r1v.fsf@gnu.org> References: <20160821131806.GA7072@jocasta.intra> <87shcyj2n9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKLN6-0003B9-28 for bug-guix@gnu.org; Thu, 30 Nov 2017 04:43:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKLN0-0006Ap-Dl for bug-guix@gnu.org; Thu, 30 Nov 2017 04:43:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:57117) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKLN0-0006A4-9W for bug-guix@gnu.org; Thu, 30 Nov 2017 04:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eKLMz-0001Dr-VI for bug-guix@gnu.org; Thu, 30 Nov 2017 04:43:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87shcyj2n9.fsf@gmail.com> (Oleg Pykhalov's message of "Tue, 28 Nov 2017 10:14:34 +0300") 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: Oleg Pykhalov Cc: John Darrington , 24279@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Oleg, Oleg Pykhalov skribis: > John Darrington writes: > >> In GuixSD: >> >> guix package -i xterm strace >> strace xterm >> >> xterm starts as it should, however observe many failed calls similar to: >> open("/gnu/store/b484nvn9nnr3ddclpz2fma9yxmimg2jj-fontconfig-2.11.94/li= b/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) =3D -1 ENOENT (No such file or direct= ory) >> >> >> Now in the xterm, hold down Ctrl and press any mouse button. >> The xterm aborts with the following messages: >> Warning: Unable to load any usable ISO8859 font >> Error: Aborting: no font found > > I solved this issue by: > > - Install a font-misc-misc as Mike Hunt from Gentoo forum suggests=C2= =B9: > > $ guix package -i font-misc-misc > > - From "(guix) Application Setup"=C2=B2: > > $ xset +fp ~/.guix-profile/share/fonts/X11/misc Oh, good to know! We can also fix this once and for all with this patch: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm index 0da3397da..8f285b29a 100644 --- a/gnu/services/xorg.scm +++ b/gnu/services/xorg.scm @@ -113,6 +113,8 @@ (file-append font-alias "/share/fonts/X11/100dpi") (file-append font-alias "/share/fonts/X11/misc") (file-append font-alias "/share/fonts/X11/cyrillic") + (file-append font-misc-misc ;default fonts for xterm + "/share/fonts/X11/misc") (file-append font-adobe75dpi "/share/fonts/X11/75dpi"))) (define* (xorg-configuration-file #:key --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable That adds 4.1=C2=A0MiB, but it saves user headaches, so I think it=E2=80=99= s worth it. I=E2=80=99ll go ahead and push that if there are no objections. Thanks, Ludo=E2=80=99. --=-=-=--