Google-chrome – How to start Google Chrome with maximized window

fedora-14google-chrome

If I have already started Google Chrome, then start it again, the window is not maximized; I have to click to maximize it.

Are there any hidden parameters to set Google Chrome to always start in a maximized window? (not full screen – F11)

Best Answer

Extending the solution said by Yab as follows:

  1. Rename the first instance to something else e.g. wmctrl -r "New Tab - Google Chrome" -T "test"

  2. 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.