Re: FVWM: FVWM and FireFox browser

From: Lucio Chiappetti <lucio_at_mi.iasf.cnr.it>
Date: Tue, 29 Mar 2005 18:58:32 +0200 (MET DST)

I'm not sure what are the "customs" of the FVWM Mailing List, both as
"general education" (do people normally reply to the list, reply
individually and cc: the list, reply individually and the original poster
has a duty to post a summary) and as "software id" (I mean, how do I
recognize a mail as coming from the list to avoid to filter it as spam, or
to filter a personal reply as spam ).

Any how I've received a couple of replies to my question on firefox (and
one on Suse), so I do an interim summary. One reply was not in cc: to the
list but essentially agreed (in a nutshell here it is ...

On Tue, 29 Mar 2005, Nick Fortune wrote:

> Well, Style commands match on name class or resource. On my machine,
> that would be "firefox-bin" "gecko" and "<web page title> - Mozilla
> Firefox". So your style command is probably not matching your firefox
> window on any of these categories.

> Style *Firefox* Page 1 0 0, SkipMapping, NoPPosition

This agrees with the other suggestion below

On Tue, 29 Mar 2005, Thomas Adam wrote:
> Style Gecko StartsOnPage 1 0, SkipMapping
> works for me.

Yes thanks, now it works fine those ways ...


Coming to my other issue, i.e. how to coerce firefox to use a fixed size,
I started from Thomas Adam's suggestions.

> I mentioned earlier about geometries. Using a module called FvwmEvent,

> *Event-FF: new_window MoveFireFox

new_window event is not recognized by my version, I had to use add_window

> AddToFunc MoveFireFox
> + I Any (CurrentDesk !Iconic !AcceptsFocus) \
> ThisWindow ("Gecko") Move 120p +0p

The above syntax (the way to combine conditions) was not fully clear to
me, I had to remove all the second line to make it work. I ended with the
following :

# for firefox special
DestroyModuleConfig Event-FF: *

*Event-FF: Cmd Function
*Event-FF: PassId
*Event-FF: add_window ResizeFireFox

DestroyFunc ResizeFireFox
AddToFunc ResizeFireFox
 + "I" (!Transient) ThisWindow ("Gecko") Resize 850p 980p

I had to introduce the (!Transient) condition otherwise all the popups by
the browser came out as big as my 850x980 page !

I tried a (PlacedByFvwm !Transient) since I may not want my size to apply
to firefox windows not created at window manager startup), but
PlacedByFvwm, although documented, gives error. Or I'm doing something
silly with the syntax for condition concatenation.

... hmm, actually I'm not sure that my (!Transient) works. I mean, in
practice it works (popups are OK) but my .xsession-errors is full of
errors "No such command (!Transient) ... the same which occurred with
PlacedByFvwm.

This is why I consider this an interim summary.
Any further clue ?

----------------------------------------------------------------------------
Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
For more info : http://www.mi.iasf.cnr.it/~lucio/personal.html
----------------------------------------------------------------------------

--
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 Tue Mar 29 2005 - 10:58:23 BST

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