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

From Sugar Labs
Jump to navigation Jump to search
(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__...')
 
 
(2 intermediate revisions by the same user not shown)
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/
# sudo cp /media/YOURUSB/capacitive.svg /usr/share/icons/sugar/scalable/actions/
+
# sudo cp /media/YOURUSB/capacitive.svg /usr/share/icons/sugar/scalable/devices/
# sudo cp /media/YOURUSB/resistive.svg /usr/share/icons/sugar/scalable/actions/
+
# sudo cp /media/YOURUSB/resistive.svg /usr/share/icons/sugar/scalable/devices/
 
# sudo mkdir /usr/share/sugar/extensions/cpsection/touchpad
 
# sudo mkdir /usr/share/sugar/extensions/cpsection/touchpad
 
# sudo cp /media/YOURUSB/*.py /usr/share/sugar/extensions/cpsection/touchpad/
 
# sudo cp /media/YOURUSB/*.py /usr/share/sugar/extensions/cpsection/touchpad/
Line 12: Line 12:
  
 
Notes:
 
Notes:
 +
* This feature requires Fedora 11+ and Sugar 0.84+ (e.g., the build from Paraguay).
 
* You'll have to do Step 2 every time the you reboot the system.
 
* 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
 
* Substitute the name of your USB key for YOURUSB in the above instructions

Latest revision as of 21:09, 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:

  • This feature requires Fedora 11+ and Sugar 0.84+ (e.g., the build from Paraguay).
  • 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