On Mon, Jan 29, 2024 at 10:02:20PM +0100, Franco Martelli wrote:
> I read that for custom sequence I've to create a ~/.XCompose file, but where
> can I find the character to map i.e. Greek letters: "α" "β" "γ" ?

It's a bit of a chicken-and-egg problem, admittedly.  What I did was find
a web page that had these characters on it, and then copy/pasted them.

> In "/usr/share/X11/locale/en_US.UTF-8/Compose" file the ALPHA char is
> defined as:
> 
> <dead_greek> <a>                        : "α"   U03B1 # GREEK SMALL LETTER
> ALPHA
> 
> What stands for <dead_greek> ?

That's a new one to me.  Presumably there must exist some keyboard,
somewhere, which has such a key.

If that's the route you want to take, and if you don't have this key,
then you'll use xmodmap to remap something to become dead_greek.  One of
the Alt or Super keys, for example.

<https://askubuntu.com/questions/787113/compose-dead-greek-with-compose-key>
seems to have some partial answers you can use as a starting point.

I simply went with this instead:

<Multi_key> <g> <a> : "α"
<Multi_key> <g> <b> : "β"
<Multi_key> <g> <g> : "γ"
<Multi_key> <g> <d> : "δ"

and so on.

Reply via email to