26
3
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)
26
3
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)
2
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.
1This solution is overkill. Please mark as correct the below answer with 20+ points. – Leo Gallucci – 2014-01-17T12:11:28.623
36
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.
man google-chrome
on an out of the box apt-get install shows no option to start maximized. – Michael – 2019-04-07T17:18:30.150
1Sorry but I tried it under Fedora 14 and it doesn't work :O – LanceBaynes – 2011-05-20T04:20:37.460
Did you compile chrome yourself? Perhaps something was left out of the compilation that rendered the command line options missing (though this seems unlikely - I tested under gentoo). If you're using a pre-compiled package, the option should most definitely work. Is any error message returned? – Fopedush – 2011-05-21T04:27:41.120
1This doesn't work on my box. I'm using xubuntu with google's official deb package. When I try it, it doesn't give any error, but is not maximized. (but then again, I wasn't able to get an error with any parameter, even if I just type gibberish.) – Yab – 2011-05-21T05:31:03.853
This works sometimes, but not always. I'm starting to think it is literally impossible to configure Chrome to start in a non-minimized state, as if there is a random decision made internally on startup. – tbone – 2014-03-19T17:01:27.473
7
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
2I forgot to say that I'm using Fedora 14, but yes, thanks:) – LanceBaynes – 2011-04-29T10:08:31.320
1As with other solutions, only works sometimes (on Windows) – tbone – 2014-03-19T17:01:54.690
1
Sometimes the window state fails to save your last setting due to lack of permissions and therefore keeps opening in the non-maximized mode. You can perform the following to change the owner:group back to yourself for the files:
sudo chown youracct:youracct ~/.config/google-chrome/Local\ State
sudo chown youracct:youracct ~/.config/google-chrome/Default/Preferences
I checked, I'm the owner of these two files, but thank you! – LanceBaynes – 2011-05-20T04:21:39.317
0
I have a Vista OS and recently lost the maximized window setting. Found that if you go into chrome settings a browser tab opens with this chrome://settings/ I changed it to this chrome://restart/ maximized problem fixed. I think that it should work the same with a Linux based OS too.
Typing chrome://restart
will cause Chrome to restart immediately. Adding maximized
either immediately after slash or a space will result in an error. Can you suggest precisely what did you suggest? – techraf – 2016-02-28T06:54:58.733
0
In Linux, if you are familiar with scripting, you could use a script to launch google-chrome
, in which you'd invoke a program like wmctrl
or xdotool
(should be in your package manager) to maximize the new window.
1That could be a last chance. – LanceBaynes – 2011-05-20T04:22:27.630
0
By default, Chrome chooses to apply its own window decorations rather than the window manager ones, and accept responsibility for implementing various pieces of logic. It tends to work well enough in Gnome and KDE environments and less well the further you stray from those.
If you right-click in the title-bar area, there's an option to turn on using the system window manager controls. If you do that, Chrome might inter-operate better with your regular window manager and more reliably implement full-screen. Or, it might get worse — it's unfortunately one of those "suck it and see" changes, the success of which varies wildly across both window manager and version of Chrome. I've had it make some things better and some things worse, when I was using xfwm4
, with a later release of Chrome working better with its own window decorations than with the system ones, for my setup.
0
This doesn't answer the question. – user12345 – 2017-09-20T11:21:34.713
0
wmctrl
or --start-maximize
switch will work if you use a windows manager. X session itself is unaware of window's maximization.
In case you want to save some resources using no windows manager, you could employ xdotool:
xdotool search --onlyvisible --class browser windowsize 100% 100%
0
This worked for me.
When maximized, in the upper right hand corner click on the Double squares (between the X and the -). Change the size a bit. Maximize. Voila, Chrome will open maximimized.
It seems that Chrome will only remember the size and position after some sort of change.
Good Luck.
This isn't an appropriate solution. OP's looking for a flag or parameter to set to guarantee it always starts maximized. – DanteTheEgregore – 2013-10-06T14:12:47.277
0
On Xfce 4.10 (Xubuntu 13.10) you have to put the --start-maximized
parameter before the %U
parameter for it to work.
1Your reply is not complete. You are probably extending another reply so please add the important information into you reply. Where should you put --start-maximize
before %U
? which setting of Xfce is it? – pabouk – 2013-10-31T09:57:46.330
-1
I think I may have your solution. I was having the same problem and this is how I fixed it. The problem I had was not with Chrome but with Windows 7. The browser was not opening full due to a windows "padding" setting. (it reminded me of a CSS issue)
Try this... I use a tweaker called "ultimate windows tweaker" found here link for examples and DL
But you can change your padding here manually. Instructions
How ever you change it is up to you.
Now make sure you change the padding to "0"
Once that is done you will need to re-make your apps.
Now Try going to GMAIL(or whatever), then tools, create application shortcut, apply to desktop. When you are done there it is the same as before... properties>RUN>Maximized
Good luck I hope this clears up the issue. -Mike
1Hello michael, this may work on a Windows 7 systems. But this question was for a fedora (linux) system. I checked your links and I see no way how this can be used on linux. – nixda – 2013-01-06T17:22:32.833
@LancelBaynes: What window manager are you using? – Adam Prax – 2011-05-14T07:13:01.933
I'm personally curious if there's any way to start it in Full Screen mode, i.e. with F11). =) – user76871 – 2011-05-15T15:11:56.937
stable version will be with next release : http://www.google.com/support/forum/p/Chrome/thread?tid=6036f09213dcd017&hl=en
– NT. – 2011-05-20T08:06:28.077