Re: FVWM: how to escape F1?

Jaimos Skriletz <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <CAJabFbi8iJB6F+MaNBG1sRk9=7GKZzjoFv_Nn466tvC5Tb3V=w@mail.gmail.com>
On Fri, Mar 8, 2019 at 10:17 AM Stefan Klinger <[email protected]> wrote:
>
> Hi,
>
> this is an *untested* idea: There's `FakeKeypress` documented in
> fvwm(1), which seems to send a keypress event to an application.  I
> assume, that for each binding you have in yout setup, like
>

Many apps do not like FakeKeyPress, so it is probably not an
appropriate way to try to 'escape' a keybinding, since many apps will
just ignore fake events anyways. The options already listed in this
thread are most likely the better approaches.

1) Write a custom function that turns keybindings on/off, then you can
use that to escape the binding by turning it off, then you can run the
function again to turn it back on.

2) Use a modifier on the key bindings, so F1 isn't a key binding
anymore, this way F1 can pass to the applications just fine.

jaimos
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.