Score:1

Audio output doesn't switch when headphones connect or disconnect

sa flag
con

Sound PreferencesI am using Ubuntu 22.04.

When I log in to Ubuntu, the audio output is set to whatever is in when I log in, and will not change whether or not I put in the headphones.

If I login with the headphones in, and pull the headphones out, there is no switch to speakers. Similarly, if I login with the headphones out, plugging in the headphones does nothing.

I can switch the audio output in sound preferences, but I would like the change to occur automatically.

A solution presented here Sound output doesn't change automatically after connecting to Bluetooth headset doesn't work.

How can I get the audio output to automatically switch when headphones are pulled out or in?

Score:-1
sa flag
con

I am 99% sure that the solution is to

sudo apt remove gnome-audio

but I also removed

sudo apt remove callaudiod

anyway, by doing these two commands (likely removing gnome-audio fixed this)

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.