Difference between revisions of "Features/Touchpad control panel section/Testing"
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__...') |
m |
||
Line 2: | Line 2: | ||
Preparation: | Preparation: | ||
− | # download [[File:Module-touchpad.svg]], [[File:Capacitive | + | # 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 |
# 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/ | + | # sudo cp /media/YOURUSB/capacitive.svg /usr/share/icons/sugar/scalable/devices/ |
− | # sudo cp /media/YOURUSB/resistive.svg /usr/share/icons/sugar/scalable/ | + | # 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/ |
Revision as of 08:04, 21 May 2010
I'm not sure how to make this easier.
Preparation:
- download , , , __init__.py, view.py, model.py onto a USB key
- 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/capacitive.svg /usr/share/icons/sugar/scalable/devices/
- sudo cp /media/YOURUSB/resistive.svg /usr/share/icons/sugar/scalable/devices/
- sudo mkdir /usr/share/sugar/extensions/cpsection/touchpad
- sudo cp /media/YOURUSB/*.py /usr/share/sugar/extensions/cpsection/touchpad/
- 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:
- Open the Control Panel
- Click on the Touchpad icon
- Click on the icons and observe that the touchpad switches modes