How to integrate Bluetooth headphones to control playback on Linux (Mint) players?

1.3k Views Asked by At

My headphones are WH-1000xm3. System being used is Linux Mint. How to make playback work?

1

There are 1 best solutions below

1
easyrider On
  1. install playerctl
    wget http://ftp.nl.debian.org/debian/pool/main/p/playerctl/libplayerctl2_2.0.1-1_amd64.deb
    wget http://ftp.nl.debian.org/debian/pool/main/p/playerctl/playerctl_2.0.1-1_amd64.deb
    sudo dpkg -i libplayerctl2_2.0.1-1_amd64.deb playerctl_2.0.1-1_amd64.deb
  1. install xbindkeys
  2. Add command to a ~/.xbindkeysrc file:
"playerctl play-pause"
    m:0x0 + c:208
    XF86AudioMute

This way you can control chrome, vlc, video/audio players playback remotely via your headphones

This is tested for Linux Mind 19.3 Tricia with Sony WH-1000XM3