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: | 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/ |