LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Turn off keyboard echo system wide (https://www.linuxquestions.org/questions/programming-9/turn-off-keyboard-echo-system-wide-722046/)

abhinav.zoso 04-27-2009 01:20 PM

Turn off keyboard echo system wide
 
Is it possible to turn off keyboard echo in linux? In the terminal, we can do it using stty -echo. Similarly, the keyboard echo has to be turned off system wide. Is it possible?

repo 04-27-2009 01:26 PM

can't you set this in
/etc/bashrc ?

SlowCoder 04-27-2009 01:49 PM

Just a question: Why would you do this systemwide? I've only ever had to turn off local echo when the remote system was already echoing input. If you do it systemwide, won't anything you type be invisible? Am I talking about something totally different?

abhinav.zoso 04-27-2009 11:47 PM

Quote:

Originally Posted by SlowCoder (Post 3522721)
Just a question: Why would you do this systemwide? I've only ever had to turn off local echo when the remote system was already echoing input. If you do it systemwide, won't anything you type be invisible? Am I talking about something totally different?

Exactly.. I want nothing to be visible. I have designed an input method (IM) which converts english to indic languages. When the user starts typing, wherever he/she types, the converted text can be seen. That is, for example, if kannada (one of the indic languages) is selected, in any application you type, you can only see kannada. But, the problem is that it also echoes the english character along with the indic character. What I am doing is, along with the indic character, I am also sending a backspace so that it deletes the english character. This is very shabby and cumbersome. So, if I can find a way to turn off the echo, the english characters wont be put at all. I am using Xlib to send events to the focussed window.


All times are GMT -5. The time now is 08:36 PM.