[support-gang] the keyhandler.ppy mystery

Aaron Konstam akonstam at sbcglobal.net
Sun Mar 22 10:58:19 EDT 2009


On Fri, 2009-03-20 at 10:30 -0400, Luke Faraone wrote:
> On Fri, Mar 20, 2009 at 10:26 AM, Aaron Konstam
> <akonstam at sbcglobal.net> wrote:
>         There is a file /usr/share/sugar/shell/view/keyhandler.py on
>         the XO that
>         presumably defines key use.
>         
>         Does anyone know if that file gets munged will installing
>         another build
>         replace it with a fresh copy?
> 
> Yes, it will.  
I appreciate your response but I have some recent experiences with my XO
that make me question what you are saying. Let me tell you my story.

I was running build 801 and I opened keyhandler.py in an editor. I did
not mean to change it but maybe I mistakenly did.

Shortly after that the functioning of my XO keyboard slowly
deteriorated. First after typing 2 or 3 characters it would freeze up.
Or it would type nonsense characters. I installed the previous build 767
by holding down the O game key at boot but things did not improve.

The Home, Mesh, etc keys did not function. But at this point I could
synchronize the cursor by holding down the four corner keys. ctl-u
erased the current line inn the terminal. esc worked for a while.
Returning to 801 did not help and eventually all keys failed to work.

A usb keyboard worked without problem. A run of the self test showed
that the keys were functional, so it had to be a software problem.

Finally a usb install that is described as erasing all XO data brought
my XO back to life.

Now this was a software problem. The only key related file I messed with
was keyhandler.py. That seems to be the culprit and it seems that
installing a new build under normal procedures does not change this
file.

Can anyone suggest another reason for my experiences?

--

 =======================================================================
Remember: Silly is a state of Mind, Stupid is a way of Life. -- Dave
Butler
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net




More information about the Devel mailing list