FVWM: Re: StartsOnPage

From: Dave Goldberg <dsg_at_linus.mitre.org>
Date: Thu, 01 Feb 1996 11:18:39 -0500

Frank> Hi, I remember reading a discussion about how people managed to
Frank> do something similar to the nonexistant StartsOnPage attribute,
Frank> fiddling with some variables like WINDOWHEIGHT/WIDTH or
Frank> SCREENHEIGHT/WIDTH.... I would like to have some applications
Frank> be placed on a certain Page (NOT Desk) but when I specify a
Frank> geometry, the placement is relative to the current page, not
Frank> the top-left page. Could you post this .fv* excerpts again
Frank> please?

Yes, any geometry spec is relative to the current page. For now you
have to deal with that. I don't recall seeing anyone post excerpts
from a .fvwmrc, though if you use FvwmM4 (and I presume FvwmCpp),
there will be HEIGHT and WIDTH variable set for you that you can use.
I do it all out of my .X11Startup file which looks something like
this:

#! /bin/sh

[...]
SCREENWIDTH=`xdpyinfo | grep dimensions | cut -dx -f1 | cut -d: -f2`
SCREENHEIGHT=`xdpyinfo | grep dimensions | cut -dx -f2 | cut -d' ' -f1`
export SCREENWIDTH SCREENHEIGHT
[...]
xterm -geometry +0+`expr $SCREENHEIGHT` &
netscape -geometry 900x725+`expr $SCREENWIDTH \* 2`+`expr $SCREENHEIGHT` &
[...]


Dave Goldberg
Post: The Mitre Corporation\MS B020\202 Burlington Rd.\Bedford, MA 01730
Phone: 617-271-3887
Domain: dsg_at_mitre.org UUCP: {your neighborhood}!linus!mdf!dsg

--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Feb 01 1996 - 10:18:55 GMT

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