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

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

akku on :

i had the same prob with my swiss german keyboard, here my config:

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "ch"
Option "XkbVariant" "de"
EndSection

Change de to fr in the Xkbvariant line.

The author does not allow comments to this entry

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options