On Thu, Nov 23, 2000 at 01:16:24AM -0800, Cyprian Adam Laskowski wrote:
> Hi,
>
> I'm having problems doing something which I think should be very
> simple: dynamically loading new fvwm keybindings with FvwmCommand
> during an fvwm session. This only seems to work if the key was
> already explicitly bound to something at startup with the .fvwm2rc
> init file.
>
>
> For example, say I have the command "Key BackSpace A C
> Nop" but NO command of the form "Key Insert A C SOMECOMMAND". Then if
> I do:
>
> % FvwmCommand 'Key BackSpace A C Exec exec xterm'
> % FvwmCommand 'Key Insert A C Exec exec xterm'
>
> Then pressing C-backspace starts up an xterm, while C-insert does not.
>
>
> Of course I could get around this by firing up a whole slew of Nop
> bindings in the .fvwm2rc file and reserving any dynamic overriding
> to those keystrokes. But the mere inelegance of this solution makes me
> a rather displeased man.
And it's slow too.
> (I'm running Red Hat 6.2 with Fvwm 2.2.4.)
>
> Help?
Yes. Any version before the 2.3.x betas requires that you 'recapture'
the windows before new key bindings will start to work. Simply issue
$ FvwmCommand Recature
after executing your commands and everything will work fine. With
the next release, the Recapture command will become obsolete.
Virtually all changes in the configuration take effect immediately
then.
Bye
Dominik ^_^ ^_^
--
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
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 Fri Nov 24 2000 - 18:35:34 GMT