[mythtv-users] Help me disable screen blanking in FC7
David Brodbeck
gull at gull.us
Fri Oct 12 16:35:28 UTC 2007
On Oct 11, 2007, at 6:26 PM, Jason McMillon wrote:
> On 10/10/07, David Brodbeck <gull at gull.us> wrote:
>>
>> On Oct 10, 2007, at 12:47 AM, James Fidell wrote:
>>
>>> Jason McMillon wrote:
>>>
>>>>> Thanks for the suggestion...
>>>>> The following seems to be working for me:
>>>>> /usr/bin/xset s off
>>>>> /usr/bin/xset -dpms
>>>>>
>>>>> I think when I installed xinetd it overwrote my default settings,
>>>>> and
>>>>> for some reason
>>>>> my perform on login script isn't working. I am going to drop the
>>>>> above in my rc.local file and see if works on reboots.
>>>>>
>>>>> Thanks for the help!!
>>>>> Jason
>>>>>
>>>> Well, neither the rc.local or the above recommendation worked. The
>>>> only thing that works is:
>>>> /usr/bin/xset s off
>>>> /usr/bin/xset -dpms
>>>>
>>>> Any ideas how to correct. I am fairly sure it's xinetd doing this.
>>>> My start up script is located in /home/mythtv/.kde/Autostart/ and
>>>> includes the above but does not seem to work...
>>>
>>> rc.local isn't likely to work in this case as it gets executed
>>> outside
>>> the X environment. I *believe* though, that starting up the window
>>> manager (kde/gnome/whatever) turning off the screensaver should
>>> be the
>>> equivalent of "xset s off".
>>
>> Or put the commands in either /etc/X11/xinit/Xsession or /etc/X11/
>> xinit/xinitrc, depending on whether you're using a graphical login or
>> booting in text mode and running 'startx'.
>>
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
> I appended
> /usr/bin/xset s off
> /usr/bin/xset -dpms
>
> to both Xsession and xinitrc without any success.
Just appending them may not work. The way X startup works is the
last program to run is the window manager -- which is *not*
backgrounded, so the xinit script process stops at that point until
the window manager is exited. X exits when the script exits. For
that reason, anything you append to the script *after* the window
manager won't get run until you exit! You want to find where in the
script the window manager is being started, and put the xset commands
before it.
> Any other ideas?
What window manager are you using? Some of them have a mechanism for
specifying X clients to run on startup. You could also add those
commands to whatever script you're using to launch mythfrontend, or
write a wrapper script that executes them and call that instead of
running mythfrontend directly.
More information about the mythtv-users
mailing list