x-resource not working?
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: Mark L. <la...@mi...> - 2002-02-19 21:21:47
|
I have been using modules-2.2beta for a long time and it's work rather well. We've finally got some RH7.2 machines that won't run the old code because for some reason, TCL8.3 is not backwards compatible with TCL8.0 ! I've tried 3.x a few times, only to hit segv's on 'module unload ...'. So I thought I would try 3.1.6 one more time, and while I am not getting the segvs, the x-resource command is not doing anything. In my module file, I have: x-resource {Iexplorer*background: #c0c0c0} while when I query the xrdb, I get: % xrdb -query ! screen-independent resources : #c0c0c0 which you can see has lost the "Iexplorer*background" bit. I've gone through the code with the gdb debugger, and it seems that this is a problem in the modulecmd program, because I see the line where it calls XChangeProperty() and it is missing the "Iexplorer*background" bit also. Is there some trick to get this to work? It used to work great in 2.2. Except for the installation path, I'm using all the defaults for ./configure. (and someone else has gone through the code and misspelled the word "ressource" [sic] in the comments ... it was fine in 2.2) There are some other problems with x-resource hanging or crashing ungracefully if $DISPLAY and/or xhost is not set correctly, but I'll worry about that later... -Mark Mark Lakata, Staff Engineer 1225 Charleston Road voice 650-567-5170 MIPS Technologies Mountain View CA 94043 fax 650-567-5002 |