Ubuntu – Is it possible to switch between headphones and speakers

headphonessound

Is it possible to switch between headphones and speakers by software control? I'm disabled, and plugging and unplugging my headphones is rather difficult for me. I'd rather just press a button and find sound output switched to another output device, is this possible?

Best Answer

If they are on two different interfaces, this should work. Then you can go into the sound settings and select your output hardware.

In case they are the same interface, like plugging in the headphones disables the speakers, this will probably not work. You could buy something like this cinch switch then, though. Or you buy a little USB sound card in order to have two interfaces to use solution 1.