Gentoo Archives: gentoo-user

From: Jorge Almeida <jjalmeida@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] font path [WAS: xterm menu]
Date: Mon, 19 Dec 2016 10:40:16
Message-Id: CAKpSnpLbv4Dv=HctHycDc6d2J5jAznPTCWwrd5xBRuJwKKkzkg@mail.gmail.com
1 I managed to detect the twofold origin of my
2 xterm-crashing-on-Ctrl+click problem:
3
4 .Xresources has a line
5 XTerm*geometry: 80x22
6
7 It should be
8 XTerm*VT100.geometry: 80x22
9
10 It seems this is a common error (source:
11 https://wiki.archlinux.org/index.php/Xterm#Menus)
12
13 The other is the font path: I had (reported by "xset q"):
14 /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/
15
16 This is more or less what the man page for Xserver says is the
17 default. However, the first entry is breaking things: removing
18 /usr/share/fonts/misc/ causes xterm to have the expected behaviour re
19 menus. So, what is wrong here?
20
21 $ ls /usr/share/fonts/misc/
22 10x20.pcf.gz 6x10.pcf.gz 7x13O.pcf.gz 9x15B.pcf.gz fonts.scale
23 12x13ja.pcf.gz 6x12.pcf.gz 7x13.pcf.gz 9x15.pcf.gz k14.pcf.gz
24 18x18ja.pcf.gz 6x13B.pcf.gz 7x14B.pcf.gz 9x18B.pcf.gz micro.pcf.gz
25 18x18ko.pcf.gz 6x13O.pcf.gz 7x14.pcf.gz 9x18.pcf.gz nil2.pcf.gz
26 4x6.pcf.gz 6x13.pcf.gz 8x13B.pcf.gz encodings.dir
27 5x7.pcf.gz 6x9.pcf.gz 8x13O.pcf.gz fonts.alias
28 5x8.pcf.gz 7x13B.pcf.gz 8x13.pcf.gz fonts.dir
29
30 Should I remove /usr/share/fonts/misc/ from the font path? Will it not
31 break something else?
32 And what is the standard way to set the font path? I know I can do it
33 via the -fp flag of Xorg (I start X via xinit), but I assume most
34 people don't do this.
35
36 Thanks,
37
38 Jorge Almeida

Replies

Subject Author
[gentoo-user] Re: font path [WAS: xterm menu] Ian Zimmerman <itz@×××××××.net>