How to set the terminal to open maximized












41















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



























    41















    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

























      41












      41








      41


      12






      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














      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?







      compiz gnome-terminal






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 5 '10 at 14:54









      tutucatutuca

      1,37542137




      1,37542137






















          10 Answers
          10






          active

          oldest

          votes


















          43














          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











          • this works when you launch the command from the terminal or something of the like, but it has no effect on the .desktop file on ubuntu 17.10+

            – tutuca
            Mar 16 '18 at 22:09



















          30














          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]
          Name=Terminal
          Comment=Use the command line
          TryExec=gnome-terminal
          Exec=gnome-terminal --window --maximize
          Icon=utilities-terminal
          Type=Application
          X-GNOME-DocPath=gnome-terminal/index.html
          X-GNOME-Bugzilla-Bugzilla=GNOME
          X-GNOME-Bugzilla-Product=gnome-terminal
          X-GNOME-Bugzilla-Component=BugBuddyBugs
          X-GNOME-Bugzilla-Version=2.32.0
          Categories=GNOME;GTK;Utility;TerminalEmulator;
          StartupNotify=true
          OnlyShowIn=GNOME;
          X-Ubuntu-Gettext-Domain=gnome-terminal


          Then log out and log back to apply the changes.






          share|improve this answer





















          • 2





            It doesn't work in Ubuntu 12.04

            – Marco Lackovic
            May 18 '12 at 10:40






          • 7





            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?

            – leaf
            Apr 12 '15 at 19:46











          • gnome-terminal --help-window-options

            – Ciro Santilli 新疆改造中心 六四事件 法轮功
            May 4 '16 at 12:40



















          21















          • 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





















          • 2





            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








          • 1





            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






          • 1





            This is the simplest way that works!

            – xmllmx
            Aug 12 '15 at 4:58





















          9














          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 Belozorov
            Nov 22 '13 at 9:51





















          8














          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





















          • 1





            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.

            – mightyiam
            Feb 8 '15 at 8:53



















          6














          gnome-terminal --full-screen


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






          share|improve this answer



















          • 6





            There's a difference between full screen and maximized though.

            – Tommy Brunn
            Aug 5 '10 at 15:11



















          6














          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. The solutions below are tested up to 16.04 LTS.



          My old solution





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



            cd /usr/bin
            sudo mv gnome-terminal gnome-terminal-original



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



            #!/bin/bash
            /usr/bin/gnome-terminal-original --maximize $@



          3. Make it executable:



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



          A better solution





          1. Install "wmctrl":



            sudo apt-get install wmctrl



          2. Add this line to the very end of your ~/.bashrc file:



            wmctrl -i -r $WINDOWID -b add,maximized_vert,maximized_horz


          3. Repeat the second step for other user's .bashrc files if needed, for example, for "root" user (/root/.bashrc).



          This solution will not affect the size of the terminal window initially, but rather maximize it shortly after it opens, usually in a matter of milliseconds. You can try moving the line you added in the second step to the beginning of .bashrc file, to make the terminal maximize even earlier.






          share|improve this answer


























          • This is first thing I would always do whenever I install/re-install Ubuntu. Works like a charm.

            – Sharath Chandramouli
            Aug 26 '16 at 2:50











          • Why doesn't this approach work for Open in terminal context menu entry in Nautilus file manager?

            – orschiro
            Oct 13 '16 at 12:55











          • @RobertOrzanna if this solution works for you in other situations, it's most likely that Nautilus runs a different terminal program (usually there's more than one installed). Try opening a new terminal while the one launched by Nautilus is running and do ps aux or ps aux | grep term to find out which executables are running. Or, try switching the arguments on the second line in the script like so: $@ --maximize.

            – Brane
            Oct 15 '16 at 15:51








          • 1





            @RobertOrzanna You're welcome, I'm glad it works for you. The updated solution should affect all terminal windows, not just gnome-terminal - try opening uxterm for example. To put it more accurately, it should affect all applications that start bash or dash in a regular window and load your .bashrc file. It's possible however, to limit the affected applications. If anyone needs that, let me know and I'll add that to my answer.

            – Brane
            Oct 17 '16 at 9:07






          • 1





            @RobertOrzanna Take a look at this answer: askubuntu.com/questions/27826/… - basically install "maximus" and make it run at startup.

            – Brane
            Oct 19 '16 at 8:39



















          2














          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

          • 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





















          • 1





            Making the window the same size as the desktop doesn't make it maximized

            – Isaiah
            Oct 29 '10 at 20:20






          • 1





            @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





















          0














          In QTerminal, you can maximize the window and then close the terminal by the "exit" command. When you Ctrl+Alt+T again it will automatically open maximized.



          This can be applied to any size, just set the size you want, "exit" and then open again.





          share








          New contributor




          Jon Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




























            -2














            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





















            • 2





              Can you provide any information about how to do this?

              – Eliah Kagan
              Jun 25 '12 at 0:21











            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158%2fhow-to-set-the-terminal-to-open-maximized%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            10 Answers
            10






            active

            oldest

            votes








            10 Answers
            10






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            43














            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











            • this works when you launch the command from the terminal or something of the like, but it has no effect on the .desktop file on ubuntu 17.10+

              – tutuca
              Mar 16 '18 at 22:09
















            43














            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











            • this works when you launch the command from the terminal or something of the like, but it has no effect on the .desktop file on ubuntu 17.10+

              – tutuca
              Mar 16 '18 at 22:09














            43












            43








            43







            Launch gnome-terminal as such:



            gnome-terminal --window --maximize





            share|improve this answer















            Launch gnome-terminal as such:



            gnome-terminal --window --maximize






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Aug 5 '10 at 15:16

























            answered Aug 5 '10 at 14:59









            Tommy BrunnTommy Brunn

            6,65852737




            6,65852737













            • 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











            • this works when you launch the command from the terminal or something of the like, but it has no effect on the .desktop file on ubuntu 17.10+

              – tutuca
              Mar 16 '18 at 22:09



















            • 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











            • this works when you launch the command from the terminal or something of the like, but it has no effect on the .desktop file on ubuntu 17.10+

              – tutuca
              Mar 16 '18 at 22:09

















            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







            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





            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





            Thanks. Last step in my new terminal set up. Looks so good!

            – Marcel
            Sep 28 '15 at 23:58













            this works when you launch the command from the terminal or something of the like, but it has no effect on the .desktop file on ubuntu 17.10+

            – tutuca
            Mar 16 '18 at 22:09





            this works when you launch the command from the terminal or something of the like, but it has no effect on the .desktop file on ubuntu 17.10+

            – tutuca
            Mar 16 '18 at 22:09













            30














            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]
            Name=Terminal
            Comment=Use the command line
            TryExec=gnome-terminal
            Exec=gnome-terminal --window --maximize
            Icon=utilities-terminal
            Type=Application
            X-GNOME-DocPath=gnome-terminal/index.html
            X-GNOME-Bugzilla-Bugzilla=GNOME
            X-GNOME-Bugzilla-Product=gnome-terminal
            X-GNOME-Bugzilla-Component=BugBuddyBugs
            X-GNOME-Bugzilla-Version=2.32.0
            Categories=GNOME;GTK;Utility;TerminalEmulator;
            StartupNotify=true
            OnlyShowIn=GNOME;
            X-Ubuntu-Gettext-Domain=gnome-terminal


            Then log out and log back to apply the changes.






            share|improve this answer





















            • 2





              It doesn't work in Ubuntu 12.04

              – Marco Lackovic
              May 18 '12 at 10:40






            • 7





              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?

              – leaf
              Apr 12 '15 at 19:46











            • gnome-terminal --help-window-options

              – Ciro Santilli 新疆改造中心 六四事件 法轮功
              May 4 '16 at 12:40
















            30














            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]
            Name=Terminal
            Comment=Use the command line
            TryExec=gnome-terminal
            Exec=gnome-terminal --window --maximize
            Icon=utilities-terminal
            Type=Application
            X-GNOME-DocPath=gnome-terminal/index.html
            X-GNOME-Bugzilla-Bugzilla=GNOME
            X-GNOME-Bugzilla-Product=gnome-terminal
            X-GNOME-Bugzilla-Component=BugBuddyBugs
            X-GNOME-Bugzilla-Version=2.32.0
            Categories=GNOME;GTK;Utility;TerminalEmulator;
            StartupNotify=true
            OnlyShowIn=GNOME;
            X-Ubuntu-Gettext-Domain=gnome-terminal


            Then log out and log back to apply the changes.






            share|improve this answer





















            • 2





              It doesn't work in Ubuntu 12.04

              – Marco Lackovic
              May 18 '12 at 10:40






            • 7





              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?

              – leaf
              Apr 12 '15 at 19:46











            • gnome-terminal --help-window-options

              – Ciro Santilli 新疆改造中心 六四事件 法轮功
              May 4 '16 at 12:40














            30












            30








            30







            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]
            Name=Terminal
            Comment=Use the command line
            TryExec=gnome-terminal
            Exec=gnome-terminal --window --maximize
            Icon=utilities-terminal
            Type=Application
            X-GNOME-DocPath=gnome-terminal/index.html
            X-GNOME-Bugzilla-Bugzilla=GNOME
            X-GNOME-Bugzilla-Product=gnome-terminal
            X-GNOME-Bugzilla-Component=BugBuddyBugs
            X-GNOME-Bugzilla-Version=2.32.0
            Categories=GNOME;GTK;Utility;TerminalEmulator;
            StartupNotify=true
            OnlyShowIn=GNOME;
            X-Ubuntu-Gettext-Domain=gnome-terminal


            Then log out and log back to apply the changes.






            share|improve this answer















            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]
            Name=Terminal
            Comment=Use the command line
            TryExec=gnome-terminal
            Exec=gnome-terminal --window --maximize
            Icon=utilities-terminal
            Type=Application
            X-GNOME-DocPath=gnome-terminal/index.html
            X-GNOME-Bugzilla-Bugzilla=GNOME
            X-GNOME-Bugzilla-Product=gnome-terminal
            X-GNOME-Bugzilla-Component=BugBuddyBugs
            X-GNOME-Bugzilla-Version=2.32.0
            Categories=GNOME;GTK;Utility;TerminalEmulator;
            StartupNotify=true
            OnlyShowIn=GNOME;
            X-Ubuntu-Gettext-Domain=gnome-terminal


            Then log out and log back to apply the changes.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 14 '13 at 11:21









            Aurélien Ooms

            11619




            11619










            answered Oct 29 '10 at 20:19









            IsaiahIsaiah

            43.3k20118138




            43.3k20118138








            • 2





              It doesn't work in Ubuntu 12.04

              – Marco Lackovic
              May 18 '12 at 10:40






            • 7





              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?

              – leaf
              Apr 12 '15 at 19:46











            • gnome-terminal --help-window-options

              – Ciro Santilli 新疆改造中心 六四事件 法轮功
              May 4 '16 at 12:40














            • 2





              It doesn't work in Ubuntu 12.04

              – Marco Lackovic
              May 18 '12 at 10:40






            • 7





              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?

              – leaf
              Apr 12 '15 at 19:46











            • gnome-terminal --help-window-options

              – Ciro Santilli 新疆改造中心 六四事件 法轮功
              May 4 '16 at 12:40








            2




            2





            It doesn't work in Ubuntu 12.04

            – Marco Lackovic
            May 18 '12 at 10:40





            It doesn't work in Ubuntu 12.04

            – Marco Lackovic
            May 18 '12 at 10:40




            7




            7





            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







            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





            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?

            – leaf
            Apr 12 '15 at 19:46





            Any idea to make it work with the Launcher and nautilus-open-terminal package?

            – leaf
            Apr 12 '15 at 19:46













            gnome-terminal --help-window-options

            – Ciro Santilli 新疆改造中心 六四事件 法轮功
            May 4 '16 at 12:40





            gnome-terminal --help-window-options

            – Ciro Santilli 新疆改造中心 六四事件 法轮功
            May 4 '16 at 12:40











            21















            • 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





















            • 2





              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








            • 1





              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






            • 1





              This is the simplest way that works!

              – xmllmx
              Aug 12 '15 at 4:58


















            21















            • 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





















            • 2





              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








            • 1





              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






            • 1





              This is the simplest way that works!

              – xmllmx
              Aug 12 '15 at 4:58
















            21












            21








            21








            • 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
















            • 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














            share|improve this answer



            share|improve this answer








            edited Apr 13 '17 at 12:23









            Community

            1




            1










            answered Jul 2 '12 at 15:06









            CraigCraig

            848189




            848189








            • 2





              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








            • 1





              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






            • 1





              This is the simplest way that works!

              – xmllmx
              Aug 12 '15 at 4:58
















            • 2





              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








            • 1





              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






            • 1





              This is the simplest way that works!

              – xmllmx
              Aug 12 '15 at 4:58










            2




            2





            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







            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






            1




            1





            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





            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




            1




            1





            This is the simplest way that works!

            – xmllmx
            Aug 12 '15 at 4:58







            This is the simplest way that works!

            – xmllmx
            Aug 12 '15 at 4:58













            9














            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 Belozorov
              Nov 22 '13 at 9:51


















            9














            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 Belozorov
              Nov 22 '13 at 9:51
















            9












            9








            9







            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















            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














            share|improve this answer



            share|improve this answer








            edited Dec 9 '15 at 1:23

























            answered Jun 24 '12 at 20:51









            Brent BaccalaBrent Baccala

            19114




            19114













            • 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 Belozorov
              Nov 22 '13 at 9:51





















            • 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 Belozorov
              Nov 22 '13 at 9:51



















            I needed to reboot after adding this rule for it to take effect.

            – dave4420
            Dec 8 '12 at 22:54





            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 Belozorov
            Nov 22 '13 at 9:51







            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 Belozorov
            Nov 22 '13 at 9:51













            8














            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





















            • 1





              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.

              – mightyiam
              Feb 8 '15 at 8:53
















            8














            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





















            • 1





              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.

              – mightyiam
              Feb 8 '15 at 8:53














            8












            8








            8







            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















            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














            share|improve this answer



            share|improve this answer








            edited Sep 25 '12 at 19:27









            RolandiXor

            44.5k25140231




            44.5k25140231










            answered Sep 25 '12 at 15:19









            Gurjeet SinghGurjeet Singh

            24925




            24925








            • 1





              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.

              – mightyiam
              Feb 8 '15 at 8:53














            • 1





              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.

              – mightyiam
              Feb 8 '15 at 8:53








            1




            1





            Do not use "Ubuntu 12" there are always 2 versions per year.

            – RolandiXor
            Sep 25 '12 at 19:28





            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





            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







            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.

            – mightyiam
            Feb 8 '15 at 8:53





            Thank you. Works without the --window option.

            – mightyiam
            Feb 8 '15 at 8:53











            6














            gnome-terminal --full-screen


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






            share|improve this answer



















            • 6





              There's a difference between full screen and maximized though.

              – Tommy Brunn
              Aug 5 '10 at 15:11
















            6














            gnome-terminal --full-screen


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






            share|improve this answer



















            • 6





              There's a difference between full screen and maximized though.

              – Tommy Brunn
              Aug 5 '10 at 15:11














            6












            6








            6







            gnome-terminal --full-screen


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






            share|improve this answer













            gnome-terminal --full-screen


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







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Aug 5 '10 at 15:00









            popeypopey

            12.9k74791




            12.9k74791








            • 6





              There's a difference between full screen and maximized though.

              – Tommy Brunn
              Aug 5 '10 at 15:11














            • 6





              There's a difference between full screen and maximized though.

              – Tommy Brunn
              Aug 5 '10 at 15:11








            6




            6





            There's a difference between full screen and maximized though.

            – Tommy Brunn
            Aug 5 '10 at 15:11





            There's a difference between full screen and maximized though.

            – Tommy Brunn
            Aug 5 '10 at 15:11











            6














            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. The solutions below are tested up to 16.04 LTS.



            My old solution





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



              cd /usr/bin
              sudo mv gnome-terminal gnome-terminal-original



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



              #!/bin/bash
              /usr/bin/gnome-terminal-original --maximize $@



            3. Make it executable:



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



            A better solution





            1. Install "wmctrl":



              sudo apt-get install wmctrl



            2. Add this line to the very end of your ~/.bashrc file:



              wmctrl -i -r $WINDOWID -b add,maximized_vert,maximized_horz


            3. Repeat the second step for other user's .bashrc files if needed, for example, for "root" user (/root/.bashrc).



            This solution will not affect the size of the terminal window initially, but rather maximize it shortly after it opens, usually in a matter of milliseconds. You can try moving the line you added in the second step to the beginning of .bashrc file, to make the terminal maximize even earlier.






            share|improve this answer


























            • This is first thing I would always do whenever I install/re-install Ubuntu. Works like a charm.

              – Sharath Chandramouli
              Aug 26 '16 at 2:50











            • Why doesn't this approach work for Open in terminal context menu entry in Nautilus file manager?

              – orschiro
              Oct 13 '16 at 12:55











            • @RobertOrzanna if this solution works for you in other situations, it's most likely that Nautilus runs a different terminal program (usually there's more than one installed). Try opening a new terminal while the one launched by Nautilus is running and do ps aux or ps aux | grep term to find out which executables are running. Or, try switching the arguments on the second line in the script like so: $@ --maximize.

              – Brane
              Oct 15 '16 at 15:51








            • 1





              @RobertOrzanna You're welcome, I'm glad it works for you. The updated solution should affect all terminal windows, not just gnome-terminal - try opening uxterm for example. To put it more accurately, it should affect all applications that start bash or dash in a regular window and load your .bashrc file. It's possible however, to limit the affected applications. If anyone needs that, let me know and I'll add that to my answer.

              – Brane
              Oct 17 '16 at 9:07






            • 1





              @RobertOrzanna Take a look at this answer: askubuntu.com/questions/27826/… - basically install "maximus" and make it run at startup.

              – Brane
              Oct 19 '16 at 8:39
















            6














            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. The solutions below are tested up to 16.04 LTS.



            My old solution





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



              cd /usr/bin
              sudo mv gnome-terminal gnome-terminal-original



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



              #!/bin/bash
              /usr/bin/gnome-terminal-original --maximize $@



            3. Make it executable:



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



            A better solution





            1. Install "wmctrl":



              sudo apt-get install wmctrl



            2. Add this line to the very end of your ~/.bashrc file:



              wmctrl -i -r $WINDOWID -b add,maximized_vert,maximized_horz


            3. Repeat the second step for other user's .bashrc files if needed, for example, for "root" user (/root/.bashrc).



            This solution will not affect the size of the terminal window initially, but rather maximize it shortly after it opens, usually in a matter of milliseconds. You can try moving the line you added in the second step to the beginning of .bashrc file, to make the terminal maximize even earlier.






            share|improve this answer


























            • This is first thing I would always do whenever I install/re-install Ubuntu. Works like a charm.

              – Sharath Chandramouli
              Aug 26 '16 at 2:50











            • Why doesn't this approach work for Open in terminal context menu entry in Nautilus file manager?

              – orschiro
              Oct 13 '16 at 12:55











            • @RobertOrzanna if this solution works for you in other situations, it's most likely that Nautilus runs a different terminal program (usually there's more than one installed). Try opening a new terminal while the one launched by Nautilus is running and do ps aux or ps aux | grep term to find out which executables are running. Or, try switching the arguments on the second line in the script like so: $@ --maximize.

              – Brane
              Oct 15 '16 at 15:51








            • 1





              @RobertOrzanna You're welcome, I'm glad it works for you. The updated solution should affect all terminal windows, not just gnome-terminal - try opening uxterm for example. To put it more accurately, it should affect all applications that start bash or dash in a regular window and load your .bashrc file. It's possible however, to limit the affected applications. If anyone needs that, let me know and I'll add that to my answer.

              – Brane
              Oct 17 '16 at 9:07






            • 1





              @RobertOrzanna Take a look at this answer: askubuntu.com/questions/27826/… - basically install "maximus" and make it run at startup.

              – Brane
              Oct 19 '16 at 8:39














            6












            6








            6







            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. The solutions below are tested up to 16.04 LTS.



            My old solution





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



              cd /usr/bin
              sudo mv gnome-terminal gnome-terminal-original



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



              #!/bin/bash
              /usr/bin/gnome-terminal-original --maximize $@



            3. Make it executable:



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



            A better solution





            1. Install "wmctrl":



              sudo apt-get install wmctrl



            2. Add this line to the very end of your ~/.bashrc file:



              wmctrl -i -r $WINDOWID -b add,maximized_vert,maximized_horz


            3. Repeat the second step for other user's .bashrc files if needed, for example, for "root" user (/root/.bashrc).



            This solution will not affect the size of the terminal window initially, but rather maximize it shortly after it opens, usually in a matter of milliseconds. You can try moving the line you added in the second step to the beginning of .bashrc file, to make the terminal maximize even earlier.






            share|improve this answer















            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. The solutions below are tested up to 16.04 LTS.



            My old solution





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



              cd /usr/bin
              sudo mv gnome-terminal gnome-terminal-original



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



              #!/bin/bash
              /usr/bin/gnome-terminal-original --maximize $@



            3. Make it executable:



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



            A better solution





            1. Install "wmctrl":



              sudo apt-get install wmctrl



            2. Add this line to the very end of your ~/.bashrc file:



              wmctrl -i -r $WINDOWID -b add,maximized_vert,maximized_horz


            3. Repeat the second step for other user's .bashrc files if needed, for example, for "root" user (/root/.bashrc).



            This solution will not affect the size of the terminal window initially, but rather maximize it shortly after it opens, usually in a matter of milliseconds. You can try moving the line you added in the second step to the beginning of .bashrc file, to make the terminal maximize even earlier.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 16 '16 at 14:14

























            answered Apr 29 '13 at 22:15









            BraneBrane

            18618




            18618













            • This is first thing I would always do whenever I install/re-install Ubuntu. Works like a charm.

              – Sharath Chandramouli
              Aug 26 '16 at 2:50











            • Why doesn't this approach work for Open in terminal context menu entry in Nautilus file manager?

              – orschiro
              Oct 13 '16 at 12:55











            • @RobertOrzanna if this solution works for you in other situations, it's most likely that Nautilus runs a different terminal program (usually there's more than one installed). Try opening a new terminal while the one launched by Nautilus is running and do ps aux or ps aux | grep term to find out which executables are running. Or, try switching the arguments on the second line in the script like so: $@ --maximize.

              – Brane
              Oct 15 '16 at 15:51








            • 1





              @RobertOrzanna You're welcome, I'm glad it works for you. The updated solution should affect all terminal windows, not just gnome-terminal - try opening uxterm for example. To put it more accurately, it should affect all applications that start bash or dash in a regular window and load your .bashrc file. It's possible however, to limit the affected applications. If anyone needs that, let me know and I'll add that to my answer.

              – Brane
              Oct 17 '16 at 9:07






            • 1





              @RobertOrzanna Take a look at this answer: askubuntu.com/questions/27826/… - basically install "maximus" and make it run at startup.

              – Brane
              Oct 19 '16 at 8:39



















            • This is first thing I would always do whenever I install/re-install Ubuntu. Works like a charm.

              – Sharath Chandramouli
              Aug 26 '16 at 2:50











            • Why doesn't this approach work for Open in terminal context menu entry in Nautilus file manager?

              – orschiro
              Oct 13 '16 at 12:55











            • @RobertOrzanna if this solution works for you in other situations, it's most likely that Nautilus runs a different terminal program (usually there's more than one installed). Try opening a new terminal while the one launched by Nautilus is running and do ps aux or ps aux | grep term to find out which executables are running. Or, try switching the arguments on the second line in the script like so: $@ --maximize.

              – Brane
              Oct 15 '16 at 15:51








            • 1





              @RobertOrzanna You're welcome, I'm glad it works for you. The updated solution should affect all terminal windows, not just gnome-terminal - try opening uxterm for example. To put it more accurately, it should affect all applications that start bash or dash in a regular window and load your .bashrc file. It's possible however, to limit the affected applications. If anyone needs that, let me know and I'll add that to my answer.

              – Brane
              Oct 17 '16 at 9:07






            • 1





              @RobertOrzanna Take a look at this answer: askubuntu.com/questions/27826/… - basically install "maximus" and make it run at startup.

              – Brane
              Oct 19 '16 at 8:39

















            This is first thing I would always do whenever I install/re-install Ubuntu. Works like a charm.

            – Sharath Chandramouli
            Aug 26 '16 at 2:50





            This is first thing I would always do whenever I install/re-install Ubuntu. Works like a charm.

            – Sharath Chandramouli
            Aug 26 '16 at 2:50













            Why doesn't this approach work for Open in terminal context menu entry in Nautilus file manager?

            – orschiro
            Oct 13 '16 at 12:55





            Why doesn't this approach work for Open in terminal context menu entry in Nautilus file manager?

            – orschiro
            Oct 13 '16 at 12:55













            @RobertOrzanna if this solution works for you in other situations, it's most likely that Nautilus runs a different terminal program (usually there's more than one installed). Try opening a new terminal while the one launched by Nautilus is running and do ps aux or ps aux | grep term to find out which executables are running. Or, try switching the arguments on the second line in the script like so: $@ --maximize.

            – Brane
            Oct 15 '16 at 15:51







            @RobertOrzanna if this solution works for you in other situations, it's most likely that Nautilus runs a different terminal program (usually there's more than one installed). Try opening a new terminal while the one launched by Nautilus is running and do ps aux or ps aux | grep term to find out which executables are running. Or, try switching the arguments on the second line in the script like so: $@ --maximize.

            – Brane
            Oct 15 '16 at 15:51






            1




            1





            @RobertOrzanna You're welcome, I'm glad it works for you. The updated solution should affect all terminal windows, not just gnome-terminal - try opening uxterm for example. To put it more accurately, it should affect all applications that start bash or dash in a regular window and load your .bashrc file. It's possible however, to limit the affected applications. If anyone needs that, let me know and I'll add that to my answer.

            – Brane
            Oct 17 '16 at 9:07





            @RobertOrzanna You're welcome, I'm glad it works for you. The updated solution should affect all terminal windows, not just gnome-terminal - try opening uxterm for example. To put it more accurately, it should affect all applications that start bash or dash in a regular window and load your .bashrc file. It's possible however, to limit the affected applications. If anyone needs that, let me know and I'll add that to my answer.

            – Brane
            Oct 17 '16 at 9:07




            1




            1





            @RobertOrzanna Take a look at this answer: askubuntu.com/questions/27826/… - basically install "maximus" and make it run at startup.

            – Brane
            Oct 19 '16 at 8:39





            @RobertOrzanna Take a look at this answer: askubuntu.com/questions/27826/… - basically install "maximus" and make it run at startup.

            – Brane
            Oct 19 '16 at 8:39











            2














            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

            • 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





















            • 1





              Making the window the same size as the desktop doesn't make it maximized

              – Isaiah
              Oct 29 '10 at 20:20






            • 1





              @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


















            2














            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

            • 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





















            • 1





              Making the window the same size as the desktop doesn't make it maximized

              – Isaiah
              Oct 29 '10 at 20:20






            • 1





              @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
















            2












            2








            2







            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

            • 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















            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

            • 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














            share|improve this answer



            share|improve this answer








            edited Mar 29 '18 at 23:55









            wjandrea

            9,08542362




            9,08542362










            answered Oct 29 '10 at 19:14









            SiamoreSiamore

            62445




            62445








            • 1





              Making the window the same size as the desktop doesn't make it maximized

              – Isaiah
              Oct 29 '10 at 20:20






            • 1





              @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
















            • 1





              Making the window the same size as the desktop doesn't make it maximized

              – Isaiah
              Oct 29 '10 at 20:20






            • 1





              @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










            1




            1





            Making the window the same size as the desktop doesn't make it maximized

            – Isaiah
            Oct 29 '10 at 20:20





            Making the window the same size as the desktop doesn't make it maximized

            – Isaiah
            Oct 29 '10 at 20:20




            1




            1





            @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







            @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













            0














            In QTerminal, you can maximize the window and then close the terminal by the "exit" command. When you Ctrl+Alt+T again it will automatically open maximized.



            This can be applied to any size, just set the size you want, "exit" and then open again.





            share








            New contributor




            Jon Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              0














              In QTerminal, you can maximize the window and then close the terminal by the "exit" command. When you Ctrl+Alt+T again it will automatically open maximized.



              This can be applied to any size, just set the size you want, "exit" and then open again.





              share








              New contributor




              Jon Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                0












                0








                0







                In QTerminal, you can maximize the window and then close the terminal by the "exit" command. When you Ctrl+Alt+T again it will automatically open maximized.



                This can be applied to any size, just set the size you want, "exit" and then open again.





                share








                New contributor




                Jon Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                In QTerminal, you can maximize the window and then close the terminal by the "exit" command. When you Ctrl+Alt+T again it will automatically open maximized.



                This can be applied to any size, just set the size you want, "exit" and then open again.






                share








                New contributor




                Jon Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.








                share


                share






                New contributor




                Jon Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 7 mins ago









                Jon DoeJon Doe

                1




                1




                New contributor




                Jon Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Jon Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Jon Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                    -2














                    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





















                    • 2





                      Can you provide any information about how to do this?

                      – Eliah Kagan
                      Jun 25 '12 at 0:21
















                    -2














                    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





















                    • 2





                      Can you provide any information about how to do this?

                      – Eliah Kagan
                      Jun 25 '12 at 0:21














                    -2












                    -2








                    -2







                    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















                    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














                    share|improve this answer



                    share|improve this answer








                    edited Mar 29 '18 at 23:57









                    wjandrea

                    9,08542362




                    9,08542362










                    answered Aug 5 '10 at 15:44









                    NigelNigel

                    345211




                    345211








                    • 2





                      Can you provide any information about how to do this?

                      – Eliah Kagan
                      Jun 25 '12 at 0:21














                    • 2





                      Can you provide any information about how to do this?

                      – Eliah Kagan
                      Jun 25 '12 at 0:21








                    2




                    2





                    Can you provide any information about how to do this?

                    – Eliah Kagan
                    Jun 25 '12 at 0:21





                    Can you provide any information about how to do this?

                    – Eliah Kagan
                    Jun 25 '12 at 0:21


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158%2fhow-to-set-the-terminal-to-open-maximized%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    GameSpot

                    日野市

                    Tu-95轟炸機