[Gllug] share keyboard input between two applications

news at aleblanc.cotse.net news at aleblanc.cotse.net
Tue Oct 13 10:49:25 UTC 2009


"Walter Stanish" <walter.stanish at saffrondigital.com> writes:

>>>>   can anyone tell me if it is possible to share keyboard input events
>>>>   between two or more applications simultaneously? and if so, how?
>>>>   I want to try playing music while simultaneously typing text (don't
>>>>   ask why).
>
>>> You could try using an X event simulator like xdotool:
>>>  http://pratyeka.org/fake-x-input/ 
>
>> That would be great if it let me specify the window to send the keyboard
>> event to, but I have to make it the active window first.
>
> I don't think you have to make it the active window - you just need the
> Window ID which is most easily obtained that way.

Well I read the man page, but there's nothing about specifying which
window to send the keystrokes to. I also tried a few different options
but no luck. You can manipulate windows, but the keystrokes are always
sent to the active window.

-- 
aleblanc

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list