Devuan laptop: use external monitor with sound
I used arandr to set up 2-monitor display after plugging in the HDMI display, and saved the config to ~/.screenlayout/2mon.sh. I then added the pulseaudio command to set the default profile to output audio to the hdmi.
xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --mode 1920x1080 --pos 1920x0 --rotate normal pacmd set-card-profile 0 output:hdmi-stereo
References
-
pacmdinteractive terminal
Comments