[nzlug] Blank screen wakeup (remotely)
Hadley Rich
hads at nice.net.nz
Thu Dec 6 22:42:27 NZDT 2007
On Thu, 06 Dec 2007 19:52:40 Raimund Eimann wrote:
> I've got a Linux box without keyboard or mouse connected to my TV to play
> movies. The movies are started remotely.
>
> When there has been no activity on the box, first the screen saver starts,
> and after a longer time the screen becomes black. If keyboard or mouse were
> connected, the blank screen would disappear immediately on a mouse movement
> or pressed key.
>
> If the screen is blank and I start a movie remotely, the blank screen
> stays, although the movie starts (judging from the sound).
>
> So far, I've been fixed this problem by switching virtual consoles with
> chvt:
>
> ... ; sudo chvt 1 ; sleep 1 ; sudo chvt 7 ; ...
>
> Is there a more elegant way (like echo 1 >> /proc/<somefile>, or some
> command)?
This should work;
DISPLAY=:0 xset dpms force on
hads
--
http://nicegear.co.nz
New Zealand's VoIP Supplier
More information about the NZLUG
mailing list