Features/Touchpad control panel section/Testing

< Features‎ | Touchpad control panel section
Revision as of 08:00, 21 May 2010 by Walter (talk | contribs) (Created page with 'I'm not sure how to make this easier. Preparation: # download File:Module-touchpad.svg, File:Capacitive,svg, File:Resistive.svg, [[File:Touchpad-__init__.py|__init__...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I'm not sure how to make this easier.

Preparation:

  1. download Module-touchpad.svg, File:Capacitive,svg, Resistive.svg, __init__.py, view.py, model.py onto a USB key
  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/actions/
  5. sudo cp /media/YOURUSB/resistive.svg /usr/share/icons/sugar/scalable/actions/
  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