Home » Questions » Computers [ Ask a new question ]

How do I make XTerm not use bold?

How do I make XTerm not use bold?

I like using XTerm, I like its default "fixed" font, and I like using terminal colors rather than having a monochromatic terminal.

Asked by: Guest | Views: 245
Total answers/comments: 5
bert [Entry]

"If you set the same font for bold and normal font it might work.

I set the fixed font for both like:

xterm*font: fixed
xterm*boldFont: fixed

If you then do xrdb -load and start a new term it was back to not being bold :)"
bert [Entry]

"X resources aren't reloaded until you reload the X windowing system, and they aren't polled unless you restart the executable which is doing it. Try running

xrdb ~/.Xresources

in your current session. Then start another xterm. The next time you start X (relogin or reboot) the resources should be read automatically.

Another thing to try is to use a wildcard to make sure that it is picking up the resource correctly. Use

XTerm*boldMode: false

instead.

Yet another thing to check is that you are actually running xterm when you run a terminal process. If not, you will need to change the fonts with a different resource."
bert [Entry]

"It's an xterm bug:

http://bugs.debiandotorg/cgi-bin/bugreport.cgi?bug=347790

A temporary fix which works for me is to put the following cludgy fix at the end of your .bashrc file:

echo -e ""\e[1mA\e[2J\e[7mB\e[m\e[?5h\e[?5l""
clear"
"It's an xterm bug:

http://bugs.debiandotorg/cgi-bin/bugreport.cgi?bug=347790

A temporary fix which works for me is to put the following cludgy fix at the end of your .bashrc file:

echo -e ""\e[1mA\e[2J\e[7mB\e[m\e[?5h\e[?5l""
clear"
bert [Entry]

On fontsel-based system try xterm -fa Fixed. On my machine this fixes bold fonts, albeit the rendering becomes slower.
bert [Entry]

"Check if the setting has taken effect:

xrdb -query | grep XTerm

If it is not in there, then you can force it to load:

xrdb -load ~/.Xresources

See the man page for more on this command."