Difference between revisions of "MacBuild Troubleshooting"

From FreekiWiki
Jump to navigation Jump to search
m (Fixed formatting, removed extraneous header)
m (→‎Touchpad: Argh, mediawiki)
Line 4: Line 4:
  
 
   #!/bin/sh
 
   #!/bin/sh
 
+
 
 
   # Check if root
 
   # Check if root
 
   if [ ! $(id -u) -eq 0 ] ; then
 
   if [ ! $(id -u) -eq 0 ] ; then
Line 10: Line 10:
 
exit 2
 
exit 2
 
   fi
 
   fi
 
+
 
 
   echo 'Modifying touchpad sensitivity...'
 
   echo 'Modifying touchpad sensitivity...'
 
+
 
 
   cat << EOF > /etc/X11/Xsession.d/90macbook-touchpad
 
   cat << EOF > /etc/X11/Xsession.d/90macbook-touchpad
 
   #!/bin/sh
 
   #!/bin/sh
Line 19: Line 19:
 
   synclient FingerHigh=20
 
   synclient FingerHigh=20
 
   EOF
 
   EOF
 
+
 
 
   chmod a+x /etc/X11/Xsession.d/90macbook-touchpad  
 
   chmod a+x /etc/X11/Xsession.d/90macbook-touchpad  
 
+
 
 
   echo '... Done!  Please log out and log back in to enact changes.'
 
   echo '... Done!  Please log out and log back in to enact changes.'
  

Revision as of 12:38, 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.