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.

  • Thanks for the editing Elia, much better now – magomar Aug 20 '19 at 6:36
  • Those options are in Gnome-Tweaks sudo apt install gnome-tweaks – UnKNOWn Aug 20 '19 at 8:46
  • Thanks, I have already searched there, and coudn't find the Miscellaneous compatibility options section. I have searched again, and now I found it, but it didn't solve my problem, I'm still unable to use my BT keyboard at the logging screen. – magomar Aug 21 '19 at 6:35
  • after logging in, is the BT keyboard working as expected? i.stack.imgur.com/tjHPd.png – UnKNOWn Aug 21 '19 at 6:37
  • Yes, it is. Anyway, there there is another problem with function keys not working, but to be honest, Linux was not officially supported for this keyboard (Keychron K2) so nothing to complain here. I think I will sell my two keyboards to people using Windows or Mac, since it work swiftly with these O.S. – magomar Aug 22 '19 at 16:28

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                                                                                                                                                                                                                                                                                                                                                                       

  • thanks, but the problem persists while logging into the system, so I'm still unable to use the keyboard until logged. And yet I can't use function keys. I think I'm gonna sell my two keyboards to mac/windows users. – magomar Sep 17 '19 at 16:43

This should fix your issue, it did for me with Keychron K4.

echo 0 | sudo tee /sys/module/hid_apple/parameters/fnmode

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.