Hacker News new | ask | show | jobs
by account42 310 days ago
~/.XCompose might be what you are looking for.

Support varies - GTK needs an environment variable to use it and Qt (since version 5) only uses the first code point of the result. No idea about Wayland support or alternatives.