[mythtv-users] Selecting theme from command line

Josh Burks dotnofoolin at gmail.com
Fri Apr 29 03:38:28 UTC 2005


On 4/28/05, Byron Poland <wpoland at gmail.com> wrote:
> I've set up my notebook to beable to run a second X session on the tv
> out.  My goal was to be able to run Myth on the tv out while
> traveling, and still use my notebook display if I want to do other
> things while watching tv etc.
> 
> I got it all working, and created 2 launchers on my desktop, one will
> lauch myth on the tv out display with the correct geometry, and the
> other will launch it on my local display.
> 
> My local display is 1920x1200, so I'd like it to use the wide
> minimalist theme if I'm running it there, and I'd like use another
> theme if running on the tv out.
> 
> mythfrontend -h doesn't give any options for setting the theme, so I
> was wondering if anyone knew of any undocumented commands.

mysql to the rescue!

All one line:
[mythtv at hydrogen ~]$ mysql -u mythtv -pmythtv mythconverg -e "update
settings set data = 'MythCenter' where value = 'Theme'"

You may need to restart the frontend, or exec this before you even
start it. You might want to throw your hostname into the query as
well.

Josh


More information about the mythtv-users mailing list