why do I lose the right Alt key when chosing English in India?
Submitted by Mohan R
Assigned to xkb..@..bat.ru
Link to original bug (#106292)
Description
I dont know much about how xkb works. But, this is my /etc/X11/xorg.conf.d/00-keyboard.conf
file:
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "in"
Option "XkbVariant" "eng"
EndSection
As you can see, it selects "eng" variant from symbols/in
; here is that block:
xkb_symbols "eng" {
include "us(basic)"
name[Group1]= "English (India, with rupee)";
include "rupeesign(4)"
include "level3(ralt_switch)"
};
I understand that the last two lines are added to type "₹" by pressing AltGr+4, but it changes my AltGr to work as level3 switch, what should I do to,
- make AltGr work as AltGr instead of level3_switch, it's ok to loose ability to type rupeesign rather than loose AltGr.
In my openion, when a user select layout as "in" and variant as "eng", he should just get "us(basic)", "rupeesign" should be an opt-in, rather than default. Loosing AltGr functionality for a key which I never use (I'm sure most people in india dont type this key freequently) is not right.
Currently everytime "xkeyboard-config" update comes, I loose AltGr, I have to manually go to /usr/share/X11/xkb/symbols/in, comment out last two lines in "eng". I dont know some better way to preserve AltGr with "in(eng)"
relevent Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30236 relevent commit: 396de5b7