Difference between revisions of "Features/Touchpad control panel section/Testing"

From Sugar Labs
Jump to navigation Jump to search
m
Line 2: Line 2:
  
 
Preparation:
 
Preparation:
# download [[File:Module-touchpad.svg]], [[File:Capacitive.svg]], [[File:Resistive.svg]], [[File:Touchpad-__init__.py|__init__.py]], [[File:Touchpad-view.py|view.py]], [[File:Touchpad-model.py|model.py]] onto a USB key
+
# download [[File:Touchpad.tar]] and extract the files onto a USB drive
 
# sudo chmod o+w /sys/devices/platform/i8042/serio1/ptmode
 
# sudo chmod o+w /sys/devices/platform/i8042/serio1/ptmode
 
# sudo cp /media/YOURUSB/module-touchpad.svg /usr/share/sugar/data/icons/
 
# sudo cp /media/YOURUSB/module-touchpad.svg /usr/share/sugar/data/icons/

Revision as of 10:10, 21 May 2010

I'm not sure how to make this easier.

Preparation:

  1. download File:Touchpad.tar and extract the files onto a USB drive
  2. sudo chmod o+w /sys/devices/platform/i8042/serio1/ptmode
  3. sudo cp /media/YOURUSB/module-touchpad.svg /usr/share/sugar/data/icons/
  4. sudo cp /media/YOURUSB/capacitive.svg /usr/share/icons/sugar/scalable/devices/
  5. sudo cp /media/YOURUSB/resistive.svg /usr/share/icons/sugar/scalable/devices/
  6. sudo mkdir /usr/share/sugar/extensions/cpsection/touchpad
  7. sudo cp /media/YOURUSB/*.py /usr/share/sugar/extensions/cpsection/touchpad/
  8. sudo rm /usr/share/icons/sugar/*.cache

Notes:

  • You'll have to do Step 2 every time the you reboot the system.
  • Substitute the name of your USB key for YOURUSB in the above instructions

Test:

  1. Open the Control Panel
  2. Click on the Touchpad icon
  3. Click on the icons and observe that the touchpad switches modes