On Saturday, 16. November 2019 15:20, Dr Rainer Woitok
<[email protected]> wrote:
> Greetings,
>
> maybe I totally misinterpret the "fvwm" manpage ...
>
> 1. What I want:
> During the login process on my laptop I want to fire up Firefox using
> a page different from the default page where my terminal window is
> opened. This way I can start entering commands without having to
> wait for Firefox loading all its tabs.
>
> 2. What I do:
>
> $ grep -C2 Firefox ~/.fvwm/config
>
> Always position a "firefox" window on page "0 0 1":
>
> ====================================================
>
>
> Style Firefox FixedPPosition
> Style Firefox PositionPlacement 0p $[WINDOW_TOP]p
> Style Firefox StartsOnPage 0 0 1
>
> ==
>
> $ grep -iC2 firefox firefox-start-up.sh
>
> Finally start "firefox" in its own page without going there:
>
> =============================================================
>
> FvwmCommand 'Style Firefox SkipMapping'
> nohup firefox > /dev/null 2>&1 &
>
> 3. What happens:
> Firefox is starting in its own page, but this page is also the one
> shown on the screen rather than the page containing my terminal wind-
> ow.
You need to leave this page. Since this is probably in the InitFunction, then
simply:
+ I GoToPage 0 0
(for example, you want firefox on 0 1, and terminal is waiting for you on 0 0).
Why not something like this in InitFunction or SessionInitFunction?
+ I Exec exec firefox
+ I Wait Firefox
+ I Next (Firefox) MoveToPage 0 1
It will only flash for a part of the second and go away from your terminal.
--
... one of the main causes of the fall of the Roman Empire
was that, lacking zero, they had no way to indicate
successful termination of their C programs.
-- Robert Firth