You are not logged in.
So I wanted to build a vim-like interface in my keybindings. I've checked over my keybindings and I think this is an issue with Openbox, or maybe its implementation, or else something is interfering with it.
When you have a chroot=true for a keybinding, it created a keychain which does not time out and should not exit even after a successful keypress until you press the chain exit keybind. Here is an excerpt of my rc.xml:
<!-- Keybindings for vim mode -->
<chainQuitKey>Escape</chainQuitKey>
<keybind key="W-z" chroot="true">
<keybind key="j">
<action name="Execute">
<command>xdotool key Down</command>
</action>
</keybind>
<keybind key="h">
<action name="Execute">
<command>xdotool key Left</command>
</action>
</keybind>
<keybind key="k">
<action name="Execute">
<command>xdotool key Up</command>
</action>
</keybind>
<keybind key="l">
<action name="Execute">
<command>xdotool key Right</command>
</action>
</keybind>
</keybind>
When I press Win+z, I get the little tooltip kind of thing letting me know I've entered the keychain. I can press unbound keys all day and it won't go away, but the second I press l, it registers that I pressed the right arrow key and breaks out of the chain.
Any ideas on what could be happening, or how to force openbox to respect the chroot="true" option?
Offline
Have you tried adding
<keybind key="Escape-or-Some-Other-Key"><action name="BreakChroot"/></keybind>
in the nested keybindlist?
Offline
I have, indeed, tried it. Here's the exact code I used:
<keybind key="Caps_Lock">
<action name="BreakChroot"></action>
</keybind>
Of course, that is within the chrooted keybind, so along with the h, j, k, l keys above.
Offline
Hi jivanyatra
I love your idia of implementing vim-like-keybinding with xdotool in openbox.
Did you find a solution for the not worikng chrooted-keychain with the xdotool-command?
Or have you found another way to implenet vim-like-keybindings in openbox?
Offline