keyboard handling (was Re: OLPC where to go development advice.)

Carol Farlow Lerche cafl at msbit.com
Mon Feb 2 19:06:23 EST 2009


It seems that the implementations for volume and brightness keys are handled
separately from the remainder of the keyboard in most laptops.  I have
recently been installing Linux in various older laptops, some with gnome,
some with xfce, and have found the laptop "special keys" scripts in
/etc/acpi.  Is this a debian/ubuntu-ism?

On Mon, Feb 2, 2009 at 3:47 PM, <pgf at laptop.org> wrote:

> s wrote:
>  > Summary: I updated
>  > <http://wiki.laptop.org/go/Enabling_XO_features_on_other_distributions>
>  > <http://wiki.laptop.org/go/Keyboard_shortcuts>
>  > and several other pages, but mysteries remain.
>  >
>  > pgf at laptop.org usefully responded:
>  >
>  > >> I have zero clue where to find the keymapping
>  > >> file or configuration utility.
>  > >
>  > > i just booted ubuntu to see how they do it -- turns out it's easy.
>  > > they use a program called "xbindkeys" to bind all of the "special" XO
>  > > keys.  the configuration for that is in /home/olpc/.xbindkeysrc --
> you'll
>  > > see an entry in there that invokes /usr/bin/rotate_screen.py.
>  >
>  > I added this to
>  > <http://wiki.laptop.org/go/Enabling_XO_features_on_other_distributions>
>  > Folks, this is the page where distros note their tweaks for the benefit
>  > of humanity.
>  >
>  > I think Sugar doesn't use that technique.  ...
>
> but i've been wondering if perhaps it should.
>
> given that sugar is now multi-platform, does it make sense for
> sugar itself to be managing the special XO keyboard keys?  seems like
> pulling that support out would let it be reused by non-sugar
> distros more readily.
>
> what happens when you press F9 through F12 when running SoaS?
> (i think those are the volume and brightness keys on the XO.)
>
> paul
> =---------------------
>  paul fox, pgf at laptop.org
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>



-- 
"Don't think for a minute that power concedes. We have to work like our
future depends on it."  -- Barack Obama
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20090202/7bfc98f2/attachment.html>


More information about the Devel mailing list