So i have tried to use pavucontrol, where i can see "Line Out (plugged in)" and "Headphones (plugged in)". My problem is that the sound is output to the headphones when they are plugged and when i try to switch output to the line out on the speakers - there is no sound at all. BUT(!) if i unplug the headphones then the sound in the speakers appears. How can i fix it? By the way, a coule of days ago i tried Linux Mint (20) and there were no problems with switching audio output.
p.s. I've read several similar topics, but in them the cases are slightly different