Red Hat Bugzilla – Bug 7225
gvim: cannot set background to black
Last modified: 2008-05-01 11:37:53 EDT
I cannot set the background to back for gvim with the X resources in
.Xdefaults. Used to work in RedHat 6.0, with the following values:
Now gvim ignores them :(
Looking into it...
How about starting gvim like this: gvim -rv
Are you running gnome?
I observed that the .Xdefaults file ist not read as usual when using gnome.
You could verify this with the command
if the resources get mentioned, you have to blame gvim, if not, dont blame
gvim but try
xrdb -merge ~/.Xdefaults
and see if gvim (or whatever else) now works as you want.
If that is the case, as a workaround, you could add the command
xrdb -merge /home/putusernamehere/.Xdefaults
at priority 10 into the startup programs list in the gnome control center
(as I did). I consider this a bug of gnome or enlightment or whatever.
gvim isn't supposed to look at .Xdefaults. The old versions that did were using
the Athena widget set, not GTK.