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

From: Thomas Adam <thomas_adam16_at_yahoo.com>
Date: Thu, 18 Sep 2003 12:49:45 +0100 (BST)

 --- Dan Espen <dane_at_mk.telcordia.com> wrote: > 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.

Yeah, i mean there's nothing wrong with you doing that, although I
question your command above. "cat" will display the contents, surely
something like:

``
for i in $(ls -1 $HOME/xdef/*.ad); do xrdb -merge $i; done
''

would be better? Or am I missing something?

-- Thomas Adam

> > --
> 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.

=====
Thomas Adam

"The Linux Weekend Mechanic" -- www.linuxgazette.com

________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
--
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:52:05 BST

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