Results 1 to 3 of 3
I am designing a software which converts english to local Indian languages like Hindi, Tamil etc. I want to capture the key strokes of the user, convert it from english ...
- 01-25-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 3
How to send characters on to the active window using X Windows
I am designing a software which converts english to local Indian languages like Hindi, Tamil etc. I want to capture the key strokes of the user, convert it from english to appropriate language and send it to the current active window. I am able to capture the key presses using the input device event interface. Now I need to send it on to the current active window. I know that display is managed by the X Window system. How to send the characters on to the active window? Is there any other alternative other than X Window?
- 01-28-2009 #2Just Joined!
- Join Date
- Oct 2004
- Posts
- 62
Hi abbabhinavzoso,
I think that your problem can be solved by "simulated keys"
(see the Cogitati's post)
You can force the windows that interest you to be the current active window,
by using wmctrl (read the afore mentioned post).
Bye.
- 01-28-2009 #3Linux Newbie
- Join Date
- Jul 2008
- Posts
- 181
I don't really understand what you are trying to achieve. However, SCIM - SCIM and similar input methods already exist.


Reply With Quote