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

Adding commands before frontend starts
http://forum.linhes.org/viewtopic.php?f=5&t=8966
Page 1 of 1

Author:  Lem [ Tue Mar 14, 2006 4:05 am ]
Post subject:  Adding commands before frontend starts

I'd like to add a couple of commands to the startup sequence. Once gdm is up and running, but just before firing up the frontend. Namely, I'd like to add the commands to load nvidia-settings and xvattr to turn off the blue edges.

Any ideas?

Author:  Greg Frost [ Tue Mar 14, 2006 4:58 am ]
Post subject: 

Put them in ~mythtv/.fluxbox/apps. Mine looks like this:
Code:
[startup] {xset -dpms s off}
[startup] {nvidia-settings -load-config-only}
[startup] {xvattr -a XV_COLORKEY -v 0}
[startup] {KnoppMyth-run}
[startup] {launch_irx.sh}
[app] (SDL_App)
  [Layer]       {2}
  [Deco]        {NONE}
[end]

Author:  Lem [ Tue Mar 14, 2006 5:19 am ]
Post subject: 

Call me daft, but I couldn't find this file yesterday..

I'll try again tonight though. Thanks!

Author:  cesman [ Wed Mar 15, 2006 12:08 am ]
Post subject: 

Code:
vi ~mythtv/.fluxbox/apps
You may want to make a backup of the file before hand...

Author:  Lem [ Wed Mar 15, 2006 3:00 am ]
Post subject: 

Sorted.. thanks guys. Used nano as it's a little more idiot-friendly than vi :)

Author:  danwolfgang [ Mon May 01, 2006 9:24 am ]
Post subject: 

I need to use setpci to up the latency of the hard drives to eliminate some skipping problems, as detailed here:
http://www.mythtv.org/wiki/index.php/PCI_Latency
That works fine.

But I need to keep it there after a reboot. Using the above method apparently doesn't work because I'm adding it as the mythtv user. How can I add this as root, so it stays there after reboot?

TIA,
Dan

Author:  turpie [ Mon May 01, 2006 8:49 pm ]
Post subject: 

danwolfgang wrote:
How can I add this as root, so it stays there after reboot?


You can put it at the end of /etc./init.d/bootmisc.sh

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