<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 9, 2023 at 9:47 AM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@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"><br>
On 8/9/23 09:24, James Abernathy wrote:<br>
> Has anyone come up with a shell script to launch mythfrontend and <br>
> switch between 2 different backends; both on the same Mythtv version.<br>
><br>
> Jim A<br>
><br>
Hi Jim<br>
<br>
The deb-light packaging comes with a set of utilities that let you do <br>
this and much more. You can install multiple versions of MythTV in <br>
different directories and switch between versions as needed.<br>
<br>
<a href="https://github.com/MythTV/packaging/blob/master/deb-light/Readme.rst#developing-and-testing" rel="noreferrer" target="_blank">https://github.com/MythTV/packaging/blob/master/deb-light/Readme.rst#developing-and-testing</a><br>
<br>
You can set up two shortnames for the same version and have them point <br>
to different backend servers.<br>
<br>
Peter<br></blockquote><div><br></div><div>I'm installing via the ppa so not sure these would work for me??</div><div><br></div><div>What I ended up with turned out to be simple. </div><div><br></div><div>I created 2 scripts: mythtv-kubuntu.sh and mythtv-debian.sh. These just move the config.xml files around. Then I create KDE menu items for each and put them in my favorites.</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"> cat mythtv-kubuntu.sh </span><br>#!/bin/bash
<br>cp /home/jim/.mythtv/config.xml.kubuntu /home/jim/.mythtv/config.xml
<br>mythfrontend --platform xcb --noupnp -O libCECEnabled=0<br>
<br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">cat mythtv-debian.sh </span><br>#!/bin/bash
<br>cp /home/jim/.mythtv/config.xml.debian /home/jim/.mythtv/config.xml
<br>mythfrontend --platform xcb --noupnp -O libCECEnabled=0<br>
<br></span></div><div><font face="arial, sans-serif">FYI the --platform option is needed because the TV is UHD 4K and the PC is running Wayland.</font></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Jim A</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><br></div></div></div>