Re: FVWM: geometries in .fvwm2rc, starting maximized, moving applications

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Thu, 18 Sep 2003 07:33:38 -0400

Thomas Adam <thomas_adam16_at_yahoo.com> writes:
> --- Dan Espen <dane_at_mk.telcordia.com> wrote: > Christian Aistleitner
> <tmgisi_at_gmx.at> 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: dane_at_mk.telcordia.com
--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Sep 18 2003 - 06:36:55 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST