I have new Ubuntu 18.04 with Gnome 3.28.1 on my laptop, and I run into a problem.
I have set Alt+Shift on keyboard layout switching, but LeftShift+RightShift combo also triggers the switching, and I just can't find out why.
I have used gnome-tweak-tool
for the configuring, and I can guarantee that there is no ticks on the checkbox Both Shifts together
. As for built-in Settings -> Devices -> Keyboard -> Typing
, they have been set to Disabled
and therefore can't interfere.
Also, I checked org/gnome/desktop/input-sources
via dconf-editor
, and it shows grp:alt_shift_toggle
as it should, there is no mention of grp:shifts_toggle
at all. But it still switches a layout, and it just makes me mad. Can anyone help me? Is it a bug or something?
P.S. However, if I disable Alt-Shift as a layout-switcher, LeftShift+RightShift also disappears, so it seems grp:shifts_toggle
is a sort of "backup value" or "repeater" of grp:alt_shift_toggle
.
P.P.S There are some links where people had encountered with the same, but no solution was found.
https://www.reddit.com/r/gnome/comments/73k5lq/why_pressing_leftshiftrightshift_changes_keyboard/
grp:lalt_lshift_toggle
option is what you prefer. – Gunnar Hjalmarsson Jun 16 '18 at 22:36LeftAlt+LeftShift
is only a half-way solution. It really disablesLeftShit+RightShift
, butRightShift+LeftShift
still switches the layout, which is unwanted behaviour too. – Scarabyte Jun 18 '18 at 07:56CapsLock
for it (as i do for single capital words), you will need to alternate betweenLeftShift
andRightShift
very fast, depending on which letter key you need to press right now. And sometimes,RightShift
is not unpressed yet, whileLeftShift
is already pressed, causing layout switching in the middle of word you trying to type. – Scarabyte Jun 18 '18 at 07:57