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

  • Thread starter Thread starter natski
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around changing the font size and background color in the X11 terminal on an iMac. Participants explore methods for adjusting these settings, including command-line options and font selection tools.

Discussion Character

  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant inquires about changing the font size and background color in the X11 terminal.
  • Another participant suggests using a control right-click for font selection and provides a command to change the background color when starting xterm.
  • A participant expresses difficulty with a specific font command and asks about available fonts.
  • Another participant mentions using xlsfonts to list available fonts and recommends using fixed-size fonts for terminal use.

Areas of Agreement / Disagreement

Participants provide various methods and suggestions, but there is no consensus on the ease of changing the background color dynamically or the specific fonts that work best.

Contextual Notes

Limitations include potential dependencies on specific terminal settings and the need for familiarity with font specifications to effectively use the tools mentioned.

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.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
4
Views
6K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
153K
  • · Replies 207 ·
7
Replies
207
Views
15K
Replies
18
Views
2K