cubieplayer / Cubian

Debian for Cubieboard
http://cubian.org
270 stars 49 forks source link

Cubian xinit chromium-browser #417

Closed brunoaduarte closed 9 years ago

brunoaduarte commented 9 years ago

I'm using xinit + matchbox-window-manager to run chromium-browser from the console.

The problem is that after some time the screen goes blank like in a standby mode.

I've tried to insert these 3 lines: xset s off # don't activate screensaver xset -dpms # disable DPMS (Energy Star) features. xset s noblank # don't blank the video device

in /etc/X11/xinit/xinitrc

and also added: setterm -blank 0 -powersave off -powerdown 0 to the script

But it didn't worked. Any ideas how to fix that ?

Thanks


SOLUTION

'launchchromium' file

!/bin/sh

xset -dpms xset s off xset s noblank matchbox-window-manager & chromium-browser

xinit ./launchchromium