[mythtv-users] Help me disable screen blanking in FC7

Jonathan Rogers jonner at teegra.net
Thu Oct 18 20:18:49 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Brodbeck wrote:
> 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.
> 

Also, it's not guaranteed that any particular script is executed, since
that's all configurable. I don't know if any of the traditional X11
startup scripts are running on my Ubuntu system, but I used the Ubuntu
MythTV guide to add a new gdm session in /usr/share/xsessions which runs
a script I wrote to start mythfrontend. I think that this path is
supposed to hold session definitions for more than just gdm, so kdm
might use them as well, but I haven't tried it.

Unfortunately, there are so many different ways to start an X session
and so many different scripts and executables involved that it can be
difficult to determine exactly what's running when. One method for
testing is to put something like "xmessage test!" in a script where you
want to run something like "xset s" and watch for a small dialog box
with "test!" in it to appear. If it shows up right at the beginning of
the X session, that's probably a good place to put xset commands. Also,
if there are any commands after xmessage, they won't run until you click
"okay".

Jonathan Rogers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHF7+pMs6f82yVS5wRAkAcAKCNr02+Cf941uU75qZLQX6G8DTQzACeMF4d
CbP/XK1Q3J/u/xU2V3Yc8yQ=
=feGS
-----END PGP SIGNATURE-----


More information about the mythtv-users mailing list