GNU bug report logs -
#24279
xterm aborts upon ctrl+click
Previous Next
Full log
Message #48 received at 24279 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Oleg,
Oleg Pykhalov <go.wigust <at> gmail.com> skribis:
> John Darrington <john <at> darrington.wattle.id.au> 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/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>>
>>
>> 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¹:
>
> $ guix package -i font-misc-misc
>
> - From "(guix) Application Setup"²:
>
> $ xset +fp ~/.guix-profile/share/fonts/X11/misc
Oh, good to know!
We can also fix this once and for all with this patch:
[Message part 2 (text/x-patch, 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
[Message part 3 (text/plain, inline)]
That adds 4.1 MiB, but it saves user headaches, so I think it’s worth it.
I’ll go ahead and push that if there are no objections.
Thanks,
Ludo’.
This bug report was last modified 7 years and 174 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.