Skip to content

Instantly share code, notes, and snippets.

@KevinMX
Created June 4, 2021 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KevinMX/0bf2137048270bde0e0979a650c65878 to your computer and use it in GitHub Desktop.
Save KevinMX/0bf2137048270bde0e0979a650c65878 to your computer and use it in GitHub Desktop.
WF-1000XM3 Volume Control
#!/bin/bash
dbus-send --print-reply --system --dest=org.bluez $(dbus-send --print-reply --system --dest=org.bluez / org.freedesktop.DBus.ObjectManager.GetManagedObjects | grep -E '/org/bluez/hci./dev_.._.._.._.._.._..' -om1) org.bluez.MediaControl1.VolumeUp
#!/bin/bash
#Sometimes the volume on WF-1000XM3 is way too low, which locks at the same volume as the last time you connect it to an Android/iOS phone.
#Use these scipts to change the volume via dbus-send, which acts the same as you press the physical button on the earbuds.
#You can set it as a shortcut key combination in your DE for convenience.
dbus-send --print-reply --system --dest=org.bluez $(dbus-send --print-reply --system --dest=org.bluez / org.freedesktop.DBus.ObjectManager.GetManagedObjects | grep -E '/org/bluez/hci./dev_.._.._.._.._.._..' -om1) org.bluez.MediaControl1.VolumeUp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment