Is there something that will generate keyboard's click sounds?
xset c 100 c on
Per their docs, but it doesn't work for me on openSUSE 11.2 x86_64
after saying "why not to check out the apt cache?", i come out with a great solution !
[0][~]apt search key sound
bucklespring - Nostalgia bucklespring keyboard sound
bucklespring-data - Nostalgia bucklespring keyboard sound - sound files
soundkonverter - audio converter frontend for KDE
[0][~]sudo apt install bucklespring
[0][~]apropos bucklespring
buckle (1) - Nostalgia bucklespring keyboard sound
[0][~]which buckle
/usr/games/buckle
[0][272][~]buckle -h
bucklespring version 1.4.0
usage: buckle [options]
options:
-d DEVICE use OpenAL audio device DEVICE
-f use a fallback sound for unknown keys
-g GAIN set playback gain [0..100]
-m CODE use CODE as mute key (default 0x46 for scroll lock)
-h show help
-l list available openAL audio devices
-p PATH load .wav files from directory PATH
-s WIDTH set stereo width [0..100]
-v increase verbosity / debugging
as you see in the help message only optional stuff! so you can just fork it in backgroud as i did (zeroConf).
[0][~]buckle&
[4] 1522
[0][~]Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
it's working!
See the link below. I got this to work with only a little effort, and it's very good if you like keyclicks (I find them sort of a "mood" thing).
I use the scripting found in the link as an option in an Emacs "darkroom" writing mode that I've developed. I launch it as an asynchronous shell command and kill it with the shell command 'pkill -9 -f linux-typewriter.rb' when done.
https://github.com/colszowka/linux-typewriter