First we are going to create a toggle script. Run:
sudo leafpad /usr/bin/profileswap
in the file that opens paste
#!/bin/bash profile=$(enlightenment_remote -default-profile-get) if [ "$profile" = "Tablet" ]; then enlightenment_remote -default-profile-set Laptop touchrotate normal else enlightenment_remote -default-profile-set Tablet touchrotate inverted fi
Next open Settings→All→Input→Keys
Select Add Binding and then press the key combo you want to trigger the profile swap (personally I use the button to the right of the power button). Then under action select Launch→Command and put profileswap as the action params and hit apply.
Note the track pad is two finger by default with the 3.0 kernel Open a terminal and run:
sudo leafpad /usr/share/X11/xorg.conf.d/96-synaptics-twofing.conf
And paste the following:
Section "InputClass" Identifier "touchpad two finger scrolling" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "EmulateTwoFingerMinZ" "10" Option "EmulateTwoFingerMinW" "7" Option "VertTwoFingerScroll" "True" Option "HorizTwoFingerScroll" "True" Option "VertEdgeScroll" "False" Option "HorizEdgeScroll" "False" Driver "synaptics" EndSection
Save the file and exit. Then run
gconftool-2 --set /desktop/gnome/peripherals/touchpad/scroll_method --type=int 2
Restart and your system will have two finger scrolling on the track pad.
sudo leafpad /etc/rc.local
Below the line that reads automount place the line:
setpci -s 00:02.0 f4.b=ff
Reboot and you are good to go.