How to Type Symbols on Linux: Ctrl+Shift+U, Compose Key and More
Quick answer: on most Linux desktops, press Ctrl+Shift+U, type the Unicode hex code and press Space or Enter. For example, 2014 gives — and 00B0 gives °. For symbols you type often, turn on the Compose key, so that Compose, o, c gives ©. Windows Alt codes do not work on Linux.
Quick reference: every method
Every Alt code below is verified against the real Windows code pages — where none exists we say so, rather than list one that won’t work.
| Char | Name | Windows | Mac | HTML | Word (Alt+X) | Unicode |
|---|---|---|---|---|---|---|
| © | Copyright Sign | Alt+0169 |
Option+G |
© |
00A9 + Alt+X |
U+00A9 |
| ® | Registered Sign | Alt+0174 |
Option+R |
® |
00AE + Alt+X |
U+00AE |
| ° | Degree Sign | Alt+0176 |
Shift+Option+8 |
° |
00B0 + Alt+X |
U+00B0 |
| — | Em Dash | Alt+0151 |
Shift+Option+- |
— |
2014 + Alt+X |
U+2014 |
| ± | Plus-Minus Sign | Alt+0177 |
Shift+Option+= |
± |
00B1 + Alt+X |
U+00B1 |
| × | Multiplication Sign | Alt+0215 |
Copy / paste | × |
00D7 + Alt+X |
U+00D7 |
| ½ | Vulgar Fraction One Half | Alt+0189 |
Copy / paste | ½ |
00BD + Alt+X |
U+00BD |
| « | Left-Pointing Double Angle Quotation Mark | Alt+0171 |
Copy / paste | « |
00AB + Alt+X |
U+00AB |
Method 1: Ctrl + Shift + U
- Press Ctrl+Shift+U; an underlined u appears.
- Type the hex code, for example
2192. - Press Space or Enter and → appears.
This works in GNOME and in most apps that use GTK or the IBus input system. In some other toolkits, terminals or apps with their own input handling it may do nothing; then use the Compose key or paste. Codes are the same ones listed as "U+" on every symbol page of this site.
Method 2: the Compose key
The Compose key lets you type a symbol by "spelling" it. First choose a key for it:
- GNOME: Settings → Keyboard → Type Special Characters → Compose Key, then turn it on and pick a key (for example Right Alt or Menu).
- KDE Plasma: look in System Settings → Keyboard → the advanced options for the Compose key position.
Then press and release Compose, followed by the sequence:
| Sequence after Compose | Result | Sequence after Compose | Result |
|---|---|---|---|
| o c | © | o r | ® |
| o o | ° | + - | ± |
| - - - | — (em dash) | - - . | – (en dash) |
| x x | × | 1 2 | ½ |
| ' e | é | " u | ü |
| < < | « | > > | » |
The full list is in your system's Compose file, and you can add your own sequences in a file called .XCompose in your home folder. Support for that file depends on the input method in use.
Method 3: character maps and emoji
- GNOME Characters (and gucharmap) on GNOME, or KCharSelect on KDE: search by name, click to copy, then paste.
- Emoji: Ctrl+; in GNOME apps opens the emoji chooser; on KDE Plasma Meta+. opens the emoji selector.
Method 4: in specific apps
- LibreOffice: type the hex code and press Alt+X, just like in Word (Word guide). Insert → Special Character also opens a searchable dialog.
- Terminal (bash):
printf '→\n'prints →. - HTML and code: use
→in HTML or→in JavaScript and Python strings.
Keyboard layouts with AltGr
Choosing a layout such as English (US, intl., with dead keys) in the keyboard settings gives dead-key accents and extra characters on AltGr (Right Alt), similar to the Windows US International layout. It is the quickest way if you write accented letters every day (other languages).
Troubleshooting
- A box appears: the font lacks the character; install a broad font family such as Noto (why boxes appear).
- Compose does nothing: make sure the key chosen isn't also used for something else, such as switching layouts.
Related: Chromebook, which also uses Ctrl+Shift+U, and the symbols cheat sheet with Unicode codes.
Frequently asked questions
How do I type a Unicode character on Linux?
In GNOME and most GTK or IBus apps, press Ctrl + Shift + U, type the hex code (for example 2192 for →), then press Space or Enter.
What is the Compose key and how do I turn it on?
It is a key you choose (such as Right Alt or Menu) that starts short sequences: Compose, o, c gives ©. In GNOME, turn it on under Settings, Keyboard, Compose Key.
Do Windows Alt codes work on Linux?
No. Numpad Alt codes are a Windows feature. Use Ctrl + Shift + U with the Unicode code, the Compose key, or copy and paste.
How do I type emoji on Linux?
In GNOME apps press Ctrl + ; to open the emoji chooser. On KDE Plasma, Meta + . opens the emoji selector. You can also copy emoji from a character map.
Looking for something else? Browse 1,000+ copy-paste symbols, the full Alt Codes finder, or the emoji picker.