Skip to content

Swiss Keyboard Layout in recent xorg ("AltGr doesn't work")

It took me a while to figure out what was going on, so I hope this can be useful to someone else...

In gentoo, you need to unmerge x11-misc/xkeyboard-config and emerge x11-misc/xkbdata instead. (I have xorg-x11 7.1)

Then your keyboard section in xorg.conf needs to look like this:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "ch(fr)"
EndSection


fr_CH will not work. well, it sort of worked, but none of the AltGr combinations would work, regardless of what I tried with xmodmap, despite the keycode returned by xev being correct etc.
  • Twitter
  • Bookmark Swiss Keyboard Layout in recent xorg ("AltGr doesn't work") at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Swiss Keyboard Layout in recent xorg ("AltGr doesn't work")
  • Mixx Swiss Keyboard Layout in recent xorg ("AltGr doesn't work")
  • Bloglines Swiss Keyboard Layout in recent xorg ("AltGr doesn't work")
  • Technorati Swiss Keyboard Layout in recent xorg ("AltGr doesn't work")
  • Fark this: Swiss Keyboard Layout in recent xorg ("AltGr doesn't work")
  • Bookmark Swiss Keyboard Layout in recent xorg ("AltGr doesn't work") at YahooMyWeb
  • Bookmark Swiss Keyboard Layout in recent xorg ("AltGr doesn't work") at Furl.net
  • Bookmark Swiss Keyboard Layout in recent xorg ("AltGr doesn't work") at reddit.com
  • Bookmark Swiss Keyboard Layout in recent xorg ("AltGr doesn't work") at blinklist.com
  • Bookmark Swiss Keyboard Layout in recent xorg ("AltGr doesn't work") at Spurl.net
  • Bookmark Swiss Keyboard Layout in recent xorg ("AltGr doesn't work") at NewsVine
  • Bookmark Swiss Keyboard Layout in recent xorg ("AltGr doesn't work") at Simpy.com
  • Bookmark Swiss Keyboard Layout in recent xorg ("AltGr doesn't work") at blogmarks
  • Bookmark Swiss Keyboard Layout in recent xorg ("AltGr doesn't work") with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca