<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>That solved it thank you.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='color:windowtext'>From:</span></b><span style='color:windowtext'> lubuntu-users-bounces@lists.ubuntu.com [mailto:lubuntu-users-bounces@lists.ubuntu.com] <b>On Behalf Of </b>Israel<br><b>Sent:</b> Tuesday, August 01, 2017 10:06 AM<br><b>To:</b> lubuntu-users@lists.ubuntu.com<br><b>Subject:</b> Re: [lubuntu-users] Audio through HDMI setting?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On 08/01/2017 08:38 AM, Jeff Kurzner wrote:<span style='font-size:12.0pt'><o:p></o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas;background:#F0F7FF'>First time install of lubuntu for a Plex server on ASUS hardware.  System seems to work fine and I get HDMI hi res output from the HDMI connector, but no audio.  Is there some setting I am missing?  </span><o:p></o:p></p><div id=DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><o:p> </o:p></span></p><table class=MsoNormalTable border=1 cellpadding=0 style='border:none;border-top:solid #D3D4DE 1.0pt'><tr><td width=58 style='width:41.25pt;border:none;padding:9.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon" target="_blank"><span style='text-decoration:none'><img border=0 width=46 height=29 id="_x0000_i1025" src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"></span></a><o:p></o:p></span></p></td><td width=473 style='width:352.5pt;border:none;padding:9.0pt .75pt .75pt .75pt'><p class=MsoNormal style='line-height:13.5pt'><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#41424E'>Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link" target="_blank"><span style='color:#4453EA'>www.avast.com</span></a> <o:p></o:p></span></p></td></tr></table></div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'><br><br><o:p></o:p></span></p></blockquote><p>Hi,<o:p></o:p></p><p>I you can enable it through PulseAudio Volume Control as arcesson said.<o:p></o:p></p><p>You can also make a specific set of rules and scripts to do it automatically (more or less).<o:p></o:p></p><p>I have these files, but I do not think I can attach them directly (I learned this from the ever helpful Arch Wiki), so here they are :<o:p></o:p></p><p><b>/usr/bin/hdmi-switch</b><o:p></o:p></p><p><tt><span style='font-size:10.0pt'>#!/bin/bash</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>## TAKEN from ARCH wiki... thanks guys for always being awesome :D</tt><br><tt>#<a href="https://wiki.archlinux.org/index.php/PulseAudio/Examples#HDMI_output_configuration">https://wiki.archlinux.org/index.php/PulseAudio/Examples#HDMI_output_configuration</a></tt><br><tt>USER_NAME=$(w -hs | awk -v vt=tty$(fgconsole) '$0 ~ vt {print $1}')</tt><br><tt>USER_ID=$(id -u "$USER_NAME")</tt><br><tt>HDMI_STATUS=$(</sys/class/drm/card0/*HDMI*/status)</tt><br><br><tt>export PULSE_SERVER="unix:/run/user/"$USER_ID"/pulse/native"</tt><br><br><tt>if [[ $HDMI_STATUS == connected ]]</tt><br><tt>then</tt><br><tt>   sudo -u "$USER_NAME" pactl --server "$PULSE_SERVER" set-card-profile 0 output:hdmi-stereo+input:analog-stereo</tt><br><tt>else</tt><br><tt>   sudo -u "$USER_NAME" pactl --server "$PULSE_SERVER" set-card-profile 0 output:analog-stereo+input:analog-stereo</tt><br><tt>fi</tt></span><o:p></o:p></p><p><o:p> </o:p></p><p>AND<o:p></o:p></p><p><b>/etc/udev/rules.d/99-hdmi_sound.rules</b><o:p></o:p></p><p><tt><span style='font-size:10.0pt'>KERNEL=="card0", SUBSYSTEM=="drm", ACTION=="change", RUN+="/usr/bin/systemctl start hdmi_sound_toggle.service"</span></tt><o:p></o:p></p><p>AND finally:<o:p></o:p></p><p><b>/etc/systemd/system/hdmi_sound_toggle.service</b><o:p></o:p></p><p><tt><span style='font-size:10.0pt'>[Unit]</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>Description=hdmi sound hotplug</tt><br><br><tt>[Service]</tt><br><tt>Type=simple</tt><br><tt>RemainAfterExit=no</tt><br><tt>ExecStart=/usr/bin/hdmi_switch</tt><br><br><tt>[Install]</tt><br><tt>WantedBy=multi-user.target</tt></span><o:p></o:p></p><p><o:p> </o:p></p><pre>-- <o:p></o:p></pre><pre>Regards<o:p></o:p></pre></div></body></html>