injecting keystrokes into ubuntu system

Eric S. Johansson esj at eggo.org
Sat Feb 14 02:03:39 UTC 2015


i'm trying an experiment.  I'm running naturallyspeaking on windows, and 
I want to inject it's output into an ubuntu system and treat the 
character stream as if it is coming from a keyboard.  one implementation 
idea is to connect from windows to linux via ssh or mosh. with with 
focus on the ssh terminal emulator, NS sends all character output to 
that window.  on the linux machine, I run a program that takes the NS 
generated character stream from stdin and injects it as described above.

problem is I don't know how to do the injection.  I've read up some on 
uinput but it is not clear if that is the right path.

would appreciate some  guidance.   thanks!

--- eric




More information about the Ubuntu-accessibility mailing list