From c3ef0c9d6ec4466997c67c795f92613a547acde4 Mon Sep 17 00:00:00 2001 From: Jarno Rantanen Date: Fri, 13 Mar 2020 10:08:35 +0200 Subject: [PATCH] Remove problematic window sizing, and open window outside of visible display to remove a white flash during startup. --- home/.xsession | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/.xsession b/home/.xsession index 25d2b49..df4cf26 100755 --- a/home/.xsession +++ b/home/.xsession @@ -33,7 +33,7 @@ find .config/chromium/ -name "Last *" | xargs rm # Note that under matchbox, starting in full-screen without a window size doesn't behave well when you try to exit full screen (see https://unix.stackexchange.com/q/273989) chromium-browser \ --start-fullscreen \ - --window-size=1920,1080 \ + --window-position=9000,9000 \ --disable-infobars \ --check-for-update-interval=1 --simulate-critical-update \ & @@ -42,7 +42,7 @@ chromium-browser \ # Hide Chromium while it's starting/loading the page wid=`xdotool search --sync --onlyvisible --class chromium` xdotool windowunmap $wid -sleep 15 # give the web page time to load +sleep 10 # give the web page time to load xdotool windowmap $wid # Finally, switch process to our window manager