Difference between revisions of "Override settings"

From MythTV Official Wiki
Jump to: navigation, search
m
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
To start mythfrontend and override a setting in the database is very useful sometimes.
+
If you need to start mythfrontend (or another Myth program) and temporarily override a setting in the database, simply use the -O command-line argument:
 
+
To achieve this, simply use the command
+
  
 
'''mythfrontend -O $somesetting=value'''
 
'''mythfrontend -O $somesetting=value'''
 +
{{Tip box
 +
|msg=The value of $somesetting can be anything from the [[settings table]] (within reason)}}
 +
 +
Note that command-line overrides are meant for short-term overrides.  You should not normally need to use overrides.  Instead, if you always need a specific value, set that value appropriately in mythtv-setup or mythfrontend settings.
  
 
For example, to start mythfrontend with the qt painter rather than OpenGL, use '''mythfrontend -O ThemePainter=qt'''
 
For example, to start mythfrontend with the qt painter rather than OpenGL, use '''mythfrontend -O ThemePainter=qt'''
  
To start mythfrontend with the blue theme, use '''mythfrontend -O Theme=blue'''
+
To start mythfrontend with the MythCenter theme, use '''mythfrontend -O Theme=MythCenter'''
 
+
Tip:  The value of $somesetting can be anything from the settings table (within reason)
+
  
Also available (as described by '''mythfrontend --help''') is a geometry setting to allow you to resize the mythtv GUI:
+
Also available (as described by '''mythfrontend --help''') is a geometry setting to allow you to resize and position the mythtv GUI: '''mythfrontend --geometry 1280x720'''
  
e.g. '''mythfrontend --geometry 1280x720'''
+
To start mythfrontend at 1920x1080 with the Minimalist-wide theme, use '''mythfrontend --geometry 1920x1080 -O Theme=Minimalist-wide'''
  
To start mythfrontend with the opengl painter, at 1920x1080 with the Minimalist-wide theme, use '''mythfrontend --geometry 1920x1080 -O ThemePainter=opengl -O Theme=Minimalist-wide'''
+
[[Category:MythTV_Software]]

Latest revision as of 20:00, 7 December 2013

If you need to start mythfrontend (or another Myth program) and temporarily override a setting in the database, simply use the -O command-line argument:

mythfrontend -O $somesetting=value

Information.png Tip: The value of $somesetting can be anything from the settings table (within reason)

Note that command-line overrides are meant for short-term overrides. You should not normally need to use overrides. Instead, if you always need a specific value, set that value appropriately in mythtv-setup or mythfrontend settings.

For example, to start mythfrontend with the qt painter rather than OpenGL, use mythfrontend -O ThemePainter=qt

To start mythfrontend with the MythCenter theme, use mythfrontend -O Theme=MythCenter

Also available (as described by mythfrontend --help) is a geometry setting to allow you to resize and position the mythtv GUI: mythfrontend --geometry 1280x720

To start mythfrontend at 1920x1080 with the Minimalist-wide theme, use mythfrontend --geometry 1920x1080 -O Theme=Minimalist-wide