Touchpad
by JS
I spent my early afternoon figuring out how to turn off the tap feature for the touchpad on my laptop. I know how to do it from the command line, but needed to figure out how to make it sticky across sleep/resume cycles.
For those of you searching for a solution to the same problem take a look at pm-utils. The following template (when placed in /etc/pm/sleep.d) should give you all the control you need over the sleep/resume cycle.
#!/bin/bash case $1 in hibernate) echo "Hey guy, we are going to suspend to disk!" ;; suspend) echo "Oh, this time we're doing a suspend to RAM. Cool!" ;; thaw) echo "oh, suspend to disk is over, we are resuming..." ;; resume) echo "hey, the suspend to RAM seems to be over..." ;; *) echo "somebody is calling me totally wrong." ;; esac
Remember that to turn off the tap feature run
synclient TouchpadOff=2
. You’ll need to enable SHMConfig. Of course there is Ubuntu documentation for that as well.
What about at startup? Check out System–>Preferences–>Sessions, your one stop shop for scripts to run when Gnome starts.
