4

I like trying different Linux distributions from time to time.

I love keyboard shortcuts and one thing that drives me crazy about a distribution is the fact that it handles keyboard shortcuts on-pressing, rather than on-releasing.

This allows a keyboard shortcut such as Alt + Shift to trigger its action when I actually want to press Alt + Shift + R, because the system doesn't give me the chance to press the R once the Alt + Shift keys are pressed

Ubuntu and Linux Mint handle this well. It doesn't trigger the shortcut unless I release the pressed keys.

So why does Ubuntu handle this well? What aspect of the Linux system is responsible for that? I need to filter out other Linux distributions that I can try, based on this criterion, which is to be able to handle keyboard shortcuts properly.

A side question: I consider this a MAJOR ISSUE. How on earth does it still exist at all?!

Zanna
  • 70,465
  • 1
    Is this behavior by default on Ubuntu? It seems to me that the shortcuts are actually recognized on-press. I tried Ctrl + Alt + T, and it opened the Terminal (several times) without me releasing. – Andrew Tapia Aug 15 '16 at 23:24
  • @fakedad What version are you using? I tried this on Linux Mint (Rosa, Ubuntu 14.04) and Ubuntu Mate 16.04 – Muhammad Gelbana Aug 16 '16 at 11:40
  • I tested this on Ubuntu 16.04.1 (using Unity), and Lubuntu 16.04.1 (using LXDE). – Andrew Tapia Aug 16 '16 at 20:18
  • I'm getting similar results (recognizing on-press) with Linux Mint "Rosa" with Cinnamon. Granted, I'm using a virtual machine for this and my testing of Ubuntu 16.04.1, but my testing with Lubuntu was with a physical machine. – Andrew Tapia Aug 16 '16 at 22:16
  • @fakedad With Mint, I was using Mate. I'll try downloading and testing this for Lubuntu. And I don't "think" testing this using a virtual machine through a host is valid because the rules of the host would still apply. But don't you think this is a terrible way to handle keyboard shortcuts ? What if you wanted to press a third key ? – Muhammad Gelbana Aug 16 '16 at 23:11
  • I just tested out Linux Mint "Rosa" with MATE on a physical machine, and I'm still having no luck reproducing the recognition on-release. I have noticed that, with Mint on both MATE and Cinnamon, however, the shortcut activated by pressing the Windows/super key does seem to activate on-release. Still, other shortcuts seem to release on-press for me. – Andrew Tapia Aug 17 '16 at 00:46
  • Would you please try adding another keyboard layout and try switching using Alt + Shift keys ? Does they work on-releasing or on-pressing ? – Muhammad Gelbana Aug 17 '16 at 05:05
  • I just tried that on Linux Mint "Rosa" with MATE and I wasn't able to get Alt Shift to switch the keyboard layout at all (maybe I had the settings wrong?), but I was able to get it to work with Lubuntu 16.04.1. The keyboard layout switched on-release, as you had suggested. At this point, I'm really not sure what determines whether a keyboard shortcut is recognized on-press or on-release. – Andrew Tapia Aug 18 '16 at 02:45
  • @fakedad The Alt + Shift keys combination usually needs to be configured to switch keyboard layouts as they usually aren't the default. My question is about keyboard shortcuts generally, not about Alt + Shift specifically. – Muhammad Gelbana Aug 18 '16 at 18:56
  • 2

1 Answers1

1

It's an Xorg bug. Fixed here for Manjaro Linux. I had to follow these steps to manually skip PGP checking !