#!/bin/bash #openbox-session & # Keep screen on xset -dpms # Disable DPMS (Energy Star) features xset s off # Disable screensaver xset s noblank # Don't blank video device # Rotate display #xrandr -o left #xset s 0 0 #xset -dpms #xset dpms force off while true do killall chrome #killall chromium-browser rm -rf ~/.{config,cache}/chromium/ #chromium-browser -test-type --ignore-certificate-errors --window-size=1366,768 --start-maximized --no-first-run --incognito http://www.google.cz/ & chromium-browser --disable-features=Translate -test-type --ignore-certificate-errors --window-size=1366,768 --no-first-run --incognito http://www.google.cz/ & #chromium-browser -test-type --ignore-certificate-errors --start-fullscreen --no-first-run --incognito http://www.google.cz/ & #chromium-browser -test-type --ignore-certificate-errors --start-fullscreen --no-first-run --incognito --allow-file-access-from-files http://localhost/ & sleep 1 while true do pgrep chrome #pgrep chromium-browse #if [ "$?" -eq "1" ] if [ "$?" -eq "1" ] then echo "Chrom nebezi" #chromium-browser -test-type --ignore-certificate-errors --start-fullscreen --no-first-run --incognito --allow-file-access-from-files http://localhost/ & chromium-browser --disable-features=Translate -test-type --ignore-certificate-errors --window-size=1366,768 --no-first-run --incognito http://www.google.cz/ & fi sleep 1 done exit 0 done