[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to use dead keys



On Fri, Apr 13, 2007 at 11:00:21 +0200, Dan H. wrote:
> Florian Kulzer wrote:
> 
> > Try
> > 
> > setxkbmap -option compose:rwin 
> 
> Cool! But it doesn't seem to work on a German keyboard with accents that
> are only accessible through Alt Gr -- i.e., I can't get a tilde on top of
> an n (ñ) this way but as I can access the tilde only through Alt Gr it
> doesn't work.

That is strange. I can compose the "ñ" from "~" and "n" on both my
German laptop (where I have to press Alt_Gr + "+" to get the tilde) and
on my Spanish desktop computer (Alt_Gr + "4" = "~"). These systems use
the en_US.UTF-8 locale.

Just to be sure: Are you using a "nodeadkeys" keyboard variant, i.e.
does the tilde appear immediately when you press Alt_Gr + "+"?

The next thing to check is if you really have the symbol "asciitilde"
assigned to this combination. You can run "xev" to find that out.

Finally, maybe your locale uses a different combination for the "ñ".
These combinations are listed in /usr/share/X11/locale/<locale>/Compose.
You can search for the "ñ" like this:

$ grep ntilde /usr/share/X11/locale/en_US.UTF-8/Compose
<dead_tilde> <n>                        : "ñ"   ntilde # LATIN SMALL LETTER N WITH TILDE
<Multi_key> <asciitilde> <n>            : "ñ"   ntilde # LATIN SMALL LETTER N WITH TILDE
<combining_tilde> <n>                   : "ñ"   ntilde # LATIN SMALL LETTER N WITH TILDE
$ grep ntilde /usr/share/X11/locale/iso8859-1/Compose
<Multi_key> <n> <asciitilde>            : "\361"        ntilde
<Multi_key> <asciitilde> <n>            : "\361"        ntilde
<Multi_key> <n> <minus>                 : "\361"        ntilde
<Multi_key> <minus> <n>                 : "\361"        ntilde
<dead_tilde> <n>                        : "\361"        ntilde

-- 
Regards,
          Florian



Reply to: