Difference between revisions of "MacBuild Troubleshooting"

From FreekiWiki
Jump to navigation Jump to search
m (→‎Touchpad: Argh, mediawiki)
m (→‎Touchpad: haet)
Line 7: Line 7:
 
   # Check if root
 
   # Check if root
 
   if [ ! $(id -u) -eq 0 ] ; then
 
   if [ ! $(id -u) -eq 0 ] ; then
echo "ERROR: You must run this script as root!"
+
  echo "ERROR: You must run this script as root!"
exit 2
+
  exit 2
 
   fi
 
   fi
 
    
 
    

Revision as of 12:39, 16 February 2013

MacBook

Touchpad

Intel MacBook touchpad's seem to be a little touchy by default. Usually, the sensitivity can be modified through Xubuntu's System, although it doesn't always have the desired effect. An alternative is to set the touchpad parameters directly through the Synaptics input driver. Run the following script (as root):

 #!/bin/sh
 
 # Check if root
 if [ ! $(id -u) -eq 0 ] ; then
 	echo "ERROR: You must run this script as root!"
 	exit 2
 fi
 
 echo 'Modifying touchpad sensitivity...'
 
 cat << EOF > /etc/X11/Xsession.d/90macbook-touchpad
 #!/bin/sh
 # Synaptics parameters to improve touchpad performance on Macbooks
 synclient FingerLow=10
 synclient FingerHigh=20
 EOF
 
 chmod a+x /etc/X11/Xsession.d/90macbook-touchpad 
 
 echo '... Done!  Please log out and log back in to enact changes.'

This will adjust the touchpad's parameters for all users, including new ones that are added to the system.