--- On Sat, 12/25/10, Ed Greshko <Ed.Greshko@xxxxxxxxxxx> wrote: > From: Ed Greshko <Ed.Greshko@xxxxxxxxxxx> > Subject: Re: how to wake up sleeping monitor using batch script/command > To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx> > Date: Saturday, December 25, 2010, 7:45 PM > On 12/26/2010 11:24 AM, Antonio > Olivares wrote: > > Will report back if I can get it to work, otherwise I > will have to get Ed's solution. > Another FYI.... > > If you run this from a cron job you'll need to add "export > DISPLAY=:0". > > > -- Awesome!!! with export DISPLAY=:0, the screen wakes up & plays the music :) #!/bin/sh export DISPLAY=:0 /usr/bin/xset dpms force on; /usr/bin/xterm -display :0 -bg white \ -e /usr/bin/mplayer --really-quiet -shuffle -playlist ~/.playlist -stop-xscreensaver & PID=$! > /dev/null 2>&1 sleep 1800 kill $PID /usr/bin/xset +dpms Thanks, Ed, JB, & James, could not have done it without your help! Happy Holidays to all; Regards, Antonio -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines