How to enable those function (alt + number) on my elementary OS? I can't insert tilde and "ñ" letter because I don't have those buttons and also can't use the alt + number. Someone have an idea? Thanks
In elementary OS 0.4 (Loki), the way to set the compose key is:
- Open Systems Settings
- Select Keyboard
- Select Layout
- Select which key you want to use as your Compose key
Often this is easier with the compose key. With the compose key configured you use key combos to produce special characters. For example:
- For ë: Compose + " + e
- For ẽ: Compose + ~ + e
- For ô: Compose + ^ + o
- For á: Compose + ' + a
Note that you do not have to hold down the compose key; just press each key in order.
To set the compose key
- Open "System Settings"
- Select "Keyboard"
- Select "Options".
- In the left pane, select "Compose Key Position"
- In the right pane, choose a key to act as Compose
Original answer from AskUbuntu
The feature that you mention is typical of Windows systems to write ASCII characters. The *nix OS's, like elementaryOS, don't use ASCII code. But you can use UNICODE, which it's more extensive than ASCII.
To type an unicode character you must use
Ctrl+Shift followed by the code you can find at:
To write them:
- Make sure you don't have
Shiftkeys meanwhile type
U. Now you can see an underline U.
- Release the keys
Shift, and type the Unicode number.
- Finally, hit
For example, to write the "Ñ" character, you must use the combination:
ctrl + shift + u + 00D1 + enter
When you use this trick in Scratch, you can't see the underline U, but it works also.