Celeb Glow
news | March 21, 2026

Ubuntu 17.04 vim colors

I just installed Ubuntu 17.04. After setting up vim I noticed my colors are wrong. Here's what I mean:enter image description here

You can see that system background is showing through the vim background in places where there is no text.

What I've tried
I've made sure that my vimrc has set t_Co=256 in it. Also as you can see in the above image my bashrc has force_color_prompt=yes. I've also added bg=dark to my vimrc. For the curious the ouput of echo $TERM is xterm-256color. I've made sure to source both of those files and tried restarting the terminal.

It seems as if there is a problem with 256 color support in gnome-terminal for Ubuntu 17.04.

Is this a problem for anyone else? Has anyone solved it?

3

1 Answer

While you are in your terminal tab.

Go the the window settings and select the "Edit" menu. In that there is a "Profile Preferences".

Now select the "Colors" and adjust your transperancy or unselect it.

enter image description here

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy