2

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/

https://bbs.archlinux.org/viewtopic.php?id=174715

graham
  • 13,061
Scarabyte
  • 191

1 Answers1

0

I couldn't disable the LeftShift+RightShift shortcut anywhere, and at the end I decided to switch to Wayland as a replacement to Xorg. If you are using GNOME3 with GDM, change GDM settings in /etc/gdm/custom.conf, and choose Wayland instead of Xorg.