Skip to content

Instantly share code, notes, and snippets.

@sawaYch
Last active November 17, 2020 08:52
Show Gist options
  • Save sawaYch/fd8a54427460ab7111cba6e4f3ca88ea to your computer and use it in GitHub Desktop.
Save sawaYch/fd8a54427460ab7111cba6e4f3ca88ea to your computer and use it in GitHub Desktop.
Config alsamixer profile for KDE Neon (Phonon)

Description:
When headphone(analog) and HDMI connect to monitor, kde cannot auto switch audio to headphone.
What can we do is use plasmoid to adjust the audio channel manually.
Add the profile to /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf.

sudo vim /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf


[Profile ouput:analog-stereo+output:hdmi-stereo]
description = SawaCustom
output-mappings = analog-stereo hdmi-stereo
input-mappings = analog-stereo

// save
pulseaudio --kill; sleep 1; pulseaudio --start  

Reference:
https://askubuntu.com/questions/756390/kde-5-how-to-easily-switch-between-audio-outputs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment