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 | |
| # A workaround for the following pulseaudio (?) issue: | |
| # https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1400 | |
| # This script is supposed to be called via a udev rule (i.e. as root): | |
| # ACTION=="add", ATTR{phys}=="<mac_address>", RUN+="<path_to_this_script>" | |
| # To get the required <mac_address>: | |
| # 1) Connect your headphones to your PC |