LWN.net Logo

RIP Andre Hedrick (Register)

RIP Andre Hedrick (Register)

Posted Jul 27, 2012 22:03 UTC (Fri) by sorpigal (subscriber, #36106)
In reply to: RIP Andre Hedrick (Register) by leandro
Parent article: RIP Andre Hedrick (Register)

Now I'm interested. How is it done? How do you distinguish thorn from eth?


(Log in to post comments)

RIP Andre Hedrick (Register)

Posted Sep 18, 2012 14:00 UTC (Tue) by leandro (guest, #1460) [Link]

I have in my Debian Wheezy /etc/default/keyboard file:

XKBMODEL="pc105"
XKBLAYOUT="us,gr,br,apl,il,ru"
XKBVARIANT="intl,polytonic,,,,"
XKBOPTIONS="altwin:left_meta_win,compose:rwin,grp:shifts_toggle,nbsp:level3n"

Actually apl has recently broken, ſo I am lookiŋ for hoƿ to fix it.

XKBLAYOUT="us… combined ƿiþ XKBVARIANT="intl… makes my keyboard an ‘International’ one. Ðat gives me the riȝt Alt key as AltGr (alternate graphic character), ſo AltGr‐d is ð, AltGR‐D is Ð, AltGr‐t is þ, AltGr‐s is ß & ſo on.

Oðer characters, ſuch as ðe loŋ ſ or ðe ŋ, muſt be compoſed. XKBOPTIONS="[…]compose:rwin… enables me to preß ðe riȝt logo key folloƿed by a combination. So Compoſe‐fs is ſ, Compoſe‐ng is ŋ, Compoſe‐NG is Ŋ, Compoſe‐--- is — & ſo on. Some combinations I uſe are already defined, ƿhile for oðers ſuch as Compoſe‐ww beiŋ ƿ, Compoſe‐WW beiŋ Ƿ or Compoſe‐--, beiŋ ‐ I muſt inſert at /usr/share/X11/locale/en_US.UTF-8/Compose a few lines, ſuch as:

<Multi_key> <minus> <minus> <comma> : "‐" U2010 # HYPHEN
<Multi_key> <w> <w> : "ƿ" U01BF # LATIN LETTER WYNN
<Multi_key> <W> <W> : "Ƿ" U017F # LATIN CAPITAL LETTER WYNN
<Multi_key> <G> <G> : "Ȝ" U021C # LATIN CAPITAL LETTER YOGH
<Multi_key> <g> <g> : "ȝ" U021D # LATIN LETTER YOGH

RIP Andre Hedrick (Register)

Posted Sep 18, 2012 15:51 UTC (Tue) by jubal (subscriber, #67202) [Link]

~/.XCompose should be just enough.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds