# On Linux, I cannot type in level 4 characters (AltGr + Shift)

**URL:** <https://forums.ankiweb.net/t/on-linux-i-cannot-type-in-level-4-characters-altgr-shift/21926>\
**Category:** Help\
**Created:** [August 1, 2022, 1:13pm UTC](https://forums.ankiweb.net/t/on-linux-i-cannot-type-in-level-4-characters-altgr-shift/21926 "2022-08-01T13:13:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Learioux](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@Learioux](https://forums.ankiweb.net/u/Learioux)\
**Post date:** [August 1, 2022, 1:13pm UTC](https://forums.ankiweb.net/t/on-linux-i-cannot-type-in-level-4-characters-altgr-shift/21926/1 "2022-08-01T13:13:13Z")

</div>

Arch Linux, Anki 2.1.54-1.

Hello,

while I am in Anki studying cards, I cannot type in level 4 characters that are used in international keyboard layouts such as EurKEY, these are special Latin capitals:

Level 1, E = e  
Level 2, Shift + E = E  
Level 3, AltGr + E = ë  
Level 4, AltGr + Shift + E = Ë

Level 1 to 3 are no problem. Also, typing in level 4 characters in the Browse section of Anki and everywhere else in Linux is no problem. That being said, it is not impossible to use special Latin capitals while studying cards, I can type them using dead keys (first ¨ then E to get Ë) but not with AltGr + Shift. Instead, Anki interprets ‘AltGr + Shift + E’ (typed in the text field, not outside) as the shortcut E, which simply opens the Edit window.

Steps to reproduce:  
Use the EurKEY keyboard layout.  
Click on any deck. then click on ‘Study Now’.  
While in the text field. try to type in Ë via AltGr + Shift + E.  
Instead of having an ‘Ë’ in the text field, the Edit window will pop up.

Kind regards.

 ![Screenshot_20220801_150942](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/3/3daaa950f334610014caf01879b84db895196e9e.jpeg)

---

<div class="post-metadata">

**Author:** ![BlackBeans](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/blackbeans/32/2283_2.png) [@BlackBeans](https://forums.ankiweb.net/u/BlackBeans)\
**Post date:** [August 1, 2022, 1:33pm UTC](https://forums.ankiweb.net/t/on-linux-i-cannot-type-in-level-4-characters-altgr-shift/21926/2 "2022-08-01T13:33:13Z")

</div>

I can more or less reproduce this issue: certain fourth-level characters work, other seem to trigger the shortcut that is bound to Alt plus that character. For instance, if I try inputting the fourth level character on the key whose first level character is I, it will just open the card information.

This looks like a bug that has been reported under windows, where Qt also seems to have some issues mixing Alt-related shortcuts and AltGr as a third level shift.

Also note that my third level shift key is not AltGr, and if I try doing the same with AltG (which is Compose for me), it works normally (ie. it doesn’t trigger this bug).

---

<div class="post-metadata">

**Author:** ![Learioux](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@Learioux](https://forums.ankiweb.net/u/Learioux)\
**Post date:** [August 1, 2022, 2:03pm UTC](https://forums.ankiweb.net/t/on-linux-i-cannot-type-in-level-4-characters-altgr-shift/21926/3 "2022-08-01T14:03:24Z")

</div>

Thank you for your answer.

The shortcuts are independent from Alt. While outside the text field, typing I will open info, typing E will open Edit and so forth. Typing Alt + I will not do anything (inside or outside the text field). Maybe the shortcuts in Windows are different from Linux. I am using Arch Linux.

---

<div class="post-metadata">

**Author:** ![BlackBeans](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/blackbeans/32/2283_2.png) [@BlackBeans](https://forums.ankiweb.net/u/BlackBeans)\
**Post date:** [August 1, 2022, 2:08pm UTC](https://forums.ankiweb.net/t/on-linux-i-cannot-type-in-level-4-characters-altgr-shift/21926/4 "2022-08-01T14:08:28Z")

</div>

Ah yes indeed, my bad, I confused the shortcut that was on I with the one on Alt-I 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 1, 2023, 4:08am UTC](https://forums.ankiweb.net/t/on-linux-i-cannot-type-in-level-4-characters-altgr-shift/21926/5 "2023-05-01T04:08:04Z")

</div>


