Difference between revisions of "MacBuild Troubleshooting"

From FreekiWiki
Jump to navigation Jump to search
(Initial dump, starting with MacBook Touchpad workaround)
 
m (Fixed formatting, removed extraneous header)
Line 1: Line 1:
=Linux=
 
 
==MacBook==
 
==MacBook==
 
===Touchpad===
 
===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):
 
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):
  
<code>
+
  #!/bin/sh
#!/bin/sh
 
  
# 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
  
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
# Synaptics parameters to improve touchpad performance on Macbooks
+
  # Synaptics parameters to improve touchpad performance on Macbooks
synclient FingerLow=10
+
  synclient FingerLow=10
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.'
</code>
 
  
 
This will adjust the touchpad's parameters for all users, including new ones that are added to the system.
 
This will adjust the touchpad's parameters for all users, including new ones that are added to the system.
  
 
[[Category: Macintosh]]
 
[[Category: Macintosh]]

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