Sometimes happens when arrow keys stop working as expected in ubuntu, up arrow which usually stand for search back in history become printscreen and other arrows stop working at all, you can't move cursor, etc.

Fix is easy:

$ sudo udevadm trigger --subsystem-match=input --action=change

Source:

https://askubuntu.com/questions/675476/reset-keyboard-layout-to-default-and-wipe-out-all-earlier-settings