I miss using a clicky keyboard at work. It's a fairly quiet office, so I'm stuck using a nearly silent keyboard. The upshot is that I can wear headphones. Is there something in Linux or X that can respond to all keyboard events with a nice, sharp click, giving me that audio feedback? Before you think I'm crazy, I know some high-end keyboards even have speakers in them to reproduce this click for those who like the audio feedback. I'm looking for something at the operating system level.
after saying "why not to check out the apt cache?", i come out with a great solution !
[~]apt search key sound bucklespring - Nostalgia bucklespring keyboard sound bucklespring-data - Nostalgia bucklespring keyboard sound - sound files soundkonverter - audio converter frontend for KDE [~]sudo apt install bucklespring [~]apropos bucklespring buckle (1) - Nostalgia bucklespring keyboard sound [~]which buckle /usr/games/buckle [~]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).
[~]buckle&  1522 [~]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
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.