Stuck keys: Difference between revisions
Jump to navigation
Jump to search
(initial draft) |
m (minor correction) |
||
Line 19: | Line 19: | ||
xmodmap -e "keycode 133 = Alt_L" |
xmodmap -e "keycode 133 = Alt_L" |
||
</pre> |
</pre> |
||
* save the file by hitting CTRL+X, then enter "y" to |
* save the file by hitting CTRL+X, then enter "y" to confirm |
||
== Also See == |
== Also See == |
Revision as of 20:40, 23 January 2008
It has been reported that some XOs experience sticky or broken keys.
Apparently, the left ALT key is usually affected. As a (temporary?) workaround, the left ALT key can be disabled with the following commands (to be executed from the Terminal activity):
xmodmap -e "keycode 64 =" xmodmap -e "keycode 133 = Alt_L"
In order to apply these settings on startup, the respective commands can be added to .xsession.
- if
/home/olpc/.xsession
does not exist:- in the Terminal activity, execute the following command:
cp /home/olpc/.xsession-example /home/olpc/.xsession
- in the Terminal activity, execute the following command:
- open
.xsession
with the following command:nano -w /home/olpc/.xsession
- at the end, add the following lines
# disable broken Left ALT key xmodmap -e "keycode 64 =" # replace Left ALT with Left Hand key xmodmap -e "keycode 133 = Alt_L"
- save the file by hitting CTRL+X, then enter "y" to confirm