Created
February 25, 2017 10:11
-
-
Save arnabdas/32f1ed10bde3c0676ac7818956ee70af to your computer and use it in GitHub Desktop.
In Fedora, if anything played in Chrome, sometimes the sound does not come. To fix that, a simple hack.
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 | |
pacmd list-sinks | |
#will show all of the available audio outputs | |
pacmd list-sink-inputs | |
#will list all programs that are currently playing music and | |
pacmd move-sink-input [sink input index] [sink name] | |
#will switch the sound input to the correct output | |
#https://goo.gl/fwh2zJ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment