View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#9
Editing the .service files works perfectly. Thanks.

For others' reference, here is the wrapper script I used:
Code:
#!/bin/sh
gconftool -t bool /system/osso/dsm/vibra/touchscreen_vibra_enabled -s true
$1
gconftool -t bool /system/osso/dsm/vibra/touchscreen_vibra_enabled -s false
I saved that as vibra-wrapper.sh, set it as executable, and dropped it into /usr/bin. Then I modified the Exec lines as per qwerty12's instructions, so that it ran my script with the original command line as the first argument.

Now, I would note that this script is pretty poor in that exiting one application called through it while running another similarly launched application will disable the vibration feedback. I don't have the time to improve it right now, but I'd encourage someone else to do so, and post it here.
Cheers,
 

The Following User Says Thank You to For This Useful Post: