(Answer) (Category) Linux on PowerPC FAQ-O-Matic : (Category) X Windows :
How do I get my non-US (se, fr, de) keyboard to work with X?
See also: (Xref) How do I set up my non-American keyboard?

marc.shapiro@inria.fr, ddkilzer@earthlink.net
To use a French Macintosh keyboard with Linux, see the following URL:
This covers both X-windows and console mode.
Short explanation: Keyboard layouts can be customized. The standard Linux installation understands the American QWERTY layout. It does contain configuration files for non-American layouts, but my experience is that they are incorrect and incomplete. I provide configuration files that conform as exactly as possible to French Macintosh keyboard layout. I also provide detailed instructions and automatic installation.
You have to add a custom keyboard map file. Instruction on how to
install such a file can be found at
and the Swedish map file can be found at http://www.algonet.se/~m-arc/ 

I have set up a Web page on how to configure MkLinux to support foreign
keyboards under both console mode and X-Windows. An improved German
keyboard mapping is also included.


mar@ssc.se, rauschma@informatik.uni-muenchen.de, lkarrer@trash.net
This is the technique that I used to get a non-US keyboard layout, (in this
 case the dvorak keyboard layout) to be the
default keyboard layout during my X sessions.  First, find a keysym file for
your non-US keyboard. The file should look something like this one for dvorak
http://www.ccsi.com/~mbrooks/dvorak/keysym.dvorak.  To use this keyboard
layout you could load at the beginning of each session with "xmodmap
keysym.dovark" command.
This is rather annoying because you will alway have to type this using the
US layout.  To skip this step and have your keyboard load automatically at
the start of each session, follow these next step.  Depending upon your userid
or the user account that you have logged into, create in the directory of
the account (its home directory) a file name ".Xmodmap" (including the period).
I do this using emacs and its pretty 
simple.  Once you have this file open in emacs simply insert the contents
of the keysym file, using emacs C-x i command.  The contents of .Xmodmap should
now appear to be the contents of the keysym file.  Save or write the .Xmodmap.
Now everytime you log into the account with this .Xmodmap file in its home
directory and start up X windows, your keyboard will have your non-US layout.
The best keymaps I've found (up to now) for german macintosh keyboards can be found at:
which points to
I have set up a page on how to get a Swiss-German keyboard to work under X

Hi Swiss people,
Installation page for X11 is here: http://www.realworld.ch/Swisskbd.html Installation page for Console here: http://www.realworld.ch/swisskbdc.html
Both pages contain the files you need to succeed. As far as i know there is currently no other console keymap for ch_de available. So this one probably makes your work a lot easier if you won't or cannot have X11.
ppc@realworld.ch http://www.realworld.ch

To get the brazilian(pt_BR) layout working, you can follow these steps(in portuguese) at http://users.linsnet.br/~linuxall/tutoriais/tutoriais.php?name=tutacentos&titulo=Como%20configurar%20a%20acentuação%20no%20Linux%20(teclado%20us)
I did all they say there, everything works fine, except for the fact that when I get the layout working on X, my backspace doesn't work as a backspace, it works like a Delete key.
[Append to This Answer]
Previous: (Answer) Adjusting the Keyboard Repeat Rate
Next: (Answer) Console xterm doesn't work; it just acts like a normal xterm.
This document is: http://www.jonh.net/cgi-bin/lppcfom/fom?file=71
[Search] [Appearance]
This is a Faq-O-Matic 2.717d.
Hosted by anduin.org and SourceForge Logo