1

The keyboard shortcut for switching source is Super+Space. If I press it, this window dialog pops up:

Screenshot of keyboard switcher dialog with en1, en2 and ar

This is quite a slow process. You can press the keyboard shortcut multiple times until you have highlighted the keyboard layout that you need. However, once you have selected it, it seems that you must wait one or two whole seconds before you can type with that keyboard layout and the dialog fades out. Other operating systems let you change keyboard layouts instantaneously, is there a way to do this on Ubuntu?

To be clear, I quite like the window, the window popping up is not the problem. The problem is that it steals keyboard focus. How can I make it not steal keyboard focus? Or is there at least a way to close this window, say with the Esc key?

Flimm
  • 40,306
  • 22
  • 94
  • 154
  • 1
    Possible duplicate of [How to disable the Keyboard Layouts Choosing screen in Gnome?](https://askubuntu.com/questions/998077/how-to-disable-the-keyboard-layouts-choosing-screen-in-gnome) – Gunnar Hjalmarsson Jun 22 '18 at 11:17
  • 1
    See also [bug #1754702](https://launchpad.net/bugs/1754702). – Gunnar Hjalmarsson Jun 22 '18 at 11:19
  • is the same with the mouse, on the top panel (in your case, next to the Wifi logo)? – damadam Jun 22 '18 at 11:39
  • 3
    Possible duplicate of [How to NOT show this window when changing language](https://askubuntu.com/questions/972926/how-to-not-show-this-window-when-changing-language) – pomsky Jun 22 '18 at 11:45
  • @pomsky Not a duplicate, as I'm fine with the window displaying, I just don't want it to steal keyboard focus. – Flimm Jun 23 '18 at 17:34
  • Well, that's not how your question [originally was](https://askubuntu.com/revisions/1048805/1). In that case you'll probably have to report a bug. – pomsky Jun 23 '18 at 17:53
  • @pomsky The question never stated in the original version or the edited version that I wanted the window to not appear. I only stated that I wanted the whole process to be immediate. – Flimm Jun 23 '18 at 18:05
  • The title went "*How can I switch keyboard source quickly in Ubuntu 18.04 GNOME Shell?*" and in the body, you just described how the super+space switching works with a delay. So I reckon it's very natural to presume you were open to alternative suggestions to switch layout in a faster way (my answer to the proposed dupe has one). But nevermind, I guess nothing constructive is going to come out of this discussion any more, so I'll disengage. Thank you :) (I have retracted my close vote) – pomsky Jun 23 '18 at 18:15

1 Answers1

1

It seems that a script can be used to override this extremely annoying behavior. Take a look here:

How to NOT show keyboard layout chooser popup when changing language in GNOME 3