Skip to content
For when you want to make sounds when typing...
Python Ruby
Branch: master
Clone or download
Latest commit 919cc06 Feb 14, 2010
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Initial commit Feb 14, 2010
sounds Initial commit Feb 14, 2010
LICENSE Initial commit Feb 14, 2010
README.rdoc Initial commit Feb 14, 2010
linux-typewriter.rb Initial commit Feb 14, 2010


Linux Typewriter

If you want to make some kind of screencast that features keyboard typing sounds, this might come in handy. Get the script, run linux-typewriter.rb and pump up your volume.

This is totally hacked-away, but it works for me. Your mileage may vary, though.


  • Python, Ruby, Rubygems

  • python-xlib (On Debian-based, install with sudo apt-get install python-xlib)

  • aplay command line player, but you really can dump in anything you want, see linux-typewriter.rb

  • sinatra (sudo gem install sinatra)

Why this weird threading architecture with sinatra and python and stuff?

Simple: The aplay command is too slow when used directly from, locking the process for a while. I am no python genius and have no idea how to establish a thread, and I do not care. It now makes a webrequest to the running sinatra app, which launches aplay in a separate thread, thus not locking the keypress listener anymore.

Copyrights by Sayan “Riju” Chakrabarti, Released under WTFPL Version 2

  • Modifications by Christoph Olszowka

Keypress sounds extracted from 'keyboard-typing' by Anton at Freesound,

You can’t perform that action at this time.