Re: FVWM: How to keep the application on the page in which it was started ?

From: Sauveron Damien <sauveron_at_alphainfo.unilim.fr>
Date: Wed, 6 Sep 2000 12:12:01 +0200

> It is possible to implement this in 2.3.19+ using special variables
> $[vp.x], $[vp.y], $[vp.width], $[vp.height] (divide the first by the third
> and the second by the forth to get page coordinates) and PipeRead+echo
> to construct Style Netscape StartsOnPage <pagex> <pagey> command.
> I think it would be good to have also ready to go $[page.nx], $[page.ny],
> so PipeRead+echo is not needed in examples like this.
>
> DestroyFunc StartNetscapeOnTheCurrentPage
> AddToFunc StartNetscapeOnTheCurrentPage
> + I PipeRead `echo Style Netscape StartsOnPage $$[$[vp.x]/$[vp.width]] \
> $$[$[vp.y]/$[vp.height]], SkipMapping`
> + I Exec exec netscape
>
> Bind StartNetscapeOnTheCurrentPage in your FvwmButtons or start netscape
> using 'FvwmCommand StartNetscapeOnTheCurrentPage' shell command.

This method does not go with the 2.2.4 or in any case I obtain the message
"sh: vp.x: syntax error in expression (remainder of expression is ".x")" in
.xsession-error

I obtain this message in .xsession-error when I clic on the button which
launches the function StartNetscapeOnTheCurrentPage and the window does not
appear as I would like it.

 In fact I will like that the method goes for all the applications. But if
it should be defined a function as you propose it I shoed it only for the
applications as Netscape which spend time so that their window appears.

A friend had said to me to have seen on the Net how to configure fvwm2 to do
what I want but he does not remember it more.

If you have an idea thank you to prevent me. Thank you for your assistance.

Damien SAUVERON


--
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 Wed Sep 06 2000 - 04:48:16 BST

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