Keyboard mappings are in /usr/lib/kbd/keytables/
.
Try typing either of these two commands to load one
/usr/bin/loadkeys /usr/lib/kbd/keytables/dk.map
/usr/bin/loadkeys /usr/lib/kbd/keytables/dk-lat1.map
The difference between the two lines is that dk-lat1.map
uses
`dead' keys while dk.map
doesn't. Dead keys are explained
in section
DeadKeys.
You can change the keymapping loaded at boot by editing the
file /etc/rc.d/rc.keymap
.
If this doesn't work you simply haven't installed support for international keyboards.
AltGr
key to work under XEdit the file /etc/Xconfig
(under XFree86 2.0) or
/etc/X11/XF86Config
(underXFree86 3.x)
and make sure the line
RightAlt ModeShift
appears in the Keyboard
section. Usually you can do
this by uncommenting an appropriate line.
AltGr
key to work under XDead keys and accented charactersDead keys are those who don't type anything until you hit
another key. Tildes and umlauts are like this by default under
Microsoft Windows and if you use the dk-lat1.map
keymap
under Linux.
Under plain Linux type
loadkeys dk.map
Under plain Linux type
loadkeys dk-lat1.map
Insert the following lines in a file ~/.Xmodmap
or /etc/X11/Xmodmap
keycode 21 = acute Dgrave_accent bar
keycode 35 = Ddiaeresis Dcircumflex_accent Dtilde
You can now make the dead keys work by typing (e.g.)
xmodmap .Xmodmap
. Using the Slackware distribution
this commando will be automatically executed next time you
run X.
Under X11R6 applications dead keys won't work unless they
were compiled with support for unusual input methods. The
only application reported to do so is kterm
- an
xterm
substitute. Eventually the situation might
improve, but as it is you can't do much but revert to X11R5
or hack every application you own. Do not attempt the method
described for X11R5.
ø
(oslash) Ø
(Ooblique) and the dollar sign workø
(oslash) and Ø
(Ooblique)Find out what keymap you load at boot-up. You should be able
to find out by typing less /etc/rc.d/rc.keymap
.
On my computer it is
called /usr/lib/kbd/keytables/dk-lat1.map
. Find the line
for keycode 40 in this file and change it from
keycode 40 = cent yen
to
keycode 40 = oslash Ooblique
and load the keytable as described in
section
LoadKeys.
Note: This bug appears to have been fixed in version 0.88 of the international keytable package.
The dollar sign is accessed with Shift-4
instead of AltGr-4
by default. You can fix this by changing the line
keycode 5 = four dollar dollar
in the keymap file to e.g.
keycode 5 = four asciicircum dollar
It doesn't matter if you something else instead asciicircum
if it is just a valid symbol name.
See section
Glyphs for a list of valid symbols.