Special characters (Linux)
Naar navigatie springen
Naar zoeken springen
I use the right Alt key as compose key. It seems that there are key combinations up to three keys long.
Letters
Letter | Combination | Code & name | Notes |
---|---|---|---|
ć | ? | U0107 - Latin small letter C with acute | According to [1], these would be valid combinations, but they don't seem to work:
|
č |
|
||
ğ | g ( | First the letter, than the symbol | |
ı | . i | Turkish dotless i | |
ň | n < | "ˇ": Caron [2] |
Symbols
Symbol | Name or code | Combination | Notes |
---|---|---|---|
→ | - > | ||
½ | 1 2 | ||
· | . ^ |
| |
° | 0 * | Degree |
Case: How to write ć (2023.05)
Writing "ć" the suggested way (e.g., apostrophe c or acute c) doesn't seem to work. Let's try suggestion from [https://askubuntu.com/questions/906390/how-to-get-letter-%C4%87-with-the-dead-keys:
sudo dpkg-reconfigure keyboard-configuration
- Set keyboard to US keyboards without dead keys
- Restart the computer.
My keyboard:
- There are 109 keys (including numeric keyboards, without on/off and audio keys)
- Dell Latitude laptop
- Originally a French keyboard, but with stickers to make it look like what seems to be a normal US keyboard.
Trial 1
Keyboard configuration goes in stages:
- Dell Latitude laptop
- English (US) - It's actually a French keyboard with stickers, but let's try to ignore that
- English (US) - English (US, euron on 5) - I can't see if there is a euro at 5, due to a sticker, but they usually have, don't they?
- AltGr key: Right Alt (AltGr)
- Compose key: Right Alt (AltGr)
- Use Control-Alt-Backspace to terminate X server.
Trial 2
Keyboard settings:
- Dell Latitude laptop
- French
- French - French (alt., no dead keys)
- AltGr key: Right Alt (AltGr)
- Compose key: Right Alt (AltGr)
- Use Control-Alt-Backspace to terminate X server.
Results: I now had an Azerty keyboard, and I couldn't log in without the Onscreen keyboard → I haven an English keyboard
Trial 3
English → English (without anything else) → Same problem as before.
Trial 4
- English
- English (US) - English (intl., with AltGr dead keys)
Change X11 Compose file
- Based on https://askubuntu.com/questions/1257998/type-c-acute-%c4%86-%c4%87-on-ubuntu-mate-20-04-lts?rq=1, I've changed something somewhere
- Didn't help. Maybe I should really understand what I'm doing
- I changed stuff back
- Here: /usr/share/X11/locale/en_US.UTF-8/Compose
Create a .XCompose file
https://askubuntu.com/questions/47496/how-can-i-add-a-custom-compose-key-sequence/71335#71335 - Still to come.
Sources
- https://www.reddit.com/r/linux/comments/7n7pk/how_do_i_type_the_infinity_symbol_on_linux_on/
- https://cgit.freedesktop.org/xorg/lib/libX11/plain/nls/en_US.UTF-8/Compose.pre - Waarschijnlijk de complete lijst!
Trouble with ć