In order to use my Freerunner tomorrow at work without bothering the other inhabitants of the cube farm, I needed to do two things.
- Disable the click when the screen or a button is pressed
- Vibrate instead of ring for incoming call/sms
First, I seached hi and low but could not find out how to control the vibrating. At first, I thought I needed enable/configure the vibrating, but I realized it already vibrates for an incoming call. So my solution to both needs is to modify the sound events. This is handled through PulseAudio. This is actually very easy. I commented out the following lines from /etc/pulse/session
#load-sample touchscreen /usr/share/openmoko/sounds/touchscreen_click.wav #load-sample ringtone /usr/share/openmoko/sounds/ringtone_classy.wav
Then I restarted Pulse with “/etc/init.d/pulseaudio restart” PulseAudio complained about running as root, but it worked. Restarting the phone will do the same, but why bother.
Now, it no longer clicks or rings!