Setting Up Bluetooth on EndeavourOS: A Quick Guide

I had to set up Bluetooth on my EndeavourOS (an Arch-like distro), and here’s how I did it:

Check the Bluetooth service status:

$ sudo systemctl status bluetooth.service  

○ bluetooth.service - Bluetooth service  
    Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; disabled; preset: disabled)  
    Active: inactive (dead)  
      Docs: man:bluetoothd(8)  

This command will display the current status of the Bluetooth service.

Start and enable the Bluetooth service:

$ sudo systemctl start bluetooth.service  
$ sudo systemctl enable bluetooth.service  

Created symlink /etc/systemd/system/dbus-org.bluez.service → /usr/lib/systemd/system/bluetooth.service.  
Created symlink /etc/systemd/system/bluetooth.target.wants/bluetooth.service → /usr/lib/systemd/system/bluetooth.se  
rvice.  

These command activates the Bluetooth service and ensures that it starts automatically when you boot your system.

Verify the Bluetooth service status again:

$ sudo systemctl status bluetooth.service  

● bluetooth.service - Bluetooth service  
    Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled)  
    Active: active (running) since Fri 2023-09-01 19:37:25 CEST; 28s ago  
      Docs: man:bluetoothd(8)  
  Main PID: 178543 (bluetoothd)  
    Status: "Running"  
     Tasks: 1 (limit: 38181)  
    Memory: 1.0M  
       CPU: 56ms  
    CGroup: /system.slice/bluetooth.service  
            └─178543 /usr/lib/bluetooth/bluetoothd  
  
sep 01 19:37:25 prox bluetoothd[178543]: Endpoint registered: sender=:1.7043 path=/MediaEndpoint/A2DPSource/aptx_l>  
sep 01 19:37:25 prox bluetoothd[178543]: Endpoint registered: sender=:1.7043 path=/MediaEndpoint/A2DPSource/aptx_l>  
sep 01 19:37:25 prox bluetoothd[178543]: Endpoint registered: sender=:1.7043 path=/MediaEndpoint/A2DPSource/aptx_l>  
sep 01 19:37:25 prox bluetoothd[178543]: Endpoint registered: sender=:1.7043 path=/MediaEndpoint/A2DPSource/aptx_l>  
sep 01 19:37:25 prox bluetoothd[178543]: Endpoint registered: sender=:1.7043 path=/MediaEndpoint/A2DPSource/fastst>  
sep 01 19:37:25 prox bluetoothd[178543]: Endpoint registered: sender=:1.7043 path=/MediaEndpoint/A2DPSource/fastst>  
sep 01 19:37:25 prox bluetoothd[178543]: Endpoint registered: sender=:1.7043 path=/MediaEndpoint/A2DPSink/opus_05  
sep 01 19:37:25 prox bluetoothd[178543]: Endpoint registered: sender=:1.7043 path=/MediaEndpoint/A2DPSource/opus_05  
sep 01 19:37:25 prox bluetoothd[178543]: Endpoint registered: sender=:1.7043 path=/MediaEndpoint/A2DPSink/opus_05_>  
sep 01 19:37:25 prox bluetoothd[178543]: Endpoint registered: sender=:1.7043 path=/MediaEndpoint/A2DPSource/opus_0>  
lines 1-22/22 (END)

Now, you should see that the Bluetooth service is active and running.