Jun's Blog

Output, activities, memo and etc.

WirePlumber: How to set bluetooth earphones as a default audio

I have sometimes experienced that my Bluetooth earphones is not set by default. So, below is just my memo to do that on Fedora Linux.

$ rpm -qf /bin/wpctl
wireplumber-0.5.12-1.fc42.x86_64

$ wpctl status | grep -A5 "Sinks"
 ├─ Sinks:
 │  *   54. Built-in Audio Analog Stereo        [vol: 1.18]
 │      74. Jun's WF-C710N                      [vol: 0.40]
 │
 ├─ Sources:
 │      55. Built-in Audio Analog Stereo        [vol: 0.32]
--
 ├─ Sinks:
 │
 ├─ Sources:
 │  *   66. Framework Laptop 12 Webcam Module (V4L2)
 │
 ├─ Filters:

$ wpctl set-default 74

The WirePlumber page on ArchWiki is here.