23Nov/090
Enable Ubuntu 9.10 touchpad top-right corner
It seems that in some cases Ubuntu 9.10 Karmic does not enable the touchpad top-right corner (used for mouse middle click), so this is a simple tutorial to get the functionality back (this is one of the many ways to do it)
First edit the .profile file in your home folder
$ gedit ~/.profile
and add
synclient RTCornerButton=2
to the end of it.
This is how mine looks:
mihai007@mihai007-dell:~$ cat ~/.profile # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package. # the default umask is set in /etc/profile; for setting the umask # for ssh logins, install and configure the libpam-umask package. #umask 022 # if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi synclient RTCornerButton=2 mihai007@mihai007-dell:~$
Then use the visudo command
$ sudo visudo
and append a new line at the end of it, containing:
MY_USERNAME_OVER_HERE ALL = NOPASSWD: /usr/bin/synclient
Just make sure you put your username instead of MY_USERNAME_OVER_HERE. Then just hit "CTRL+X" then press "Y" to save the file as sudoers.tmp as suggested.
After a restart the middle mouse on corner continued to work perfectly