Re: [RIJEŠENO] Tipkovnica proizvodi zvuk pisaće mašine
Postano: 06 tra 2013, 15:42
There are some implementations to play a sound for every keypress, one of them is "keypress" on Github.com, made by Github user "chrelad". It's a fork of linux-typewriter.
Instructions on how to set it up:
Open a terminal (Ctrl+Alt+T).
Install the package python-xlib.
Download the application:
Start it by executing
Optional: You can change the sound by opening the file keypress.py with an editor and look out for the line that says
os.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:
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