Uncheck caps lock crashes Ubuntu installation

I just got a new Razer Blade Stealth and I immediately proceeded to installing ubuntu on my laptop and erasing windows. What happened was that during installation, whenever I uncheck the caps lock on my keyboard, the computer crashes (the screen becomes fragmented? into gibberish).

Now I've finished installing it.. it is still crashing whenever I uncheck the caps lock.


I have the "new" 2016 razer blade stealth; upgraded to Ubuntu 16.10. I had the same problems with the caps lock key crashing.

Workaround: Disable Caps Lock

Obviously this completely disables the caps lock key, but it also prevents it from crashing the system.

Ubuntu

Go to Tweak tool -> typing -> caps lock key behavior, change to "Caps Lock is disabled".

Kubuntu

Go to System Settings -> Hardware -> Input Devices -> Keyboard -> Advanced, in the section Caps Lock key behavior enable Caps Lock is disabled.