External Publication
Visit Post

The Compose key is magic

People > Companies ❤️ - programming.dev [Unofficial] March 14, 2026
Source
submitted by cm0002 to linux 13 points | 1 comments https://crescentro.se/posts/compose-key/ > I’ve been in a bit of a coding slump recently due to a constellation of work and personal Stuff™, and in situations like those I enjoy procrastinating by tweaking my desktop setup (do kids still call this ricing?). > > One of the small things that’s always annoyed me is that, if I want to input the glorious currency symbol of our great monetary union, I basically need to search for “eur symbol” somewhere and copy-paste it. On a Mac with the Dutch layout, the € symbol can be produced by hitting Option + 2, but on my Linux desktop with the nl(mac) layout1, the closest thing is Right Command + 2 (interpreted by the system as AltGr+2), which gives me a nice ². > > In skimming through various docs, forum posts and wiki pages, I ran into an xkb option to change the behaviour for the € symbol specifically, but I also ran into something far more interesting: the Compose key. It turns out that there’s a special key you can use to write custom symbols as a sequence of normal keystrokes.

Discussion in the ATmosphere

Loading comments...