Why Does Ubuntu Keep Shutting Down When I Type Quickly?
I'm on an ASUS ROG machine running Ubuntu 20.04. The system will try to shut down whenever I type quickly. Nothing else seems to trigger it (I'm pretty sure it's not overheating, and it doesn't shut down on its own).
I am not experiencing the same issues with a dual-boot of Windows 10 on the same laptop (but different disk drive). It doesn't seem to be a hardware issue.
I've searched on this site and on other forums, but haven't seen anyone that had a similar issue caused just by typing quickly. Others had the same issue caused by heat, yes, but mine seems to be unique.
(Edited to mention that I do not face this issue on Windows 10)
Solution 1:
I had the exact same problem on Asus ROG strix G713QR with Ubuntu 21.04. Did not have it with Windows or Live USB either. Following worked for me:
Settings -> Power -> Suspend & Power Button -> Power Button Behavior -> [Nothing]
Worth to note: You can partially eliminate the problem with the solution above, but the root of the problem will still be there. I have discovered that my system somehow triggers the power button behaviour when I type quickly. And it actually still does it! It just does not try to shutdown anymore, but it does go off focus from the writing app as if I have pressed the shutdown button. And it does try to shutdown when I type fast, right after I switch the power button behaviour back to the original. Totally weird.