On Mon, 17 Apr 2006, seventh guardian wrote:
On 4/17/06, Mikhael Goikhman <[EMAIL PROTECTED]> wrote:
On 17 Apr 2006 00:45:10 +0100, seventh guardian wrote:
There's a minor itch though: it takes me back to the page where it
started. Even so, it's better than before!
Then you didn't use my implementation of StartHere with SkipMapping:
Ops.. You're right.. I only corrected the matching string.. Sorry
On 4/17/06, Mikhael Goikhman <[EMAIL PROTECTED]> wrote:
On 17 Apr 2006 00:49:29 +0100, seventh guardian wrote:
Oh.. and another one: if the app gets executed from a terminal or from
another app, it goes to the same page as before.. not good if you have
rox-desktop or any other launching app or desklet..
Maybe if I delete the style afterwards :?
I would delete the style after 20 seconds by adding one line:
DestroyFunc StartHere
AddToFunc StartHere
+ I Style $1 SkipMapping, StartsOnPage $[desk.n] $[page.nx] $[page.ny]
+ I Schedule 20000 Style $1 !SkipMapping, StartsAnyWhere
+ I Exec sleep 2; $0
Thanks! That does the trick! But I would reduce the time to 5 seconds
or so.. If not, firefox popups will keep appearing on the page of the
last created window..
Once again, thanks a lot!
By the way, is this used by the majority of us or only a few? I wonder
if there could be a style for this, like "Style *
PlaceOnCurrentPage"..
The problem with adding sush a style is that there is no way for fvwm to
know what page was visible when the command that generated a window was
executed. While it sometimes would be possible using _NET_WM_PID in
combination with WM_CLIENT_MACHINE for the local machine, there is no
foolproof way to tell where a window originates from.
/Viktor