Categories: TutorialsUbuntu

Setting up Bluetooth on Ubuntu 22.04

Bluetooth, when properly configured on your machine, enables seamless use of peripherals like a mouse, keyboard, headset, or other compatible accessories.

After installing the necessary packages and making adjustments, everything should function smoothly.

However, you might encounter issues connecting your Bluetooth devices on Ubuntu 22.04. Follow these steps to troubleshoot and resolve problems:

Step 1: To begin resolving Bluetooth issues on your Linux system, install the necessary packages using your package manager. For Ubuntu or similar distributions, open a terminal and execute the following command:

sudo apt-get install bluetooth bluez bluez-tools rfkill -y

Sponsored

Read: How to fix Bluetooth connection issues on Ubuntu 22.04

Step 2: Ensure that your Bluetooth device is not locked. To check this, utilize the rfkill utility as follows:

sudo rfkill list

Examine the output to confirm that Bluetooth is not “blocked.” If it is blocked, you’ll need to unblock it before proceeding to the next steps.

Step 3: If your Bluetooth device is locked, you can unlock it using the rfkill command:

sudo rfkill unblock bluetooth

Read: How to fix WiFi not working on Ubuntu

Step 4: Ensure Bluetooth Service is Running

To ensure that the Bluetooth service is active, execute the following command in the terminal:

sudo service bluetooth start

This command starts the Bluetooth service, making it ready for use.

Finding Bluetooth devices

Step 1: Before initiating the device scanning process, install the Blueman package and run it by executing the following command:

sudo apt-get install blueman -y && blueman-manager

Read: How to fix Bluetooth problems in Windows 10

This command installs the Blueman package and launches the Blueman manager for convenient Bluetooth device management.

Step 2: Make Your Bluetooth Device Visible

By default, your Bluetooth device is hidden, and it needs to be visible for detection by other devices. Follow these steps:

1. Open the Bluetooth Manager screen (`blueman-manager`).

2. Click on the “Adapter” menu.

3. Select the “Preferences” option.

Step 3: Adjust Visibility Settings

Sponsored

In the “Bluetooth Adapters” window:

– Change the visibility setting to either “Always visible” or “Temporarily visible,” based on your preference.

– Optionally, assign a name for your Bluetooth device. This name will be displayed to other Bluetooth devices.

Step 4: Scan for Bluetooth Devices

1. In the Bluetooth Manager, initiate the scanning process by clicking on the “Search” button.

2. Allow a few minutes for the search to complete.

3. Once the search is finished, all detected Bluetooth devices will be displayed in the Bluetooth Manager.

Pairing and connecting to Bluetooth devices

Step 1:

Right-click on the device name shown on the Bluetooth Manager screen.

Select the “Pair” option from the menu that appears. This will initiate a pairing request between the PC and the other device.

Step 2:

Enter a four-digit PIN code in the dialog box.

Click OK to confirm.

Step 3:

On your Android device, enter the PIN you received earlier.

Confirm the pairing request.

If successful, the devices will be paired, and a new lock icon will appear on the device access page. Your laptop should also be visible in the “Paired devices” section on your Android device. This establishes a secure connection between your PC and Android device.

Sending and receiving files

Step 1:

Open the Bluetooth Manager (blueman-manager).

Right-click on the device you want to send files to.

From the menu, select “Send a File…”

Step 2:

In the window that appears, navigate to the folder containing the file you want to send.

Select the file.

Click the “OK” button to initiate the transfer.

On your smartphone, a notification will prompt you to confirm the file transfer. Confirm and wait for the process to complete.

You can also receive files from your smartphone using a similar method.

With the installation and configuration complete, you can now seamlessly handle file transfers between your PC and smartphone using Linux Bluetooth, without worrying about the technical details.

 

The post Setting up Bluetooth on Ubuntu 22.04 appeared first on net2.

Ubuntu Server Admin

Recent Posts

Ubuntu Command-Line Mastery: The Essential Guide for Power Users

The Linux terminal is a powerful tool allowing users to control their system precisely and…

5 hours ago

Ubuntu Weekly Newsletter Issue 876

Welcome to the Ubuntu Weekly Newsletter, Issue 876 for the week of January 19 –…

3 days ago

How to utilize CPU offloads to increase storage efficiency

Canonical Ceph with IntelⓇ Quick Assist Technology (QAT) Photo by v2osk on Unsplash When storing…

4 days ago

Breaking the Rules: RPC Pattern with Apache Kafka and Karafka

Introduction Using Kafka for Remote Procedure Calls (RPC) might raise eyebrows among seasoned developers. At…

4 days ago

How to Install PalWorld on Ubuntu VPS (Easy 5 Minute Guide)

This article provides a guide for how to install PalWorld on Ubuntu VPS server. How…

5 days ago

How to Resolve Unmet Dependencies Error on Ubuntu

Using APT to manage software on Ubuntu (or similar Linux systems) is generally simple. It…

6 days ago