[openbox] Pressing keys assigned in openbox opens too many windows in Ubuntu
danter at openmailbox.org
Sat Jun 10 01:36:49 EDT 2017
On 08/06/17 13:36, Mikael Magnusson wrote:
> On Thu, Jun 8, 2017 at 11:59 AM, <sc.marko.toivanen at gmail.com> wrote:
>> Is there any way to configure key bindings in openbox so holding down a key
>> combination would not open more than one instance of a program? E.g. when I
>> have configured to use Shift + Alt + T keys to open a terminal window, if
>> holding down the keys too long time, there will be a lot of terminal windows
>> open. It should open only one terminal window and if pressing Shift + Alt +
>> T again, then it would open a second etc.
recompiling openbox with patches i probably the best solution.
you can also try to wrap every keyboard shortcut command in a script
xset r off
xset r on
where you would pass the complete command you want to execute.
likely you are going to have to play with double quotes around the
command line or "$@" or both to get it right.
you also have to decide what is an acceptable delay before you switch
the keyboard repeat on again.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openbox