How to pair bluetooth device with Linux Mint 20 XFCE using bluez

Bluetooth by default was not recognizing the devices I wanted to connect to the computer on my Linux Mint 20 system. Therefore, open a terminal window and enter the following commands:
$ sudo apt-get install blueman <enter>
$ sudo systemctl enable bluetooth.service <enter>
$ sudo systemctl start bluetooth.service <enter>

$ sudo vi /etc/bluetooth/main.conf <enter>
Under [General] remove the # from Name = BlueZ
Add following line below it
Enable=Source,Sink,Media,Socket

Save the file using :wq and exit.

$ sudo apt-get install pulseaudio-module-bluetooth <enter>

$ pactl load-module module-bluetooth-discover <enter>

Now you should see the small Bluetooth icon and can set up other devices. Once it worked, I removed the gnome-bluetooth* using the following command:

$ sudo apt-get purge gnome-bluetooth* <enter>

Do this only after you are sure that Bluetooth works well for you.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s