# Temporary Workaround for others who face this
Get the list of available sinks:
```
$ pactl list sinks
Sink #1
State: IDLE
Name:
alsa_output.usb-Audio_Technica_Corp_ATR2100x-USB_Microphone-00.analog-stereo
Description: ATR2100x-USB Microphone Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 26
Mute: no
Volume: front-left: 5282 / 8% / -65.62 dB, front-right: 49145 /
75% / -7.50 dB
balance 0.89
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source:
alsa_output.usb-Audio_Technica_Corp_ATR2100x-USB_Microphone-00.analog-stereo.monitor
Latency: 34631 usec, configured 40000 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "USB Audio"
alsa.id = "USB Audio"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "3"
alsa.card_name = "ATR2100x-USB Microphone"
alsa.long_card_name = "Audio Technica Corp ATR2100x-USB
Microphone at usb-0000:08:00.3-3.3, full speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:08:00.3-usb-0:3.3:1.0"
sysfs.path =
"/devices/pci0000:00/0000:00:08.1/0000:08:00.3/usb3/3-3/3-3.3/3-3.3:1.0/sound/card3"
udev.id = "usb-Audio_Technica_Corp_ATR2100x-USB_Microphone-00"
device.bus = "usb"
device.vendor.id = "0909"
device.vendor.name = "Audio-Technica Corp."
device.product.id = "004d"
device.product.name = "ATR2100x-USB Microphone"
device.serial = "Audio_Technica_Corp_ATR2100x-USB_Microphone"
device.form_factor = "microphone"
device.string = "front:3"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "ATR2100x-USB Microphone Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-input-microphone-usb"
Ports:
analog-output-headphones: Headphones (priority: 9900)
Active Port: analog-output-headphones
Formats:
pcm
Sink #2
State: SUSPENDED
Name: alsa_output.pci-0000_08_00.4.analog-stereo
Description: Starship/Matisse HD Audio Controller Analog Stereo
Driver: module-alsa-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,front-right
Owner Module: 27
Mute: no
Volume: front-left: 19660 / 30% / -31.37 dB, front-right: 19660 /
30% / -31.37 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_08_00.4.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1220 Analog"
alsa.id = "ALC1220 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "2"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xfc800000 irq 73"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:08:00.4"
sysfs.path =
"/devices/pci0000:00/0000:00:08.1/0000:08:00.4/sound/card2"
device.bus = "pci"
device.vendor.id = "1022"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "1487"
device.product.name = "Starship/Matisse HD Audio Controller"
device.string = "front:2"
device.buffering.buffer_size = "17664"
device.buffering.fragment_size = "2944"
device.access_mode = "mmap"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Starship/Matisse HD Audio Controller
Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
Ports:
analog-output-lineout: Line Out (priority: 9000, available)
analog-output-headphones: Headphones (priority: 9900, not
available)
Active Port: analog-output-lineout
Formats:
pcm
```
set your prefered sink as the default one (use the "name" field from the
previous output):
```
$ pactl set-default-sink "alsa_output.pci-0000_08_00.4.analog-stereo"
```
it should automatically switch in the ubuntu settings as well.
You can set this as a startup script in "Startup applications settings".
# Note on list of sinks
For some reason the `pactl` listing command shows two sinks one of which has
two "ports".
The port does not show up in the `set-default-sink` command which effectively
gives me only two options. But in the Ubuntu settings I see 4 output devices.
No idea how those are computed - but it's kinda confusing.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1924852
Title:
Selected output device in Sound settings is not persisted across
restarts
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1924852/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs