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

Getting playback size to match GUI size
http://forum.linhes.org/viewtopic.php?f=17&t=12824
Page 1 of 1

Author:  Caysho [ Sun Dec 03, 2006 12:19 am ]
Post subject:  Getting playback size to match GUI size

My menu looks like this:
Image

But my playback looks like this:
Image

That has 5% horizontal underscan in order to preserve the aspect ratio. Vertical overscan is limited to the window shown (ie it will stretch vertically but is cut off).

The following items made no difference:
Separate video modes for GUI and TV playback
Use GUI size for TV playback.

I can use nvidia-settings to change it, but I don't know why the TV playback is limited but the GUI isn't. Also, I'm not yet clear on how to have nvidia-settings do it's thing at each bootup, but for the moment, that's a secondary concern.

Is this a modelines thing ? the TV is the only output device, it's automatically selected by the video card (ASUS FX5700).

Author:  tjc [ Sun Dec 03, 2006 1:48 pm ]
Post subject: 

To get your nvidia-settings run at startup you need to add an entry to the /home/mythtv/.fluxbox/apps file. Mine looks like this:
Code:
root@black2:/usr/src# cat /home/mythtv/.fluxbox/apps
[startup] {xset -dpms s off}
[startup] {xvattr -a XV_COLORKEY -v 0}
[startup] {nvidia-settings --load-config-only}
[startup] {KnoppMyth-run}
[startup] {launch_irx.sh}
[app] (SDL_App)
  [Layer]       {2}
  [Deco]        {NONE}
[end]

Author:  brianwc [ Fri Dec 22, 2006 9:52 pm ]
Post subject:  Wow. Didn't know about this file.

Hi,

Can this file be used to run commands that normally require one to be root?

For instance, could I add lines that say:

/etc/init.d/wlan restart
iwconfig wlan0 essid ROUTERNAME
dhclient wlan0

because the driver for my usb wireless device never seems to load properly on boot, but those three steps done AFTER boot always solve the problem. I've been trying to automate that process on and off for over a year now.

Author:  tjc [ Fri Dec 22, 2006 10:08 pm ]
Post subject:  Re: Wow. Didn't know about this file.

brianwc wrote:
Can this file be used to run commands that normally require one to be root?

No.

Author:  slowtolearn [ Sat Dec 23, 2006 9:07 am ]
Post subject: 

brianwc,

Have you placed those commands in a file within the /etc/rc5.d directory called, let's say S98wlan, and made that file executable? That would execute the commands at the very end of a reboot, before the gui appears.

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