2018-07-13 10:14 GMT+03:00 Mick <michaelkintz...@gmail.com>: > On Friday, 13 July 2018 01:31:04 BST Nikos Chantziaras wrote: >> On 13/07/18 02:48, gevisz wrote: >> > But currently I am ready to try even the "dirty" way to organize >> > keyboard layout switch if it will give me a nice cracking sound >> > of old good days :) when typing in Cyrilic keyboard layout. >> >> It will not. There is no reason to, since you can see it. In MS-DOS, you >> couldn't see it, thus the sound was the only way to communicate the >> current keyboard layout to the user. > > I didn't know of Dmitry Gurtyak, or his particular application. You may want > to take a look at xset and in particular 'xset +c' to switch on the keyboard > clicking sound. If you append this to the command which is run when you > switch to Cyrillic you would get a clicking sound. You can also set the > volume of the clicking sound by using a value from 1-100.
Thank you for your reply. 'xset c' seems to be the right way to set a crackling sound when a keyboard button is pressed. The still open question for me is how to combine it with the '/usr/bin/setxkbmap us,some-cyrillic' command I use to set keyboard layouts to get a nice crackling sound only in a Cyrillic keyboard layout. P.S. A simple test revealed that 'xset c' probably uses a small beeper attached to the motherboard. It is ok. Moreover, the same was used by Keyrus. But I still have to find and connect it to the motherboard: I detached it some time ago because it beeped to often during the compilation time while updating the system.