rlh   img   mp3   nfo   pro  
./nfo/linux/Unicode compose keys.nfo
# [RLH] Unicode compose keys
#
# 'Unicode compose keys.nfo'
#
# See: https://hakon.gylterud.net/tutorials/unicode.html
#
# Fri Feb 19 23:19:46 CET 2021

Find valid compose keys

    grep "compose:" /usr/share/X11/xkb/rules/base.lst

Set custom compose key (Multi_key)

  ~/.xinitrc

    setxkbmap -option "compose:menu"

Set custom compose combinations:

  ~/.XCompose

    ! include default keys

    include"%L"

    ! custom keys

    <Multi_key> <A> <E>       : "Æ" 00C6
    <Multi_key> <O> <slash>   : "Ø" 00D8
    <Multi_key> <A> <A>       : "Å" 00C5
    <Multi_key> <a> <e>       : "æ" 00E6
    <Multi_key> <o> <slash>   : "ø" 00F8
    <Multi_key> <a> <a>       : "å" 00E5
    <Multi_key> <e> <m>       : "—" U2014
    <Multi_key> <e> <n>       : "–" U2013

# EOF