On Thu, 11 Jul 2019 00:41:45 +0200
ropers <rop...@gmail.com> wrote:

> Any hints on how to even start with that hardest part, or what to read
> or where to look would be MORE than welcome.

Hi, ropers. I've been reading this thread about altnumd and using
alt+000 to enter arbitrary Unicode characters like people did on DOS
and Windows. I noticed that nobody mentioned that X11 already has a
method for entering arbitrary Unicode characters using pre-defined key
sequences. It's called the "Compose" key (aka the Multi_Key in X11
header files).

https://en.wikipedia.org/wiki/Compose_key

PC and Mac keyboards don't provide a physical compose key, but you can
remap a key you don't usually use (like Caps Lock or the right-hand ALT
or CTRL keys) using setxkbmap(1).

Here's the command I use in my ~/.xsession file:

setxkbmap -option compose:caps &

Hopefully this helps somebody.

-- 
Matthew Graybosch
https://matthewgraybosch.com | gopher://asgartech.com:70
xmpp: starbrea...@matthewgraybosch.com
"'Out of order'? Even in the future nothing works!"

Reply via email to