Last active
February 5, 2022 22:41
-
-
Save MRo47/6cfe6fda96450b115c68604786ccc3b5 to your computer and use it in GitHub Desktop.
Fix for bluetooth audio device freezing video/spotify or no audio issue in Ubuntu. This is a known bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1589008
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 | |
# I like to place this file in ~/.scripts/bt_reconnect.sh | |
# Then assign a keyboard shortcut (CTRL + R) to run this script. | |
# This can be done on the keyboard shortcut app supplied with Ubuntu desktop. | |
# Make sure the script has executable permissions: chmod +x ~/.scripts/bt_reconnect.sh | |
# In the shortcut command enter the full path without using ~ or $HOME | |
bluetoothctl disconnect <your headset mac address> | |
systemctl --user restart pulseaudio | |
bluetoothctl connect <your headset mac address> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment