Saturday, May 4, 2024
23
rated 0 times [  23] [ 0]  / answers: 1 / hits: 25896  / 2 Years ago, thu, october 20, 2022, 9:33:19

I installed Ubuntu with mostly default configuration; the keyboard seems not to detect the Alt Gr key so that I can not type international characters.


How can I enable Alt Gr key?


More From » keyboard-layout

 Answers
4

This answer has screenshots for Gnome-Shell (Ubuntu Gnome 13.10). I suppose it will be similar for standard Unity, but if not, please chime in.



First of all (and this is the most common problem), to have AltGr working you need a keyboard layout which uses it. For example, this is my keyboard layout (Settings -> Region and Language):



Screenshot: Region & Language settings




  • English (US, international with dead keys) has AltGr.

  • English (US) has NO AltGr.

  • English (international AltGr dead keys) has AltGr.



(My preferred layout is the third one, really).



If the layout does not map AltGr+Key to anything, like for example the default "English (US)", AltGr will not work even if it's activated in the Keyboard -> Shortcuts panel.



This is normally sufficient. To change the position of the AltGr you go to Settings -> Keyboard and set the "Alternative Characters Key":



Screenshot: Keyboard settings



For example, my keyboard has no physical AltGr key, so I mapped it to the Right Alt key.



Now with the third layout, pressing AltGr and n together gives ñ.



Compose (the option before) is a very different beast. If you enable it, then you will have a set of characters available with three (or more) keystrokes. For example, pressing Compose, o, e gives œ. That's three sequential keystrokes, not together.



Take into account that there is a bug related to the layout switching in 13.10 which is being worked on, so check it if you have problems changing layout.


[#26566] Friday, October 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uestred

Total Points: 464
Total Questions: 104
Total Answers: 112

Location: Israel
Member since Wed, Apr 14, 2021
3 Years ago
;