Re: how to wake up sleeping monitor using batch script/command

2010-12-26 Thread Suvayu Ali
On Sunday 26 December 2010 05:11 AM, Antonio Olivares wrote: > Yes, that was not the problem:(, the problem was for the monitor to wake up > and play the music (monitor with built in speakers); still I like to have > xterm to change songs, or o q(quit) faster:) > Ah ok! Its a matter of convenie

Re: how to wake up sleeping monitor using batch script/command

2010-12-26 Thread Antonio Olivares
--- On Sun, 12/26/10, Suvayu Ali wrote: > From: Suvayu Ali > Subject: Re: how to wake up sleeping monitor using batch script/command > To: users@lists.fedoraproject.org > Date: Sunday, December 26, 2010, 2:36 AM > On Saturday 25 December 2010 09:03 > PM, Antonio Olivares w

Re: how to wake up sleeping monitor using batch script/command

2010-12-26 Thread Ed Greshko
On 12/26/2010 06:36 PM, Suvayu Ali wrote: > This is rather strange and unnecessary. mplayer is perfectly capable of > playing audio without an xterm. You can replace all the xterm stuff by just, Go back and read the OP's email. His speakers are built in to his flat panel display. What is happen

Re: how to wake up sleeping monitor using batch script/command

2010-12-26 Thread Suvayu Ali
On Saturday 25 December 2010 09:03 PM, Antonio Olivares wrote: > /usr/bin/xterm -display :0 -bg white \ > -e /usr/bin/mplayer --really-quiet -shuffle -playlist ~/.playlist > -stop-xscreensaver& PID=$!> /dev/null 2>&1 This is rather strange and unnecessary. mplayer is perfectly capable of playi

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Antonio Olivares
--- On Sat, 12/25/10, Ed Greshko wrote: > From: Ed Greshko > Subject: Re: how to wake up sleeping monitor using batch script/command > To: "Community support for Fedora users" > Date: Saturday, December 25, 2010, 7:45 PM > On 12/26/2010 11:24 AM, Antonio > Oli

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Ed Greshko
On 12/26/2010 12:06 PM, Antonio Olivares wrote: > Will try to put into script. Do I put it before xset dpms force on; command > or after? in case it is important. needs to go before all other display related commands as it sets the environment variable needed by all the commands related to the

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Antonio Olivares
--- On Sat, 12/25/10, Ed Greshko wrote: > From: Ed Greshko > Subject: Re: how to wake up sleeping monitor using batch script/command > To: "Community support for Fedora users" > Date: Saturday, December 25, 2010, 7:45 PM > On 12/26/2010 11:24 AM, Antonio > Oli

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Ed Greshko
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". -- QOTD: "She's about as smart as bait." 葛斯克 愛德華 / 台北市八德路四段 signat

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread James McKenzie
On 12/25/10 8:24 PM, Antonio Olivares wrote: > > --- On Sat, 12/25/10, Ed Greshko wrote: > >> From: Ed Greshko >> Subject: Re: how to wake up sleeping monitor using batch script/command >> To: "Community support for Fedora users" >> Date: Saturday, Dec

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Ed Greshko
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. I did finally fire up my F14 system and verified that xdotool is available with F14. -- The truth is what is; what should be is a dirty lie. -- Lenny Bruce 葛斯

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread James McKenzie
On 12/25/10 7:35 PM, JB wrote: > James McKenzie earthlink.net> writes: > >> ... >> You know I say "Doc it hurts when I do this." >> My doctor says "Don't do that." >> >> It looks like the redirects are causing the command to not work >> properly, so don't use them. >> >> James McKenzie >> > Now t

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Antonio Olivares
--- On Sat, 12/25/10, Ed Greshko wrote: > From: Ed Greshko > Subject: Re: how to wake up sleeping monitor using batch script/command > To: "Community support for Fedora users" > Date: Saturday, December 25, 2010, 6:05 PM > On 12/26/2010 10:00 AM, JB wrote: > >

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread JB
James McKenzie earthlink.net> writes: > ... > You know I say "Doc it hurts when I do this." > My doctor says "Don't do that." > > It looks like the redirects are causing the command to not work > properly, so don't use them. > > James McKenzie > Now the hard part may be to send Antonio to t

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Ed Greshko
On 12/26/2010 10:12 AM, JB wrote: > There is a possibility that BIOS / monitor / APM settings make a difference. Which would not be a problem with xdotool and which is why I feel that would be the preferred "universal" solution. -- The only certainty is that nothing is certain. -- Pliny the Elde

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread JB
Ed Greshko greshko.com> writes: > >>> > Neither of these incantations will turn my screen on > > xset dpms force off ; sleep 10 ; xdotool mousemove_relative 1 1 > > works fine... > There is a possibility that BIOS / monitor / APM settings make a difference. JB -- users mailing list u

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread James McKenzie
On 12/25/10 7:00 PM, JB wrote: > Antonio Olivares yahoo.com> writes: > >> ... >> I tried adding a command to wake up the monitor like >> 48 04 * * 1-5 sleep 2; xset dpms force on> /dev/null 2&>1 >> ... > Some observations when done on a command line. > - the screen does not come up when >$ x

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Ed Greshko
On 12/26/2010 10:00 AM, JB wrote: > Some observations when done on a command line. > - the screen does not come up when > $ xset dpms force off ; sleep 10 ; xset dpms force on > /dev/null 2&>1 > - the screen DOES come up after 10s when > $ xset dpms force off ; sleep 10 ; xset dpms force on N

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread JB
Antonio Olivares yahoo.com> writes: > ... > I tried adding a command to wake up the monitor like > 48 04 * * 1-5 sleep 2; xset dpms force on > /dev/null 2&>1 > ... Some observations when done on a command line. - the screen does not come up when $ xset dpms force off ; sleep 10 ; xset dpms fo

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread JB
Ed Greshko greshko.com> writes: > ... > xset dpms force off ; sleep 20 ; xrandr --output ... --auto > > fails to turn on my screen. When you test it in your environment, it works? > On my notebook it works, but it takes 1 min plus. JB -- users mailing list users@lists.fedoraproject.org

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Antonio Olivares
--- On Sat, 12/25/10, Ed Greshko wrote: > From: Ed Greshko > Subject: Re: how to wake up sleeping monitor using batch script/command > To: users@lists.fedoraproject.org > Date: Saturday, December 25, 2010, 4:34 PM > On 12/26/2010 08:24 AM, JB wrote: > > > &

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Ed Greshko
On 12/26/2010 08:24 AM, JB wrote: > > Would that do the trick ? > > man xrandr > Per-output options > > xrandr --output ... --auto > FWIW xset dpms force off ; sleep 20 ; xrandr --output ... --auto fails to turn on my screen. When you test it in your environment, it works? -- We are cur

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread JB
Antonio Olivares yahoo.com> writes: > ... Would that do the trick ? man xrandr Per-output options xrandr --output ... --auto JB -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelin

Re: how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Ed Greshko
On 12/26/2010 06:37 AM, Antonio Olivares wrote: > I have a Flat Panel Monitor with built in speakers. If the monitor is on(not > sleeping), the speakers work. When the Monitor goes to sleep, the speakers > no longer work :(, I have a cron job that plays music in the morning, but > since the mo

how to wake up sleeping monitor using batch script/command

2010-12-25 Thread Antonio Olivares
Dear folks, I have a Flat Panel Monitor with built in speakers. If the monitor is on(not sleeping), the speakers work. When the Monitor goes to sleep, the speakers no longer work :(, I have a cron job that plays music in the morning, but since the monitor is sleeping the music does not play :