I'm trying to configure my Ubuntu 18.04 to switch between Arabic and English using Right Shift and Right Alt. I've been working on it for several days and I've checked tons of solutions out there but none of them seems to be working with Arabic. I think that I've found the cause of the problem. When the keyboard is set to English, the Right Alt button's name in the keyboard layout form is Alt R which is pretty normal. But when I set it to Arabic, the name of Alt R is changed to be Level 3 Shift. Check the pictures to get me.
This picture for the English layout, the Alt R is a normal Alt R.
But when it comes to Arabic, thats what happens.
Alt-Left is the same in both layouts and that's why its working fine with me but I'm used to Alt-Right and I wanna get it to work, I've tried to remap Level 3 shift to be Alt R but I couldn't. How to make it works? Thanks in advance.
The Arabic layout makes Right Alt the 3rd level modifier key automatically. However, the lv3:ralt_alt
XKB option makes Right Alt to work as any Alt, so possibly this command will make a difference for you:
gsettings set org.gnome.desktop.input-sources xkb-options "['lv3:ralt_alt']"
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments