sudo touch /usr/local/bin/audio-restartsudo chmod +x /usr/local/bin/audio-restart| #!/bin/bash | |
| pulseaudio -k && pkexec alsa force-reload | |
| zenity(){ | |
| /usr/bin/zenity "$@" 2>/dev/null | |
| } | |
| zenity --info --width 300 --text "Audio device restarted. Click OK to continue." |