Spanish keyboard in X

Matthias Apitz guru at
Mon Jul 19 08:09:03 UTC 2010

El día Sunday, July 18, 2010 a las 11:32:05AM -0700, Leonardo M. Ramé escribió:

> Yes,I have modified xorg.conf the same way as you mentioned.
> Anyway, now the problem is solved by adding "setxkbmap es &" to my .xsession
> Thanks.
> Leonardo M. Ramé

A bit related to the question: If you need Spanish Tilde chars but you
have only an English or German keyboard (like I have), you can make use
of the so called WindowsKey in X11 and define the keys like shown below.
After this, for example, the combination WindowsKey+a gives á (a-tilde).

# $Id:,v 1.1 2008/08/25 10:04:41 guru Exp $
# para español:
xmodmap -e "keycode 0x73 =  Mode_switch"
xmodmap -e "keycode 0x39 =  n N ntilde Ntilde"
xmodmap -e "keycode 0x1a =  e E eacute Eacute"
xmodmap -e "keycode 0x26 =  a A aacute Aacute"
xmodmap -e "keycode 0x1f =  i I iacute Iacute"
xmodmap -e "keycode 0x1e =  u U uacute Uacute"
xmodmap -e "keycode 0x20 =  o O oacute Oacute"
xmodmap -e "keycode 0x14 =  questiondown question backslash ssharp"
xmodmap -e "keycode 0x0a =  1 exclam exclamdown onesuperior"
xmodmap -e "keycode 94 = less greater guillemotleft guillemotright bar brokenbar

Espero que te ayude. Saludos

Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at> - w
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!

More information about the freebsd-questions mailing list