Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Running gnome under Ubuntu Lucid

$ env | grep TERM

I had to edit both my .muttrc and my vim colorscheme to change the background color from black to none in order to get a proper black background (or, more accurately, to retain the terminal's default black background). Setting it to black resulted in a dark grey background. This only happens with gnome-terminal; konsole, xterm and rxvt are fine.

share|improve this question
up vote 4 down vote accepted

I found a solution to this. I'm now using GNOME Terminal 2.32.0 and it still has the same problem. I fixed it by changing the color pallete. From the Edit menu, select Profile Preferences, then the Colors tab. Click on the upper left rectangle in the Color pallete, Palette entry 1. This has a default Color name of #2E3436. Change this to #000000. Voila!

share|improve this answer
perfect, thanks! – Martin DeMello Jan 23 '12 at 1:22
Great, thanks - I've been battling between the server dishing out bad colours or vim setting them wrong, or setting the wrong terminal type! This is the real problem - the default 'black' for Gnome terminal is actually grey! – J.Churchill Dec 13 '12 at 13:34

This is a bug. A fix was released for Maverick in gnome-terminal 2.30.

share|improve this answer
thanks, good to know! – Martin DeMello Aug 15 '10 at 8:41
I'm running gnome-terminal 2.30.2 and the bug, or at least the same symptoms, are still there. – garyjohn Nov 28 '10 at 1:00
still there in gnome-terminal 3.0.1 – Martin DeMello Oct 1 '11 at 3:28

Do you have Transparent Background set to non-maximum under Edit > Profile Preferences > Background?

share|improve this answer
no, i have my background set to solid black. the terminal itself is fine; it's only when i start vim up with a colorscheme that uses ctermbg="black" that the background changes to grey. in other words, it's interpreting the color setting "black" as a dark grey color. i checked the palette too, but that seemed fine. – Martin DeMello May 19 '10 at 8:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .