title: Keyboard shortcuts not working after Ubuntu 19 upgrade
body: <p>I've upgraded my Ubuntu laptop (Dell XPS-13) from the factory installed version 16 all the way to 19.04. I've dealt with a few issues, but currently my only problem seems to be a few keyboard shortcuts going nuts.</p>
  
  <p>For example, I can no longer comment out code on my IDEs, both IntelliJ and VSCode.</p>
  
  <p>The shortcut is normally <code>Ctrl+/</code>, but now when I enter this, IntelliJ folds the code around where the cursor is, VSCode zooms out (everthing gets small).</p>
  
  <p>Another shortcode that's broken is <code>Ctrl+]</code>, which is supposed to navigate forward in IntelliJ, but now doesn't seem to do anything at all, even though <code>Ctrl+[</code> still works and is the "opposite" shortcut, i.e. it navigates back instead of forward. However, both shortcuts actually seem to work on Firefox!</p>
  
  <p>So, there's some evidence that the problem is not Java-specific, as VSCode, which is Electron based, is also suffering from at least one broken shortcut... but one of the broken shortcuts in IntelliJ seems to work fine on FireFox, which is very confusing.</p>
  
  <p>In any case, I found a small keyboard logger Java app <a href="https://docs.oracle.com/javase/tutorial/displayCode.html?code=https://docs.oracle.com/javase/tutorial/uiswing/examples/events/KeyEventDemoProject/src/events/KeyEventDemo.java" rel="nofollow noreferrer">here</a> and this is what it shows when I enter <code>Ctrl+/</code>:</p>
  
  <pre><code>KEY PRESSED: 
  key code = 17 (Ctrl)
  extended modifiers = 128 (Ctrl)
  action key? NO
  key location: left
  KEY PRESSED: 
  key code = 45 (Minus)
  extended modifiers = 128 (Ctrl)
  action key? NO
  key location: standard
  KEY TYPED: 
  key character = '/'
  extended modifiers = 128 (Ctrl)
  action key? NO
  key location: unknown
  KEY RELEASED: 
  key code = 17 (Ctrl)
  extended modifiers = 0 (no extended modifiers)
  action key? NO
  key location: left 
  KEY RELEASED: 
  key code = 45 (Minus)
  extended modifiers = 0 (no extended modifiers)
  action key? NO
  key location: standard
  </code></pre>
  
  <p>Java, at least, seems to see me pressing both <code>-</code> AND <code>/</code> when I only pressed <code>/</code>, but only while <code>Ctrl</code> is pressed!! This explains why VSCode zooms out and IntelliJ folds the code: they both see <code>Ctrl+-</code> rather than my intended <code>Ctrl+/</code>.</p>
  
  <p>When I enter <code>Ctrl+]</code>, the key logger shows:</p>
  
  <pre><code>KEY PRESSED: 
  key code = 17 (Ctrl)
  extended modifiers = 128 (Ctrl)
  action key? NO
  key location: left
  KEY PRESSED: 
  key code = 135 (Dead Diaeresis)
  extended modifiers = 128 (Ctrl)
  action key? NO
  key location: standard
  KEY TYPED: 
  key character = ''
  extended modifiers = 128 (Ctrl)
  action key? NO
  key location: unknown
  KEY RELEASED: 
  key code = 135 (Dead Diaeresis)
  extended modifiers = 128 (Ctrl)
  action key? NO
  key location: standard
  KEY RELEASED: 
  key code = 17 (Ctrl)
  extended modifiers = 0 (no extended modifiers)
  action key? NO
  key location: left
  </code></pre>
  
  <p>This time, it seems to see something entirely different from what I entered. Instead of <code>]</code> (which I can type here easily enough) it seems to see <code>135 (Dead Diaeresis)</code> and ``, whatever that is.</p>
  
  <p>My keyboard is set to use English (Australia) layout and I have a few languages installed (Portuguese, Swedish, English) but I only use English while writing code.</p>
  
  <p>Any idea of what I can do to fix this problem would be highly appreciated!</p>
  
  <p>PS. I've already asked this on the Ubuntu community but got nothing there, not even comments... <a href="https://askubuntu.com/questions/1192805/ctrl-shortcut-does-not-work-after-ubuntu-upgrade">https://askubuntu.com/questions/1192805/ctrl-shortcut-does-not-work-after-ubuntu-upgrade</a></p>