How to start Google Chrome with maximized window?
Google Chrome accepts the command-line parameter --start-maximized
, which will force Chrome to start in a maximized state.
Simply modify the shortcut you use to launch Chrome to include this flag, or simply alias chrome
to chrome --start-maximized
. I've tested this in both Chrome and Chromium under Windows and Linux, and it seems to work just fine.
To start Google Chrome in a maximized window, right click the shortcut, select "Properties" from the context menu.
Then, in the window that pops up, under "Run:" select Maximized from the dropdown menu.
Finally, click OK.
Chrome will now start Maximized
Extending the solution said by Yab as follows:
Rename the first instance to something else e.g. wmctrl -r "New Tab - Google Chrome" -T "test"
Now maximize the second instance as:
wmctrl -r "New Tab - Google Chrome" -b add,maximized_vert,maximized_horz
These two commands will maximize the second instance of Google Chrome.
If you want, you can put this in a script to call the second instance.