[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xterm menu problem



Giuseppe Sacco wrote:
> 
> > When I try to change the font size, using the control+rightmouseclick then I
> > get a menu showing me same font sizes. But this only happens if the user is
> > root. Otherwise I get a menu that is really smaller and I can only see the
> > first line of text in the menu (the smaller font size.)
> 
> ok, I double checked. The problem is related to the user' .Xresource.
> 
> There is a line that create the problem:
> XTerm*geometry:         80x40

You are setting the geometry resource for *all* the xterm widgets,
including the menu.  You should say:

XTerm*VT100.geometry: 80x40

> The "man xterm" command says:
> 
>   geometry (class Geometry)
>                Specifies the preferred size and position  of  the
>                VT102 window.
> 
> so what can be wrong?

If you go back (way back), the man page actually says:

       The following resources are specified as part of the vt100
       widget (class VT100):

by way of introduction to a very long list of resources, including
`geometry'.  It's very easy to miss.

Noel


Reply to: