Hacker News new | ask | show | jobs
by adrianmonk 25 days ago
It's pretty easy on Linux with the compose key. To get "≠", you just hit compose, then "/", then "=". That's actually the same number of keystrokes as "!=" (since "!" requires the shift key).

For whatever reason, the OS documentation lacks a list of allowed compose key sequences. But they are intuitive enough that you can find many of them through experimentation. For example:

Musical sharp ("♯"): compose + "#" + "#".

Interrobang ("‽"): compose + "!" + "?".

Letter "ñ" as in "jalapeño": compose + "n" + "~".

Copyright ("ⓒ"): compose + "(" + c + ")".

3 comments

The "compose" key was a new rabbit hole for me. Very handy.
At least in Debian (Trixie), I have a list in: /usr/share/X11/locale/en_US.UTF-8/Compose
[Replying to myself...]

Oops, I got one wrong.

Copyright("©"): compose + "c" + "o".

The one I had is bigger: Ⓒ vs. ©.