I list sources and sinks as follows:
pactl list sources
pactl list sinks
The output I get is:
...
Ports:
analog-input-internal-mic: Internal Microphone (priority: 8900)
analog-input-headphone-mic: Microphone (priority: 8700)
analog-input-headset-mic: Headset Microphone (priority: 8800)
...
Ports:
analog-output-speaker: Speakers (priority: 10000)
analog-output-headphones: Headphones (priority: 9000, available)
How do I change the priorities listed above and have them fixed at what I change them to? Note that I am not looking to set a default source and sink or to delete unwanted sources or sinks, I just want to be able to assign them different priorities.
/usr/share/alsa-card-profile/mixer/paths/
– adamnejm Mar 16 '21 at 14:45/etc/pulse/
and probably those should be modified to override values in /usr/share/ that will be stepped on during upgrades. – user10489 Jul 07 '21 at 18:24pactl list sinks
. The priority of your choice should be higher than the other ports. If needed you need to reduce the priority of the other ports by editing other files in the same directory. However, modifying/etc/pulse/default.pa
is preferred to preserve the settings across upgrades. – amit kumar Jan 07 '22 at 08:02/etc/pulse/default.pa
(preferred to preserve the settings across upgrades) is at https://unix.stackexchange.com/a/182294/11169 – amit kumar Jan 07 '22 at 08:03