From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 71C671384B4 for ; Fri, 20 Nov 2015 00:54:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6AE3EE07C9; Fri, 20 Nov 2015 00:54:27 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 47808E06CC for ; Fri, 20 Nov 2015 00:54:26 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AeFgA731xV/92kCkxcgxABgTGIJbtAgUuGAASBQDoTAQEBAQEBAYEKQQWEHRxfEyEFJSQTiCybL7Qgk12BFgWLRGyGQHeKCId4jViBRSOBRww3HIFwIDGCRwEBAQ X-IPAS-Result: A0AeFgA731xV/92kCkxcgxABgTGIJbtAgUuGAASBQDoTAQEBAQEBAYEKQQWEHRxfEyEFJSQTiCybL7Qgk12BFgWLRGyGQHeKCId4jViBRSOBRww3HIFwIDGCRwEBAQ X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="178799001" Received: from 76-10-164-221.dsl.teksavvy.com (HELO waltdnes.org) ([76.10.164.221]) by ironport2-out.teksavvy.com with SMTP; 19 Nov 2015 19:54:10 -0500 Received: by waltdnes.org (sSMTP sendmail emulation); Thu, 19 Nov 2015 19:53:54 -0500 From: "Walter Dnes" Date: Thu, 19 Nov 2015 19:53:54 -0500 To: Gentoo Users List Subject: [gentoo-user] How to set up monospaced xterm fonts? Message-ID: <20151120005353.GA18323@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Archives-Salt: b5216815-362a-4a11-a03c-c0cb9aa91497 X-Archives-Hash: f18806dfb7c9efa7c9e5b983d5ffea92 Lucidasanstypewriter-12 is still my favourite xterm font. A long time ago, it switched from ISO8859-1 to ISO10646. Fortunately, I had 2 machines, and salvaged the /usr/share/fonts directory from one, and still insert it in place of whatever portage gives me. I realize that it's an ugly hack, and I'd like to do things the right way. The problem is that I can't figure out how. I'm doing a re-install on a machine, so I can play around a little bit. On the fresh install when I include... /usr/bin/xterm -bg black -fg cyan -geometry +0+0 ...in my .xinitrc and launch X manually. The xterm is rather small. When I {CTRL}{RIGHT-CLICK}, the xterm dies and disappears. Meanwhile, on the text console that launched X is the message... Warning: Cannot convert string "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Unable to load any usable ISO8859 font Warning: Unable to load any usable ISO8859 font Error: Aborting: no font found Note that I did not specify any fonts. My Google-fu didn't help very much. The best suggestions I found were to... a) put all sub-directories in /usr/share/fonts into FontPath statements in xorg.conf b) run "xlsfonts > textfile" and search for a font I found a bunch of 8859-1 fonts, and chose "b&h luxi" fonts (put special characters in the name, why don't you?). I inserted the following into my .xinitrc (backslashes are required). /usr/bin/xterm -bg black -fg cyan -geometry +0+0 -fn -b\&h-luxi\ mono-*-*-*--*-*-*-*-*-*-iso8859-1 & ...and started X. This time the xterm did not die on {CTRL}{RIGHT-CLICK}. Only "Default" font size and "Unreadable" worked properly. All other choices ended up with a middling font size when I cycled through the choices. The text console from which I launched X reported... /usr/bin/xterm: cannot load font '5x7' /usr/bin/xterm: cannot load font '6x10' /usr/bin/xterm: cannot load font '7x13' /usr/bin/xterm: cannot load font '9x15' /usr/bin/xterm: cannot load font '10x20' Some progress, but I'm not there yet. I'm sure people have working setups. Any ideas? -- Walter Dnes I don't run "desktop environments"; I run useful applications