How to detect new sound devices using command line in Ubuntu 12.04
I sometimes connect my Ubuntu laptop to my LCD TV via the HDMI port to watch movies. When I plug in the cable the display works right away but the new sound device (the TV’s speakers) is usually not detected unless I log off and re-login.
An easier way to do this is to restart the pulseaudio service to detect the TV’s speakers via command line. To do this just type:
pulseaudio –kill
The pulseaudio …