FVWM: Re: Simple Key Bindings.

From: Robert Tarrall <tarrall_at_solarz.Colorado.EDU>
Date: Wed, 24 Jan 1996 18:00:38 -0700

Dave Goldberg wrote:
-> >>>>> Robert Tarrall writes:
->
-> Robert> I too would very much like to see this. Perhaps the syntax
-> Robert> could be something like "StartsOnDesk 0:1" for page 1 of desk
-> Robert> 0? Then the X geometry could be interpreted as being relative
-> Robert> to that page rather than the current page...
->
-> This would certainly be alot nicer than what I do now, which is
-> calculate the screenwidth and height with xdpyinfo and specify
-> geometry with appropriate multiples of those values. However for
-> those who want to do it, an example would be
-> xterm -geometry +0+`expr $SCREENHEIGHT`

That's what I was doing too, only it was so ugly I was embarrassed to
admit it. :-) I delved into the source with the intention of coming up
with some fix for this, only to discover that there is a way to do
something that's close enough for my purposes - use the "GotoPage"
function. Here's an example of how to use it:

AddToFunc StartTin "I" Desk 0 0
+ "I" GotoPage 0 1
+ "I" Exec xterm -geometry 98x64+0+0 -ls -e /usr/local/bin/tin &


This should move to desk 0, then to the second page down on the left,
then start up an xterm running tin. Seems to work from any initial
desk.

It would be sort of nice to have the client start on the new desk and
page without switching to that page, but I think that would require mods
to the source code to do.

                        -Robert Tarrall.-
                        Unix System/Network Admin
                        Laboratory for Computational Dynamics
                        CU - Boulder
--
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 Wed Jan 24 1996 - 19:00:55 GMT

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