Thursday, April 8, 2021

Switching the audio from HDMI to headphones

One of the things I do too frequently is to switch from my headphone output to the hdmi output. It's too hard to use the control panel, I want a keystroke to do it: 

After wrestling with pactl awhile I got it working.

 

If you run "pactl list cards" It will show you a list of profiles:

 "pactl set-card-profile 0 output:hdmi-stereo" 

"pactl set-card-profile 0 output:analog-stereo" 

would switch between the different outputs, so just add some Keyboard Shortcuts in the Settings.

No comments:

Post a Comment