Re: Annoying message about X11 Resources on Solaris. [message #52370 is a reply to message #52368] |
Tue, 30 January 2007 07:50   |
JJ
Messages: 36 Registered: January 2007
|
Member |
|
|
>> Where could these resources possibly be getting set????
>>
>
> Thousands of places :).
>
> A strong possibility is that in the dim and distant past a system admin
> set things up to be helpful. It looks like you're getting a warning
> message not because they are set but because they are different what are
> set in your IDL preferences. This could be why you're getting different
> behaviour from other users.
>
> I tracked down a Solaris 8 box (I think it's Solaris 8 anyway: 5.8
> Generic_117000-03 sun4u sparc SUNW,Ultra-5_10) and a system-wide
> possiblity is:
>
> /usr/openwin/lib/Xdefaults
>
Thanks for the suggestions. I think looking for a file that sets these
attributes globally is probably the right track. Unfortunately, If a
sysadmin was just trying to be helpful and did this in the past, it was
probably me.
I was not able to find the culprit in the suggested places.
My ~/.idl/rsi/pref-10-idl_6_3-unix/idl.pref looks the way I think it
should, with values for IDL_GR_X_HEIGHT and IDL_GR_X_WIDTH. After the
complaints, my windows come up the size I expect (900x600).
Strangely, other users seem to get a default window of size 960x1112. I
have no idea where those numbers are coming from. And if they set the
variables:
IDL_GR_X_HEIGHT : 600
IDL_GR_X_WIDTH : 900
in their ~/.idl/rsi/pref-10-idl_6_3-unix/idl.pref,
When they run IDL they will get the previously described error messages
referring to values of 640x512:
% idl.graphicsWindowWidth X11 resource was used by older versions of IDL
to default width of a
graphics window, but is ignored by this version. It is present and
has a value of 640 which
does not agree with the value of the IDL_GR_X_WIDTH preference (900).
Set the IDL_GR_X_WIDTH
preference to 640 if you wish to use this value. Set the
IDL_PREF_OBSOLETE_WARN preference
to False if you wish to disable these warning messages in the future.
% idl.graphicsWindowHeight X11 resource was used by older versions of
IDL to default height of a
graphics window, but is ignored by this version. It is present and
has a value of 512 which
does not agree with the value of the IDL_GR_X_HEIGHT preference
(600). Set the
IDL_GR_X_HEIGHT preference to 512 if you wish to use this value. Set the
IDL_PREF_OBSOLETE_WARN preference to False if you wish to disable
these warning messages in
the future.
But what's worse is that the window still comes up as 960x1112.
????
I'm getting really confused.
-JJ
|
|
|