Instructions on how to set it up:
Open a terminal (Ctrl+Alt+T).
Install the package python-xlib.
Kod: Označi sve
sudo apt-get install python-xlibKod: Označi sve
wget -O keypress.tar.gz https://github.com/chrelad/keypress/tarball/master
tar xvfz keypress.tar.gz && cd chrelad*Kod: Označi sve
./keypress.pyos.system("aplay sounds/key01.wav")
Now change key01.wav to what you want it to sound like.
To restart it after the reboot:
Open a terminal.
Type:
Kod: Označi sve
cd chrelad* && ./keypress.py