> > Write a script to grep the output from "xset q" output, and run the same > > command with the appropriate on/off argument. Unfortunately "force on" > > doesn't seem to work for me :-( > > Ok, thanks for that. This almost does the trick... > > if xset q|grep -q "Monitor is On" > then > xset dpms force off > else > xset dpms force on > fi > > The only niggle I have now is that the screen is blank when it comes back on, > I have to press another button to make X appear. Time to go digging for > whatever does that and make it stop...
Maybe you could use xloadimage to load an image which might force X to appear, and then unload it straight away by killing xloadimage? Regards, Phill
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
