"Oscar A. Valdez" wrote on 2002-10-01 22:37 UTC:
> How do I configure XFree86 v. 4.1.0 to get ñ,Ñ,á,é,í,ó and ú on a
> US-layout keyboard?

If it is only for personal single-user use, then .Xmodmap is still
the simplest solution.

I routinely type German and English text on a UK keyboard with the
following .Xmodmap file (which also disables the annoying caps-lock
key):

! to get capslock back: xmodmap -e 'add Lock = Caps_Lock'
clear lock
keysym a = a NoSymbol adiaeresis NoSymbol
keysym o = o NoSymbol odiaeresis NoSymbol
keysym u = u NoSymbol udiaeresis NoSymbol
keysym s = s NoSymbol ssharp     NoSymbol
keysym p = p NoSymbol section    Greek_pi
keysym d = d NoSymbol degree     NoSymbol
keysym e = e NoSymbol EuroSign   NoSymbol
keysym i = i NoSymbol idiaeresis NoSymbol
keysym m = m NoSymbol emdash     mu
keysym n = n NoSymbol endash     NoSymbol
keysym space = space NoSymbol nobreakspace NoSymbol
keycode 34 = bracketleft braceleft leftsinglequotemark leftdoublequotemark
keycode 35 = bracketright braceright rightsinglequotemark rightdoublequotemark
keysym minus = minus underscore 0x01002212 NoSymbol

Just add the command "xmodmap .Xmodmap" to your .xsession file.

man xmodmap
man X
less /usr/include/X11/keysymdef.h 

Note that practically UK PC keyboards have an "AltGr" key. I understand,
that in the US, unfortunately not all PC keyboards have this key
available for the Mode_switch keysym, so you have to define some other
key (Alt_R, Ctrl_R, F1, etc.) to be the Mode_Switch key.

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>

_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to