On 14 Sep 2002 07:02:25 -0700, Ram Bhamidipaty wrote:
>
> Is it possible to setup a keybinding so that it works everywhere
> except for one particular window?
>
> I have this in my .fvwmrc2 file:
>
> Key F1 WFSIT N RaiseLower
> Key F2 WFSIT N Iconify
>
> I would like the F1 and F2 keys to work for all windows except
> for one particlar window. How do I do that?
It is possible to ignore the binding for one (or more) specific widnow.
In recent versions (2.4.6+) this should be used:
Key F1 WFSIT N ThisWindow (!MySpecialWindow) RaiseLower
In previous versions this may work (probably in 2.2.x, but I didn't test):
Key F1 WFSIT N WindowId $w (!MySpecialWindow) RaiseLower
($$w should also work here, since one dollar would be eaten by Key.)
> I also use VNC. This means that I have a normal desktop plus there is
> a window on the desktop that is itself a full desktop. When I hit
> F1 or F2 I want that key to go to the VNC desktop...
I don't think this is easily possible. Once you defined a key inside "W",
it is captured in all windows. You may try to send synthetic key events,
but I don't think it will work.
The most relable solution I see is to bind Shift-F1 for raising windows.
Or, instead, use F1 as usual, but press Shift-F1 to pass it to VNC.
Or even press Num-Lock, then F1 should be passed to your window as well.
> I'm running 2.2.4. Thanks for any help. I am not on the fvwm mailing
> list.
Consider to upgrade.
Regards,
Mikhael.
--
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 Sat Sep 14 2002 - 10:07:34 BST