[TAG] Re: Mozilla & FVWM
thomas at edulinux.homeunix.org
Wed Nov 30 04:15:00 MSK 2005
On Tue, Nov 29, 2005 at 07:21:47PM -0500, vsesto at adelphia.net wrote:
> Hello Thomas
> My family and I have been ravaged by the Hurricane down here in
> Florida. Whew! Thank God that is over! Cold showers were getting old
Indeed. Glad to know you're well!
> Anyhow ... does FVWM have a way to disable downloads in Mozilla.
Nope. FVWM manages windows, and knows nothing about the applications it
runs from an internal point of view. You will have to look to some
mozilla plugins to see whether there's anything that can approximate it.
It would be tricky, since which aspect do you block?
The only thing you might to do is to block transient windows from
Mozilla, but this would create all kinds of problems.
> I thought a while back I had come across a method where I saw a Style
> line which read as follows ...
> Style Mozilla !Downloadable
I don't know where you've thought this. If you have read it, then it
is in error.
> Style "Mozilla Download" NoButton 4, NoButton 6
This simply inhibits the drawing of Buttons 4 and 6 on the "Mozilla
> Is there a clever way to do this with FVWM?
I alluded to this above, but it's by no means a solution. What you
_might_ be able to do is, assuming the window you want to block is
"Mozilla Download", then use FvwmEvent to catch it:
DestroyModuleConfig FE-tw: *
*FE-tw: Cmd Function
*FE-tw: add_window myfunc
# Start the module.
Module FvwmEvent FE-tw
... which sets up an alias to run 'myfunc' each time a new window is
created. Then define the function:
+ I ThisWindow ("Mozilla Download", Transient) Close
... which checks the the window just mapped, is called "Mozilla
Download" and is a transient window. Windows of this type -- such as
save dialogue windows, open dialoue windows, etc., are flagged as
transient due to their short-lived nature.
Note that this is by no means a solution I would suggest you employ. Ot
sounds almost as if you're wanting to run Mozilla in some sort of kiosk
mode. There's a plugin available to do this, although I don't know
what it's like. Either way, this is more likely the route I would
-- Thomas Adam
I'm brutal, honest, and afraid of you.
More information about the TAG