Do not really change keymap in testing mode
Some keymap modifications from Manjaro. Also don't test mirrors in check.py when in testing mode.
Added generate_keyboard_layout (it's pyqt based, so it needs to be ported)