29
Sep
08

Remapping keyboard on recent distros that use evdev+hal

As you may have read on the previous post my Lenovo 3000 C200 needs a “patch” for its keyboard on X since slash/question/degree key is in an unusual place.

After a little research (grep -r saved my day) I found out that the configuration that used to reside on /etc/X11/xorg.conf is now on /etc/default/console-setup so the same rule for overriding keymaps is still valid. The corresponding configuration for recent distros is something like this:


XKBMODEL="abnt2"
XKBLAYOUT="br+lenovo(addslashes)"
XKBVARIANT=""
XKBOPTIONS=""

Recent update: If you want further explanation of the X keyboard configurations an excellent guide (and by the way the one I used to figure out this) is “An Unreliable Guide to XKB Configuration” by Doug Palmer (Also available here)


2 Responses to “Remapping keyboard on recent distros that use evdev+hal”


  1. 1 Andre
    August 3, 2009 at 6:41 pm

    Awesome, however, have you figured out how to fix that on newer ubuntu vers…

    Sorry, i have no question marks…lol

    tks!

    • August 4, 2009 at 8:56 pm

      Hi Andre,

      No, I had not. Also, as I was short on disk space I had to uninstall Ubuntu at least for the last months. But did they change it again from HAL? I cant believe they changed again… it seems like they have anything against people like us who own notebooks with weird keyboards 😀

      regards,


Leave a comment


ClustrMaps

Blog Stats

  • 384,702 hits since aug'08