<div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 28, 2018 at 9:06 PM Allen Edwards <<a href="mailto:allen.p.edwards@gmail.com" target="_blank">allen.p.edwards@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi,  <div><br></div><div>I have gotten pretty far with this but am now stuck.  I added this to default/mainmenu.xml </div><div><br></div><div><div>   <button></div><div>      <type>TV_WATCH_TV</type></div><div>      <text>Google Chrome</text></div><div>      <description>Launch Chrome</description></div><div>      <action>EXEC DISPLAY=":0.0" chromium-browser --fullscreen</action></div><div>   </button></div></div><div><br></div><div>But it launches on the terminal display and not on the TV.  The thing that has me stuck is that in nvidia setup I only have display 0 and it is 0.0 and it list both the terminal and the TV under that single entry.  I checked the TV as the main display.</div><div><br></div><div>I opened a terminal on both the terminal display and the TV and issued this command</div><div><br></div><div>printenv | grep DISPLAY and sure enough, they both show DISPLAY=":0.0"</div><div><br></div><div>Myth starts on the TV but there were no clews in the autostart command.</div><div><br></div><div>I guess what is happening is that both displays look like a single display where the TV has an offset equal to the width of the terminal display.  I can drag Chrome over to the TV and make it full screen, which is what I would like to happen automatically. But Myth acts as expected, just Chrome does not.</div><div><br></div><div>So how do I distinguish between these physical displays so that Chrome will open on the main display?</div><div><br></div><div>Allen</div></div></div></blockquote><div><br></div><div>Nevermind.  Seems that Chromium remembers where it was and how large it is so upon relaunch, it was still full screen on the TV.  Maybe the post will help someone else looking to add Chrome to a Mythtv menu.  For now I am OK unless it doesn't come back after a reboot but in that case, I will just have to move it to reset it, not the worst thing.</div><div><br></div><div>That said, I am pretty sure I could break the two displays into separate logical display if I edited the xorg.conf file.  Just didn't want to break anything.</div><div><br></div><div>For reference, here is what xorg.conf has for the screen. Note that both the VGA and HDMI are part of 0:0.  Anyway, no harm no foul.</div><div><div><br></div><div>Section "Screen"</div><div>    Identifier     "Screen0"</div><div>    Device         "Device0"</div><div>    Monitor        "Monitor0"</div><div>    DefaultDepth    24</div><div>    Option         "Stereo" "0"</div><div>    Option         "nvidiaXineramaInfoOrder" "DFP-1"</div><div>    Option         "metamodes" "VGA-0: nvidia-auto-select +0+0, HDMI-0: 1280x720 +1280+0"</div><div>    Option         "SLI" "Off"</div><div>    Option         "MultiGPU" "Off"</div><div>    Option         "BaseMosaic" "off"</div><div>    SubSection     "Display"</div><div>        Depth       24</div><div>    EndSubSection</div><div>EndSection</div></div><div><br></div><div>Allen</div></div></div></div>