XKB and the Dutch

Rene Herman rene.herman at gmail.com
Thu Jan 25 11:38:18 PST 2007

Good day.

If I'm not mailing to the right list, please inform me; I don't know
anything about X development...

More than 99% of Dutch computer users use a standaard US international
keyboard, not a Dutch one. We do want to type the Euro symbol though.
This can be done via composition but on many keyboards the EuroSign is
on the "e" key cap (this is a EU standard in fact) and on some it's on
the 5 key cap.

Using the standard:

Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"

does not provide the EuroSign on AltGr-e/5 as desired. Adding a

Option "XkbVariant" "intl"

does provide the EuroSign on both these keys but also provides for
"dead keys"; you have to type " twice for example to get it once,
which is utterly unworkable.

There isn't a "intl_nodeadkeys" variant, and in fact, all the other
things the "intl" variant provides aren't all that wanted either. A
standard US layout with just that added EuroSign on e and possibly 5 is
really al that's wanted/needed.

Instead of "XkbVariant" "intl", its also possible to use XkbOptions to
get the eurosign added to the US layout:

Option "XkbOptions" "lv3:ralt_switch,eurosign:e,eurosign:5"

and this actually works if not for one glitch. On startup, xkbdcomp

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:    Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols 
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

To then also not get that warning message it's possible to, instead of
that XkbOptions line, add a manual XkbSymbols line replacing the
pc/us(pc104) symbols with en_US(pc104):

Option "XkbSymbols"

but this is very unclean. Is the best "fix" to let RALT be a TWO_LEVEL
symbol in the standard US layout? Or even to just add the EuroSign on 
AltGr-e/5 to the standard US layout?

And _could_ someone do something about it? The Dutch would be eternally 
in your debt...


More information about the xorg mailing list