Created
June 4, 2021 07:44
-
-
Save KevinMX/0bf2137048270bde0e0979a650c65878 to your computer and use it in GitHub Desktop.
WF-1000XM3 Volume Control
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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