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

I want to tell compiz, metacity, the gnome-terminal or whoever is in charge to open the terminal window maximized by default.

How can I do that?

share|improve this question
up vote 25 down vote accepted

If you want gnome-terminal to open fullscreen when you open it with Gnome Do or the Applications menu, put the following into a file named gnome-terminal.desktop and put that in ~/.local/share/applications.

[Desktop Entry]
Comment=Use the command line
Exec=gnome-terminal --window --maximize

Then log out and log back to apply the changes.

share|improve this answer
It doesn't work in Ubuntu 12.04 – Krige May 18 '12 at 10:40
Actually I found it that [Terminal] disappear from my unity dash. What I realize instead copy above code (outdated on my U13.10) it's better to copy original file $ cp /usr/share/applications/gnome-terminal.desktop ~/.local/share/applications/ and then edit it changing Exec=gnome-terminal to Exec=gnome-terminal --window --maximize. Logout then login again. – sobi3ch Jan 15 '14 at 1:57
Just wanted to add that I saw the change take effect after closing all my Terminal windows and then relaunching it. Not sure if that's what you meant by "log out and log back" but it worked for me. Thanks! – hoosierEE Feb 6 '15 at 17:03
Any idea to make it work with the Launcher and nautilus-open-terminal package? – procrastinator Apr 12 '15 at 19:46
gnome-terminal --help-window-options – Ciro Santilli 巴拿馬文件 六四事件 法轮功 May 4 at 12:40

Launch gnome-terminal as such:

gnome-terminal --window --maximize
share|improve this answer
It works with the shortcut in the menu bar but it doesn't if I lunch it via gnome-do :( I'm accepting this answer anyway :) – tutuca Aug 5 '10 at 17:27
I'm pretty sure Gnome-do depends on what's set in the gnome-terminal.desktop file. – Firefeather Oct 29 '10 at 20:13
Thanks. Last step in my new terminal set up. Looks so good! – Marcel Sep 28 '15 at 23:58
  • Open a Terminal.
  • From Edit menu select Profile Preferences.
  • Tick Use custom default terminal size and enter a default size that is too large for the screen e.g. 240 columns and 100 rows.

Close, then open a new Terminal by clicking the icon (or press Ctrl + Alt + T): the new terminal window should be maximised.

This answer is based upon advice I was given here: How to make terminal start maximized?

share|improve this answer
I confirm this works in 12.04, and is probably the easiest solution (at least for people like me who always work with maximized windows) - thanks! My advice is to set the default columns and rows to just slightly more than what fills the screen, in order not to have problems in case you un-maximize the window. – Walter Tross Dec 29 '12 at 14:57
If you temporarily need a small window, you can always un-maximize the window (double click on top) and click on Terminal > 80x24 – Walter Tross Dec 31 '12 at 8:59
This is the simplest way that works! – xmllmx Aug 12 '15 at 4:58

In Ubuntu 11.10 and up:

  • Search > Keyboard > Shortcuts > Custom Shortcuts > Add (+ button) >
    • Name: Launch Terminal Maximized
    • Command: gnome-terminal --window --maximize
  • Click Apply
  • Click on 'Disabled'
  • Shift+Ctrl+Alt+T
share|improve this answer
Do not use "Ubuntu 12" there are always 2 versions per year. – RolandiXor Sep 25 '12 at 19:28
where is that Search menu item? (12.04) – Walter Tross Dec 29 '12 at 15:19
Launch the 'System Settings' applet from Dash, and there's a search-box in the top-right corner of that applet. That's what I was referring to. BTW, I have been using the method described by @Craig above, and also the --maximmize option for scripting. – Gurjeet Singh Dec 31 '12 at 17:50
Thank you. Works without the --window option. – Shahar Or Feb 8 '15 at 8:53

Ubuntu 12.04 and 14.04 LTS

Run ccsm (CompizConfig Settings Manager). Under Window Management enable Window Rules and open it, and in the Maximized field put class=Gnome-terminal. You may need to log out and log back in before the changes come into effect.

If you don't see Window Rules, then make sure you've got the compiz-plugins package installed.

You can do more. I use (class=Gnome-terminal) | (class=Evince).

share|improve this answer
I needed to reboot after adding this rule for it to take effect. – dave4420 Dec 8 '12 at 22:54
doesn't work for me :-(. tried rebooting, logging in and out, grabbing the window class automatically (by clicking on the Terminal). I typically start my terminal from the sidebar or with Ctrl+Alt+T. In both cases it still starts with small size. – Sergiy Byelozyorov Nov 22 '13 at 9:51
gnome-terminal --full-screen

You could create a shortcut on your desktop or panel to this command.

share|improve this answer
There's a difference between full screen and maximized though. – Tommy Brunn Aug 5 '10 at 15:11

The selected answer didn't work for me on fully updated Ubuntu 12.04 LTS, so I decided it was time for a more drastic approach.

  1. Rename original gnome-terminal executable to gnome-terminal-original:

    cd /usr/bin
    mv gnome-terminal gnome-terminal-original
  2. Create a new file in /usr/bin named gnome-terminal with the following content:

    /usr/bin/gnome-terminal-original --maximize $@
  3. Make it executable:

    chmod +x gnome-terminal

Now no matter how I open the terminal, it always opens maximized. The only downside I see for this approach is that you have to repeat these steps every time you might update gnome-terminal with a new version via update manager or apt-get upgrade.

Note: the $@ parameter means that all arguments that might get passed to gnome-terminal will still get passed to gnome-terminal-original, along with --maximize argument.

share|improve this answer

If you just want the terminal to open full size on screen use the GUI method of changing the default size through current profile preferences dialog appropriately to do so simply follow these steps

*open a terminal and choose edit

*in the general tab check Use custom default terminal size

*you need to adjust these values so that they fit your screen 
by simple trial and error

the column setting is 128 for me you should set the values that best suit you.

share|improve this answer
Making the window the same size as the desktop doesn't make it maximized – Alvin Row Oct 29 '10 at 20:20
@DoR I know but i still consider it as an option and a rather good and easy one at that because it will work even if he uses gnome-do and this is for a newbie who may have the same question he might find this thread and he deserves to have all options shown as he cannot ask a duplicate question and suppose he dosen't want it fully maximized or wants to use gnome-do or any new launcher this option survives... – Siamore Oct 31 '10 at 9:38

You can probably modify your shortcuts to use the maximize one so that it always starts that way.

The easiest way of doing so is to locate your application (in /usr/share/applications or /.local/share/applications) and to modify your .desktop file.

In that .desktop file, you will see the line that starts with Exec=.... To start gnome-terminal maximized, all you need to do is to add --start-maximized to the end of the command.

share|improve this answer
Can you provide any information about how to do this? – Eliah Kagan Jun 25 '12 at 0:21

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.