Bug 7225 - gvim: cannot set background to black
Summary: gvim: cannot set background to black
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: vim
Version: 6.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-11-22 14:17 UTC by darkeye
Modified: 2008-05-01 15:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-01-14 08:24:22 UTC
Embargoed:


Attachments (Terms of Use)

Description darkeye 1999-11-22 14:17:50 UTC
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 :(

Comment 1 Bernhard Rosenkraenzer 1999-11-22 17:53:59 UTC
Looking into it...

Comment 2 Skontorp, Karl-Martin 2000-01-07 22:40:59 UTC
How about starting gvim like this: gvim -rv

Comment 3 schulz 2000-01-14 08:24:59 UTC
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

Comment 4 Bernhard Rosenkraenzer 2000-08-30 20:09:33 UTC
gvim isn't supposed to look at .Xdefaults. The old versions that did were using
the Athena widget set, not GTK.


Note You need to log in before you can comment on or make changes to this bug.