LinHES Forums
http://forums.linhes.org/

Manually Edit Settings....
http://forums.linhes.org/viewtopic.php?f=11&t=597
Page 1 of 1

Author:  jdubya [ Tue Jan 27, 2004 5:52 pm ]
Post subject:  Manually Edit Settings....

I incorrectly put in the width for the height and vice versa so now I can't see what I'm doing in order set it back. Is there a way I can go in and edit the numbers in the database? Or wherever the configuations are held?

Author:  zardoz [ Wed Jan 28, 2004 9:20 am ]
Post subject: 

if you talk about the GUI width & height, it is stored in the sql database.
you can watch it by using :

mysql mythconverg -e 'select * from settings;' | grep Gui

output should look like this :

GuiWidth 664 mythtv
GuiHeight 544 mythtv
GuiOffsetX 40 mythtv
GuiOffsetY 8 mythtv

setting all values to zero should solve your problem.
mysql mythconverg -e "update settings set data=0 where value='GuiWidth';"
mysql mythconverg -e "update settings set data=0 where value='GuiHeight';"


hth

z

Author:  davem [ Wed Jan 28, 2004 10:34 am ]
Post subject: 

If running that as mythtv user, gotta add the -p to it and supply the password in mysql.txt when prompted.

mysql mythconverg -e -p "update settings set data=0 where value='GuiWidth';"

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/