Created
July 13, 2019 06:11
-
-
Save ortizmj12/eba59d6e19e9bf8b564963b39ef5b788 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
# Sound won't work after plugging in headphones. Output source is "dummy | |
# output". Run this script to fix it without having to restart the machine. | |
# Source: https://askubuntu.com/a/1104906 | |
pulseaudio --kill; sleep 2s; sudo alsa force-reload; pulseaudio --start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment