Ubuntu – How to switch off numeric keypad in BT keyboard

bluetoothkeyboardkeyboard-layout

I've recently bought a compact Bluetooth keyboard. In Ubuntu, it works fine when wired, but when connecting it with Bluetooth, only some keys work, those around the U, and they correspond to a numeric keypad. I can fix this by switching off the BloqNum key with other keyboard, but the problem persists when I'm logging in, so in practice this doesn't solve my problem, since I would like to use just the BT keyboard.

Is there a way to change this behaviour in Ubuntu? I've seen some solutions involving access to System → Preferences → Keyboard → Layout → Layout Options → Miscellaneous compatibility options, but I can't find those options in my Ubuntu 19.04.

Best Answer

I had the same issue (with the same keyboard), and managed to solve this using the numlockx package. Simply:

sudo apt install numlockx                                                                                                                                                                                                                                                                                                                                                          
numlockx off                                                                                                                                                                                                                                                                                                                                                                       

Related Question