Selected output device in Sound settings is not persisted across restarts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-control-center (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
pulseaudio (Ubuntu) |
Incomplete
|
Low
|
Unassigned |
Bug Description
# Introduction
My computer has multiple audio devices, so I had to select the correct one in the "Sound" section of "Settings". This worked fine, except that whenever I restart the computer this setting resets to the original one. Effectively I have to visit the sound settings on each system startup in order to hear anything.
# How to reproduce
1. have system with multiple audio outputs
2. open sound settings
3. select non-default output device
4. restart computer
5. open sound settings
# Expected result
Selected audio device is the same as the one selected right before restart.
# Actual result
The active output device is the original default one (i.e. not the one that we selected).
# System information
$ lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
$ apt-cache policy gnome-control-
gnome-control-
Installed: 1:3.36.5-0ubuntu1
Candidate: 1:3.36.5-0ubuntu1
Version table:
*** 1:3.36.5-0ubuntu1 500
500 http://
100 /var/lib/
1:
500 http://
tags: | added: focal |
It seems that whenever you connect a new device it is set as the currently active one.
I suspect the device selected as active after the restart is simply the last one to load.
I just tried this with 3 devices:
1. at first have device A and B connected to the computer and have B selected as active
2. connect new device C
3. I can see C becoming automatically the active device
4. disconnect device C from computer
5. A automatically becomes the active device
all of the above was monitored by having the "Sound" panel of gnome-control- center opened and watching the "Output" > "Output Device" Combo-box changing.