Thomas Adam <[EMAIL PROTECTED]> writes: > --- Dan Espen <[EMAIL PROTECTED]> wrote: > Christian Aistleitner > <[EMAIL PROTECTED]> writes: > > > Hello, > > > > > > So what I was looking for was something like: > > > > > > Style XTerm StartMaximized > > > > Xterm understands X resources. > > > > I use rxvt instead of xterm, but a similar approach would work > > for xterm. > > Here is what I use to force rxvt to almost full screen height > > (font matters too): > > > > #if ( HEIGHT == 900 ) > > Rxvt.geometry: 80x55 > > #elif ( HEIGHT == 1024 ) > > Rxvt.geometry: 80x65 > > #elif ( HEIGHT == 768 ) > > Rxvt.geometry: 80x47 > > #else /* I have no idea... */ > > Rxvt.geometry: 80x40 > > #endif > > > > "HEIGHT" is defined by xrdb which loads the xresources. > > I'd be more inclined to add it in "~/.Xresources" (often symlinked to > ~/.Xdefaults).
When you put things in ~/.Xdefaults doesn't xrdb still do the loading? I used to use .Xdefaults, but I found that it got out of control because it was too big. Now I have this in my .xinitrc: cat $HOME/xdef/*.ad | xrdb -load And I have a bunch of X.ad files in ~/xdef. -- Dan Espen E-mail: [EMAIL PROTECTED] -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]