How do I make XTerm not use bold?

Posted by mike on Super User See other posts from Super User or by mike
Published on 2009-07-29T18:56:11Z Indexed on 2010/03/17 22:11 UTC
Read the original article Hit count: 427

Filed under:
|
|

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

However, XTerm seems to insist on using a bold version of the font whenever it's displaying a bright color:

screenshot

I hate hate hate the bold version of the font, but I like the brightness. The man page seems to suggest that adding "XTerm.VT100.boldMode:false" to my ~/.Xresources would disable this "feature", but it doesn't seem to have any effect. I've had it in there for months, so it's not a rebooting issue.

How can I force XTerm to always use the standard, non-bold version of the fixed font, even when it's displaying bright text?

Edit: Some have suggested putting "XTerm*boldMode: false" in my ~/.Xresources. That didn't help either. I've confirmed that the changes have taken effect with xrdb, though:

$ xrdb -query | grep boldMode 
XTerm*boldMode: false

And if i run xprop and click an xterm, I get "WM_CLASS(STRING) = "xterm", "XTerm"" .. so i'm definitely running real xterms.

BTW, this is just a plain-vanilla Ubuntu Intrepid box. If anyone else here is running the same, can you try running:

echo -e '#\e[1m#'

...and let me know whether the # on the right has a black pixel in the middle like the one on the left does?

© Super User or respective owner

Related posts about linux

Related posts about xterm

  • XTerm and a bold text

    as seen on Super User - Search for 'Super User'
    This is my Xterm config: XTerm*saveLines: 512 XTerm*reverseVideo: false XTerm*reverseWrap: true XTerm*fullCursor: true XTerm*scrollTtyOutput: on XTerm*scrollKey: on XTerm*eightBitInput: false XTerm*pointerColor: white XTerm*pointerShape: left_ptr XTerm*charClass: 37:48,45-47:48,58:48,64:48,126:48 XTerm*cursorColor:… >>> More

  • Coloring The Z Shell[closed]

    as seen on Super User - Search for 'Super User'
    Because I have to stare at my command prompt all the time on my computer, it should look at least half-decent, so I am trying to get it colored. The expected outcome is as seen on this site. I have the colors I want set in my .Xdefaults file, but they of course do not color my prompt. My .zshrc… >>> More

  • Coloring The Z Shell[closed]

    as seen on Super User - Search for 'Super User'
    Because I have to stare at my command prompt all the time on my computer, it should look at least half-decent, so I am trying to get it colored. The expected outcome is as seen on this site. I have the colors I want set in my .Xdefaults file, but they of course do not color my prompt. My .zshrc… >>> More

  • tput: unknown terminal

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I'm on AIX-6.1 and I'm trying to make use of tput inside my $PS1. I've confirmed I can't even run tput from the commandline. Following is my session: # tput unknown terminal "xterm" # echo $TERM xterm # tput -T ansi unknown terminal "ansi" In fact, ... # ls /usr/lib/terminfo/x x1700 xl83 … >>> More

  • xterm window gets stuck after some time

    as seen on Super User - Search for 'Super User'
    I am using xterm on RHEL with KDE. Usually after a couple of days, the xterm terminals get stuck i.e. I am not able to resize or relocate them. After this, even if I open a new terminal, it is stuck the same way. What I do is logout and login again. Is this a bug with xterm? Is there a known solution… >>> More