{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiawmer73li5e4hxgqrodqvfjcpy6iesbykkxwyccouua4omi453ju",
"uri": "at://did:plc:4n6wgsqsqm6q2hjncgwmreey/app.bsky.feed.post/3mgylkxhpv632"
},
"path": "/post/47165800",
"publishedAt": "2026-03-14T00:43:28.000Z",
"site": "https://programming.dev",
"tags": [
"Linux",
"cm0002",
"1 comments",
"https://crescentro.se/posts/compose-key/"
],
"textContent": "submitted by cm0002 to linux\n13 points | 1 comments\nhttps://crescentro.se/posts/compose-key/\n\n> 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?).\n>\n> 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 ².\n>\n> 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.",
"title": "The Compose key is magic"
}