ubuntu refresh sound devices code example Example: ubuntu restart sound pulseaudio -k && sudo alsa force-reload