2
0
mirror of https://github.com/siomiz/chrome synced 2024-11-18 21:28:07 +00:00

use xdotool to make the window fill screen

This commit is contained in:
Tomohisa Kusano 2014-12-06 04:52:59 +09:00
parent dee65b230c
commit c1c97b91bf
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ RUN apt-get update \
wget \
x11vnc \
xdg-utils \
xdotool \
xvfb
ADD https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb /chrome.deb

View File

@ -3,5 +3,6 @@ set -e
Xvfb :1 -screen 0 1024x768x24 &
DISPLAY=:1 /opt/google/chrome/chrome --user-data-dir --no-sandbox &
DISPLAY=:1 xdotool search --sync --onlyvisible --class "chrome" windowsize 1024 768
exec "$@"