@Norbert: You are aware of the difference between support and bug fixing/development, aren’t you? The Xorg issue you highlighted higher up in this thread is a valid feature request which you have called the developers’ attention to both via bug reports and here. But please note that there are a lot of keyboard shortcut and layout switching issues which are not related to that. Often a helping hand in some support forum is sufficient. There are a lot of such questions/answers at Ask Ubuntu, for instance.
Unfortunately this fix only works until reboot Currently I have to manually do this (launch CompizConfig Settings Manager and enable/disable Commands or any other feature - it reloads the top bar and the Dash, and keyboard shortcuts work after that. Another way is to run compiz --replace from Terminal - but again, this has to be done manually, I spent hours trying to make this automatic on reboot by adding to startup application or other places, but nothing seems to work - when executed from startup applications, it actually breaks the UI, there’s no header and no dash after executing this way. Why is that, any ideas? I also tried adding a shortcut to desktop, but double-clicking it on desktop has the same effect - broken UI. If, on the other hand, I run the same command by double-clicking from Files (Nautilus), it works! Why? It’s so frustrating…
Even after “fixing” it by running compiz --replace, it’s still not perfect - in WebStorm I cannot use my Alt+Shift+F7 shortcut anymore - the language switches, I guess because I pressed Alt+Shift, and F7 is ignored.
I really shouldn’t have upgraded… I need some painkillers now
I completely can’t understand for whom GNOME and Canonical develops / breaks GNU/Linux desktops.
Every computer for real work (not entertainment and gaming) has keyboard, the end-user uses it (with pre-installed and configured favorite shortcuts), but keyboard is broken (this thread as example).
If developers do not suppose Ubuntu to be real desktop system (to compete with RedHat or SuSe) - then it is not “The leading operating system for PCs, IoT devices, servers and the cloud | Ubuntu”, then it is OS for servers and for containers (not for end-users with GUI). With such usability flaws I can recommend to remove and ignore GNOME (and beloved Unity too).
Currently only MATE DE can provide stable non-changing LTS user-experience without bells-and-whistles (thanks a lot, @Wimpress).
The universal remediation to fix current bug - do not use both GNOME sHell and Unity
If you are not satisfied with obtained results - write a letter to Mark Shuttleworth / Xorg / GNOME / all bug-trackers / all IRCs / all LoCos / all treads of Ubuntu-Forums / Bill Gates about your problem and then execute:
Thanks a lot Norbert, I’ll try MATE - I love Unity, I don’t understand why it’s discontinued, GNOME is buggy (I cannot mirror my 4K monitor to 4K TV and set scale to 200% on gnome, thankfully it works on Unity) and inefficient - both the top bar, AND current window title bar, AND the menu are displayed at the top of the screen taking way too much space there, which is a clear step backwards. I’ll report the bug on proper resources too, thank you for explanation and for trying to help. I literally wasted 10 hours yesterday, so frustrating. Спасибо
The custom keyboard shortcuts bug is in unity-settings-daemon. But very hard to reproduce. It has some connection with the bug in this thread, key press vs key release. If I downgrade xorg everything works fine.
How do you downgrade xorg? Please pretty please, I’m so annoyed by this Everything else is smooth and great now, this stupid keyboard thing is the last glitch that if I fix it, I’ll be a happy Linux user once again
Using Elementary OS 5.0 and having all the same problems. Solution mentioned by @Norbert does not work (as he said earlier) because Pantheon DE is based on GNOME.
This is just unbelievable how it is possible in real life - not to fix this SERIOUS bug for 14+ years. Because handling key combinations on key press is totally incorrect, even every web developer know this. Because Ctrl+Shift and Ctrl+Shift+F is two different key combinations which simply must not and should not be conflicting in any way.
Workaround mentioned by @solarpatrol does not work either, because pantheon’s key shortcuts can’t be set using gnome-tweak tools.
As @Norbert said in xorg865 bug thread. 14 years of doing nothing…
How can even anyone hope about any *nix distro becoming mainstream, if such critical bugs aren’t fixed for DECADES
Please somebody tell us whether using MATE with fore-mentioned patch still suffer from such problem: using ctrl-shift-smth combinations works as expected but ALSO switch layout?
This happens with me in GNOME after patch from kyak so Ubuntu is still remains almost unusable((
I had the same problem
Appeared at the first screen lock. On the locked screen, the keyboard does not switch the layout at all. Just the mouse. But after unlocking the combination Shift-Alt is installed instead of Alt-Shift
While disabled lock, but the blocking feature is a useful thing.