Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Chromium browser by default start with an unmaximized window in my Ubuntu system and I've to manually do maximize.

How can I open chromium browser maximized by default? Also, I've locked the launcher to the side panel.

share|improve this question

I think you need to modify your .desktop file for Chromium, wherever it is located. It could be in ~/.local/share/applications or in /usr/share/applications. The former location is better from the point of view of ease of editing because no sudo is needed, and the .desktop file here isn't over-written with each update.

I use Chrome and not Chromium so you need to find the appropriately named .desktop file for Chromium in either of the two locations I mentioned.

To edit the .desktop file when you find it, don't double-click on it. Instead, right-click and choose the editor you prefer. As I mentioned, you may need to use sudo or gksudo depending on where your .desktop file is. (I prefer the terminal route for minor edits in which case I would use sudo nano google-chrome.desktop or just nano google-chrome.desktop, whichever is appropriate.)

Anyway, look for the line that begins with Exec= and change the contents to look like this:

Exec=/opt/google/chrome/google-chrome --start-maximized %U

keeping in mind the path that Chromium is installed in may differ and the actual name will be different, possibly chromium-browser.

In short, adding --start-maximized to the command should do the trick for this particular software.

share|improve this answer
Adding --start-maximized didn't work. The output was unpredictable as before as chromium opens in maximized or non-maximized state in random. Instead after restarting my system with --start-maximized switch on, chromium gives an profile could not be opened error. Also after removing the switch and restarting the error doesn't occur. – TheKojuEffect Apr 21 '13 at 2:39
I've been using that switch for quite a while. Sorry it isn't of help to you. – user25656 Apr 21 '13 at 3:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.