This bug made using emacs and IntelliJ Idea a nuisance. I found a simple 
workaround.
0
=1=

You can verify how ALT and SHIFT are not being detected simultaneously by 
running
$ xkbwatch

Notice how the blinky lights change for ALT and for SHIFT but not for
both at the same time.

=2=

$ setxkbmap -query
rules:      evdev
model:      pc105
layout:     us,us,us
variant:    ,intl,
options:    grp:alt_shift_toggle,grp_led:scroll
            ^^^^^^^^^^^^^^^^^^^^
            THIS IS THE PROBLEM

=3=

We will now unset ALT-SHIFT toggle.

$ setxkbmap -option -option grp_led:scroll
            ^^^^^^^
            DELIBERATELY EMPTY

The first empty -option erases all options, the second one just carries
over an option we want to keep. Additional -option clauses can preserve
other preexisting options.

I can still change to next/previous input source with whatever is
configured in Settings/Keyboard/Typing

=4=

Do step =2= again and notice how ALT and SHIFT now play together
simultaneously.

I am now a happy Emacs and IntelliJ user. This is a single command
workaround.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1762952

Title:
  Alternative shortcut for layout switching Alt+Shift unexpectedly set
  by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1762952/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to