NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xresoureces



At Fri, 29 Nov 2024 07:23:52 -0500, Todd Gruhn <tgruhn2%gmail.com@localhost> wrote:
Subject: Xresoureces
>
> CTRL-RigntMouse   gets  VT Fonts in a XTERM.
>
> XTerm.fontMenu.background: Magenta
> XTerm.fontMenu*Foreground: Blue4

You probably want to use "xterm.fontMenu" (instead of "XTerm") as the
former will work for both xterm(1) and uxterm(1) (which gets a class
name of "UXTerm" while keeping the application resource name of "xterm").

> How do I make the current GUI larger -- easier to read.

Depends on what the problem is!  :-)

If you're using a high-resolution (high-DPI) screen then ideally you
would select scalable fonts and set the resolution values for them to
match your display's DPI.  E.g. I end up with this (amongst many other
similar values) in my resources for my mac's "6k" display at 218dpi:

	*font:  -*-DejaVu Sans Mono-medium-r-normal--0-90-218-218-m-*-iso8859-1

See my ~/.xinitrc and ~/.Xdefaults files, as well as related files such
as ~/X11-m4macros.m4 and ~/.fonts.alias.m4:

	https://github.com/robohack/dotfiles/

You'll see that I like to be able to specify on-screen font sizes in
units of "points" that match as closely as possible to the physical
point size of an equivalent printed font, and that I go to quite some
lengths to do this.

BTW, if you happen to try "uxterm" you'll run into the problem that
NetBSD's build doesn't install a UXTerm-color app-defaults file, which
can cause some significant confusion.  The following patch, along with a
corresponding entry in the distrib/sets/xbase/mi file should fix it:

Index: external/mit/xorg/bin/xterm/uxterm/Makefile
===================================================================
RCS file: /cvs/master/m-NetBSD/main/src/external/mit/xorg/bin/xterm/uxterm/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- external/mit/xorg/bin/xterm/uxterm/Makefile 29 Jul 2008 05:01:22 -0000      1.1.1.1
+++ external/mit/xorg/bin/xterm/uxterm/Makefile 29 Nov 2024 21:24:24 -0000
@@ -4,7 +4,11 @@

 SCRIPTS=uxterm

-APPDEFS=UXTerm.ad
+APPDEFS=UXTerm.ad UXTerm-color.ad
+
+CLEANFILES+=	UXTerm-color.ad
+UXTerm-color.ad:
+	sed -e s/XTerm/UXTerm/ <${X11SRCDIR.xterm}/XTerm-col.ad >UXTerm-color.ad

 .PATH:	${X11SRCDIR.xterm}


--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpBinElk4zHw.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index