how to wake up sleeping monitor using batch script/command

Suvayu Ali fatkasuvayu+linux at gmail.com
Sun Dec 26 10:36:14 UTC 2010


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 
playing audio without an xterm. You can replace all the xterm stuff by just,

/usr/bin/mplayer --really-quiet -shuffle -playlist ~/.playlist 
-stop-xscreensaver

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list