slitaz-tools rev 989
tazbox video: disable screensaver
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 28 14:02:15 2016 +0200 (2016-05-28) |
parents | 587e4c95f901 |
children | 16d7770b4afc |
files | tazbox/tazbox |
line diff
1.1 --- a/tazbox/tazbox Sat May 28 13:05:07 2016 +0200 1.2 +++ b/tazbox/tazbox Sat May 28 14:02:15 2016 +0200 1.3 @@ -625,8 +625,9 @@ 1.4 tazwebargs="--notoolbar" 1.5 while true ; do 1.6 case "$1" in 1.7 - --fullscreen) tazwebargs="$tazwebargs --kiosk" ;; 1.8 - --loop) loop="loop" ;; 1.9 + --fullscreen) tazwebargs="$tazwebargs --kiosk" 1.10 + dpmsoff=yes ;; 1.11 + --loop) loop="loop" ;; 1.12 *) break 1.13 esac 1.14 shift 1.15 @@ -673,7 +674,7 @@ 1.16 Retry with <a href="http://127.0.0.1:82/user/pkgs.cgi?info=vlc">vlc</a>, 1.17 <a href="http://127.0.0.1:82/user/pkgs.cgi?info=gnome-mplayer">mplayer</a>, 1.18 <a href="http://127.0.0.1:82/user/pkgs.cgi?info=mplayer">mplayer</a>, 1.19 -<a href="http://127.0.0.1:82/user/pkgs.cgi?info=gxine">gxine</a> or 1.20 +<a href="http://127.0.0.1:82/user/pkgs.cgi?info=gxine">gxine</a>, 1.21 <a href="http://127.0.0.1:82/user/pkgs.cgi?info=xine-ui">xine</a> or 1.22 <a href="http://127.0.0.1:82/user/pkgs.cgi?info=ffplay">ffplay</a> 1.23 </video> 1.24 @@ -681,7 +682,9 @@ 1.25 </html> 1.26 EOT 1.27 1.28 + [ -n "dmpsoff" ] && xset -dpms 1.29 tazweb $tazwebargs file://$tmp || browser file://$tmp 1.30 + [ -n "dmpsoff" ] && xset +dpms 1.31 rm -f $tmp 1.32 } 1.33