Can I Change Font Size and Background Color in X11 Terminal on iMac?

  • Thread starter Thread starter natski
  • Start date Start date
AI Thread Summary
To change the font size in the X11 terminal on an iMac, users can utilize the control right-click to access a font selection popup. However, changing the background color must be done at startup using a command like "xterm -bg lightyellow -fg black." The default font can also be specified in the command with the -fn option, although not all fonts may be compatible. To explore available fonts, the command "xlsfonts" can be used, and "xfontsel" helps narrow down choices. For terminal use, fixed-size fonts are recommended, which can be found by filtering the output of "xlsfonts" with a specific grep command.
natski
Messages
262
Reaction score
2
Hi,

I'm using an iMac with X11 terminal and wanted to know how (and if) I can change the font size to be a littler larger and also whether it's possible to change the background from white to a pale yellow? Thank-you!

Natski
 
Computer science news on Phys.org
You can use control right click to bring up a font selection popup. AFAIK, you can't change the background on the fly. You'll have to do that when you fire up your xterm:

xterm -bg lightyellow -cr lightyellow -fg black

You can also specify the default font in the xterm command via the -fn option.
 
Thanks, I tried -fn arial and it didnt like it much though, which fonts are available?
 
Last edited:
xlsfonts lists all of the fonts available. The list is rather large. See below.

xfontsel let's you narrow down a font. You have to know a bit about fonts are specified to make sense of this and to use the outputs.

You probably want a fixed-size font for a terminal. Try

xlsfonts | grep '^[0-9]'

This will give a list of fixed-size fonts in terms of pixel width X height.
 
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...

Similar threads

Replies
5
Views
2K
Replies
2
Views
2K
Replies
1
Views
2K
Replies
4
Views
2K
Replies
37
Views
6K
Replies
207
Views
12K
Replies
1
Views
153K
Back
Top