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: Vim*background: black Vim*foreground: green 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 xrdb -query 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. Yours, Martin Schulz
gvim isn't supposed to look at .Xdefaults. The old versions that did were using the Athena widget set, not GTK.