Re: FVWM: controlling thunderbird

2022-09-18 Thread Paul Fox
klaus wrote:
 > Hello,
 > 
 > I have troubles with thunderbird (class thunderbird-default) always
 > appearing in the middle of the screen, even if my placement policy would
 > put it on the right side.
 > 
 > I tried now any combination of !UseUSPosition, !UsePPosition,
 > FixedPPosition but without any success.

Interesting.  Some time ago (a year or three?), my browsers stopped
being placed in the proper desktop page on fvwm startup.  I've tried
debugging it in a half-hearted way, but it's fairly easy to move them
correctly, so I've never reported it.

I use these lines to place windows in my desktops:

Style "*pgf*"   StartsOnPage 0,SkipMapping
Style "*Chrome*"StartsOnPage 1,SkipMapping
Style "*Chromium*"  StartsOnPage 1,SkipMapping
Style "*Google*"StartsOnPage 1,SkipMapping
Style "*Firefox*"   StartsOnPage 1,SkipMapping
Style "*jdh*"   StartsOnPage 2,SkipMapping

"pgf" and "jdh" are for mate-terminal programs, which have set their
window labels with names containing those substrings.  The other
names are all intended to match any of the browsers I run.

The mate-terminals always start on their correct desktops (0 or 2),
but Chrome (or Firefox, or Chromium...) always starts on desktop page 0.
(This includes after a "relaunch" of chrome, when I ask it to restart
itself because it has detected a newer version has been installed.)

I've never tried any other matching method.

If I had to guess, I'd suspect that the problem lies in my config,
which has very ancient roots.  I've been running fvwm for at least
20 years -- my config may contain some old incompatibility.

I'll forward my config to Thomas.

paul

 > 
 > I also first had the style "Style thunderbird* !Use..." but tried also
 > with the full class name in case the matching algorithms in fvwm is
 > unable to match the window.
 > 
 > This is really annoying. Has anybody an idea how to prevent that damn
 > thunderbird from setting its own position.
 > 
 > It might be the same, Psi does always start on its position but every
 > start it is moved according the high and wide of the top and left
 > border. It seems that the application is detecting the position wrongly.
 > 
 > Regards
 >Klaus
 > -- 
 > Klaus Ethgen   http://www.ethgen.ch/
 > pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
 > Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C


=--
paul fox, p...@foxharp.boston.ma.us (arlington, ma, where it's 57.0 degrees)




Re: FVWM: controlling thunderbird

2022-09-18 Thread Thomas Adam
Hi,

On Sun, 18 Sept 2022 at 10:46, Klaus Ethgen  wrote:
>
> Hello,
>
> I have troubles with thunderbird (class thunderbird-default) always
> appearing in the middle of the screen, even if my placement policy would
> put it on the right side.

Style thunderbird StartsOnScreen 

Works fine for me, for example.

Send your fvwm config across to me, and I'll take a look.

Kindly,
Thomas



FVWM: controlling thunderbird

2022-09-18 Thread Klaus Ethgen
Hello,

I have troubles with thunderbird (class thunderbird-default) always
appearing in the middle of the screen, even if my placement policy would
put it on the right side.

I tried now any combination of !UseUSPosition, !UsePPosition,
FixedPPosition but without any success.

I also first had the style "Style thunderbird* !Use..." but tried also
with the full class name in case the matching algorithms in fvwm is
unable to match the window.

This is really annoying. Has anybody an idea how to prevent that damn
thunderbird from setting its own position.

It might be the same, Psi does always start on its position but every
start it is moved according the high and wide of the top and left
border. It seems that the application is detecting the position wrongly.

Regards
   Klaus
-- 
Klaus Ethgen   http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16Klaus Ethgen 
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C


signature.asc
Description: PGP signature