Advertisement
Guest User

Untitled

a guest
Nov 27th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. christoph@christoph-laptop-16-04-2:~$ # HDMI isn't connected and sound comes out of my laptop's speakers.
  2. christoph@christoph-laptop-16-04-2:~$ cat /sys/class/drm/card0-HDMI-A-1/status
  3. disconnected
  4. christoph@christoph-laptop-16-04-2:~$ export PULSE_RUNTIME_PATH="/run/user/1000/pulse/";
  5. christoph@christoph-laptop-16-04-2:~$ sudo -u christoph -E pacmd set-card-profile 1 output:analog-stereo;
  6. christoph@christoph-laptop-16-04-2:~$ # I connected HDMI, sound still plays through my laptop's speakers.
  7. christoph@christoph-laptop-16-04-2:~$ sudo -u christoph -E pacmd set-card-profile 1 output:analog-stereo;
  8. christoph@christoph-laptop-16-04-2:~$ # Still playing through my laptop's speakers.
  9. christoph@christoph-laptop-16-04-2:~$ # I now changed the graphical sound settings to HDMI. Sound is played via the external monitor's speakers.
  10. christoph@christoph-laptop-16-04-2:~$ sudo -u christoph -E pacmd set-card-profile 0 output:hdmi-stereo;
  11. christoph@christoph-laptop-16-04-2:~$ # Sound is still being played via the external monitor's speakers.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement