[openbox] Using keybind and action to translate/simulate one keystroke into another keystroke?
mpb
mpb.mail at gmail.com
Fri Jan 23 18:58:51 EST 2009
On Fri, Jan 23, 2009 at 3:01 PM, Mikael Magnusson <lists at bak.och.fr.am> wrote:
> There's no way to get Openbox to do it, and I think there would be some
> problems if you were to launch some external program to press the key. I do
> have a patch that does it in the mikabox branch in git, basically you can
> say
> <action name="SendKeyEvent">
> <key>Prior</key>
> <usetarget>no</usetarget>
> </action>
What does "Prior" mean?
"no" means no target (that is, send the key event to the currently
focused window)?
> and it would send the key. What i use this for is to send space to an
> mplayer window on another desktop to pause musics :). (which is what the
> usetarget bit is about).
>
> You would have to be somewhat adventurous to try that branch though.
Perhaps I could just extract the patch from that branch (manually
maybe) and apply it to a more stable branch? Which file is the
SendKeyEvent functionality in?
Thanks,
-mpb
More information about the openbox
mailing list