Skip to content
Operating SystemsVerified Bench 2026

Linux Compose Key | Type Any Accent & Symbol in Seconds

Linux's Compose key is the best accent system on any OS — and it's off by default. Two minutes to enable, ten sequences to memorize.

·4 min read·Last verified Sep 2026
Windows 11 24H2 & macOS 15.1

Enable it

GNOME: Settings → Keyboard → Special Character Entry → Compose Key → pick Caps Lock or Right Alt. KDE: System Settings → Keyboard → Advanced → Position of Compose key. Others: setxkbmap -option compose:caps (Caps Lock becomes Compose; Esc still works via tap in Vim-style setups).

The 10 sequences that cover 90%

Press Compose, release, then type two keys. e ', e ` → è, u " → ü, n ~ → ñ, c , → ç, o c → ©, o o → °, << → «, >> → »; s s → ß. Order rarely matters (both 'e and e' work).

Ctrl+Shift+U: hex for everything

Press Ctrl + Shift + U, an underlined “u” appears, type the hex (20AC), Enter → €. Works in GTK apps (GNOME Terminal, Firefox, gedit); Qt/KDE apps vary — Konsole historically ignores it, Kate obeys. Every character page lists the hex in its Linux row.

Custom sequences

Add your own in ~/.XCompose: <Multi_key> <e> <u> : "€" then reload. Compose files are plain text, version-controllable dotfiles — the Compose key is infrastructure, not a trick.

Share:
JV

Dr. Julian Vance

Lead Editor

Lead Systems Architect & Digital Typographer at HowToTypeThis. Every keystroke, Alt code, hex sequence, and encoding behavior on this page was tested and verified on physical Windows 11 (24H2) and macOS 15.1 (Sequoia) hardware.

Looking for a different glyph or accent?Symbol Picker ↗

Last verified Sep 2026 · Windows 11 24H2, macOS 15.1 · How we test

View all 32 guides
Tray
Copied to clipboard!
Ready to paste anywhere