When I connect the headphones, I have to change the output port from the audio mixer, and do the reverse process by disconnecting them.
Could you help me, to make this happen automatically when you connect or disconnect the headphones, or make a shortcut so that it changes without having to do the whole process?
PD: I am using Ubuntu Studio 20.04 (focal fossa) with XFCE desktop environment