[mythtv-users] How to disable screen blank/screensaver on MythBuntu 10.04?

Brent Meyer brent.meyer at gmail.com
Wed Aug 25 21:33:12 UTC 2010


On Wed, Aug 25, 2010 at 12:35 PM, Gordon McCrae
<gordon.mccrae at googlemail.com> wrote:
>  On 25/08/10 20:14, Greg Oliver wrote:
>>
>> On Wed, Aug 25, 2010 at 1:36 PM, Kevin Ross<kevin at familyross.net>  wrote:
>>>
>>>  On 08/23/2010 05:04 AM, Craig Huff wrote:
>>>>
>>>> My remote front end keeps going off and blanking the screen or
>>>> starting up a screensaver when Mythwelcome or Mythfrontend is running
>>>> and often locks up so it has to be rebooted.
>>>>
>>>> I have tried googling, but... there's either not enough information or
>>>> too much to sift through.  Here's hoping someone here can point me in
>>>> the right direction.
>>>>
>>>> I am running the default xfce desktop, not gnome, kde, ...
>>>>
>>>> I tried just commenting out the xscreensaver invocation in the
>>>> /etc/xfce... path -- can get exact location if needed -- but it still
>>>> went to a blank screen.
>>>>
>>>> I haven't even figured out yet what does the screen blanking.
>>>>
>>>> How do I either train these two functions to stay asleep when
>>>> Mythwelcome and/or Mythfrontend are running _no matter what_ or stop
>>>> them from ever running?
>>>>
>>>> Craig.
>>>
>>> X has built-in monitor power management, but it usually gets disabled by
>>> a
>>> desktop environment power manager program, since they like to control
>>> things
>>> themselves.
>>>
>>> But if you're not running a desktop environment, to control the power
>>> settings with X, man xorg.conf and look for DPMS.  You can add something
>>> like this to your xorg.conf file:
>>>
>>> Section "ServerFlags"
>>>    Option "BlankTime" "0"
>>>    Option "StandbyTime" "0"
>>>    Option "SuspendTime" "0"
>>>    Option "OffTime" "0"
>>> EndSection
>>>
>> Long ago, I remember putting something like:
>>
>> xset dpms off (or something close - man xset, and you can run it from
>> a terminal to test)cc
>>
>> into my ..xinitrc file to force my monitor to stay on..  That was
>> 10years ago though, and flaky (new) dpms was giving me grief -
>> resetting my monitor calibration every time it would kick in..  same
>> rules apply today as far as xset goes though..
>>
>> -Greg
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
> Put the following in your .xinitrc for the user that's running mythfrontend:
>
> xset s off
> xset -dpms
>
> I have the following .xinitrc for the "mythtv" user on my dedicated MythTV
> FEs:
>
> {
> xmodmap .xmodmaprc
> xset s off
> xset -dpms
> mythfrontend
> } > .xinitrc.log 2>&1
>
> Cheers
> Gordon
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I got around this issue by editing the .xscreensaver file in my home
folder. I can't get to the file right now (at work, and my frontend
machine is off), but I believe I just changed the timeout value to a
very large number (max is 12 hours).


More information about the mythtv-users mailing list