run.sh 550 Bytes
Newer Older
dronus's avatar
dronus committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

cd `dirname "$0"`

python -m SimpleHTTPServer &

# hide mousepointer
export DISPLAY=:0
sleep 5
#xrandr  --output HDMI-0 --right-of DP-0 --rotate left
#sleep 5

# disable screen saver
xset s off
xset -dpms 


chromium-browser --disable-infobars --incognito --use-fake-ui-for-media-stream --user-data-dir=chromium_tmp --disable-gpu-sandbox http://127.0.0.1:8000/index.html &
sleep 5
xdotool getactivewindow windowmove 0 -100 windowsize 2390 1566
xdotool getactivewindow windowmove 0 -100 windowsize 2390 1566
xdotool mousemove 1920 1080

fg