Software & AppsOperating SystemLinux

Fixing Bluetooth Keyboard Pairing Issue on Ubuntu 20.04

Ubuntu 5

In this guide, we will walk you through the process of troubleshooting and fixing Bluetooth keyboard pairing issues on Ubuntu 20.04. This issue can be quite frustrating, especially if you rely on your Bluetooth keyboard for daily tasks. Let’s dive in.

Quick Answer

To fix Bluetooth keyboard pairing issues on Ubuntu 20.04, start by checking the connection and ensuring the keyboard is not connected to another device. Then, verify the hardware and firmware using the lsusb and dmesg commands. Make sure Bluetooth is enabled and restart the Bluetooth service if needed. If the issue persists, remove and re-pair the keyboard. If none of these steps work, check for compatibility issues and update Ubuntu.

1. Check the Bluetooth Keyboard Connection

First things first, ensure that your Bluetooth keyboard is not already connected to another device. Bluetooth devices often stop broadcasting their availability when they are connected to a device. Disconnect it from any other devices before trying to pair it with your Ubuntu system.

2. Checking Hardware and Firmware

Next, we need to verify that your Bluetooth hardware and firmware are functioning correctly. This can be done using the lsusb and dmesg commands in the terminal.

  • lsusb: This command lists USB devices connected to your system. If your Bluetooth hardware is USB-based, it should appear in this list.
  • sudo dmesg | egrep -i 'blue|firm': This command displays system messages related to Bluetooth and firmware. The egrep part of the command filters out messages containing the words ‘blue’ or ‘firm’.

Open a terminal and enter these commands:

sudo dmesg | egrep -i 'blue|firm'

Examine the output for any relevant information or errors that could indicate a problem with your Bluetooth hardware or firmware.

3. Verify Bluetooth Status

Ensure that Bluetooth is enabled on your Ubuntu system. Navigate to the Bluetooth settings in the system menu and confirm that Bluetooth is turned on.

4. Restart Bluetooth Service

If Bluetooth is enabled but the keyboard is not detected, try resetting the Bluetooth service. This can be done using the systemctl command, which controls the systemd system and service manager.

Enter the following command in the terminal:

sudo systemctl restart bluetooth

This command restarts the Bluetooth service, which can help resolve any software-related issues.

5. Remove and Re-pair Bluetooth Keyboard

If the issue persists, you might need to remove and re-pair your Bluetooth keyboard. Here’s how to do it:

  • Navigate to the Bluetooth settings in Ubuntu and ensure Bluetooth is turned on.
  • Put your Bluetooth keyboard into pairing mode. Check the keyboard’s manual for instructions on how to do this.
  • In the Bluetooth settings, click on the “+” or “Add Device” button to start the pairing process.
  • Ubuntu should detect your Bluetooth keyboard and display it in the list of available devices.
  • Select your keyboard from the list and click “Pair” or “Connect” to initiate the pairing process.
  • If prompted, enter the passcode provided by the keyboard or press the pairing button on the keyboard.
  • Once the pairing is successful, your Bluetooth keyboard should be connected and ready to use.

6. Check for Compatibility Issues

If none of the above steps work, there might be compatibility issues between your Bluetooth keyboard and Ubuntu 20.04. In such cases, you can try searching for specific drivers or firmware updates for your keyboard that might resolve the compatibility problem.

7. Update Ubuntu

Lastly, always ensure your Ubuntu 20.04 system is up-to-date. Updates often include bug fixes and improvements that could potentially resolve your Bluetooth keyboard pairing issue. You can check for updates by navigating to the Software Updater or by running the following commands in the terminal:

sudo apt update
sudo apt upgrade


We hope this guide helps you resolve any Bluetooth keyboard pairing issues you might be experiencing on Ubuntu 20.04. Remember, the steps outlined here are general troubleshooting steps and might not cover all possible scenarios or solutions. If you’re still experiencing issues, consider reaching out to Ubuntu’s community support or the manufacturer of your Bluetooth keyboard for further assistance.

How do I disconnect my Bluetooth keyboard from another device?

To disconnect your Bluetooth keyboard from another device, you can usually go to the Bluetooth settings on that device and select the option to "Forget" or "Disconnect" the keyboard. Refer to the device’s manual or support documentation for specific instructions.

How do I put my Bluetooth keyboard into pairing mode?

The process to put a Bluetooth keyboard into pairing mode can vary depending on the model. Generally, you need to press and hold a specific key or combination of keys on the keyboard until the pairing light starts blinking or the keyboard enters a discovery mode. Consult the keyboard’s manual or the manufacturer’s website for detailed instructions on how to put your specific keyboard into pairing mode.

How do I update the firmware of my Bluetooth keyboard?

Firmware updates for Bluetooth keyboards are typically provided by the keyboard’s manufacturer. Visit the manufacturer’s website and search for your keyboard model to see if any firmware updates are available. Follow the instructions provided by the manufacturer to update the firmware of your Bluetooth keyboard.

How often should I check for Ubuntu updates?

It is generally recommended to check for Ubuntu updates regularly, at least once a week. However, if you are experiencing specific issues, it may be beneficial to check for updates more frequently. Keeping your system up-to-date ensures that you have the latest bug fixes, security patches, and improvements, which can help resolve compatibility issues with your Bluetooth keyboard.

What should I do if none of the troubleshooting steps work?

If you have followed all the troubleshooting steps and are still experiencing Bluetooth keyboard pairing issues, you can consider reaching out to Ubuntu’s community support or contacting the manufacturer of your Bluetooth keyboard for further assistance. They may have additional troubleshooting steps or specific recommendations based on your situation.

Leave a Comment

Your email address will not be published. Required fields are marked *