How to set Chromium's window size via terminal?
Try with:
chromium-browser --window-size=800,600 https://www.google.com
Also can set the property --window-position=0,0
for example, opens browser in the upper right corner.
Hugolpz
Educational platform Engineer at Center for Research and Interdisciplinarity, Paris. Former PhD candidate in Chinese Teaching and Computer Assisted Language Learning (#CALL), enthusiast wikipedian. I mainly discuss a HTML/CSS/JS for #webapp, #Nodejs, #D3js, #Make, #GIS cartography, #topojson, #wikidata, #openedx. Love to ask short, clean questions on isolated issue with JSfiddle to demo it.
Updated on June 24, 2022Comments
-
Hugolpz almost 2 years
I start a chromium windows via
chromium --new-window http://google.com
How to force it to open with given dimensions, such as width 800px, heigh 600px ?
I did try
chromium-browser --new-window --window-size=300,500
,chromium-browser http://google.com --new-window --app-shell-host-window-size=400x400 --ash-host-window-bounds=100+200-600x300
and variants without success.