34

I use the Ctrl+Alt+T shortcut to open a terminal, but I cannot see how I can get it maximized. When I start it manually, I can simply do a gnome-terminal --maximize, but that does not apply for the shortcut. Even a changing of the .desktop files did not change anything.

Any way to let the shortcut open a maximized terminal window?

I use regular Gnome 2 on Ubuntu 11.04 with no compositing effects.

6 Answers6

26

In gconf-editor set the key

/apps/compiz-1/plugins/gnomecompat/screen0/options/command_terminal

to gnome-terminal --maximize

enter image description here

Isaiah
  • 59,344
enzotib
  • 93,831
  • That does not seem to work. :-/ – Martin Ueding Jun 26 '11 at 22:45
  • 1
    @queueoverflow: Without further information, I assumed you are using natty with unity. So please, elaborate a little bit about your system. – enzotib Jun 27 '11 at 07:16
  • 2
    /desktop/gnome/applications/terminal/exec is the key that helps on my computer. – Martin Ueding Oct 11 '11 at 11:01
  • 2
    does not work for me either on ubuntu 14.04 with unity – Sam S Oct 18 '14 at 10:36
  • Alternatively, open whatever keyboard shortcuts manager your native OS has. For instance, Ubuntu MATE has a keyboard shortcuts desktop app. There, you should be able to either reassign the existing terminal shortcut, or add a custom option which you could name maximized terminal, and supply the command <your native terminal app> --maximized. For instance, I did mate-terminal --maximized. – axolotl Jun 15 '18 at 13:24
13

Just as an alternative (maybe when you are working on another computer for a short time), after the window is open, you can press Alt+Space to the open the window's context menu and X to maximize. Similarly N to minimize and C to close. Works for all other applications too.

This combination is also the default for Microsoft Windows OS.

Sundeep
  • 253
6

Not sure if this works for Gnome2 on Ubuntu 11.04, but it does for me on Ubuntu 12.04.

  • Open a Terminal
  • Select Profile Preferences from the Edit Menu.
  • 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.

Click close then open a new Terminal by clicking the icon OR pressing 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?

Craig
  • 1,306
5

Just go to edit keyboard shortcuts in "Keyboard" Then put the command gnome-terminal --maximize to the new custom shortcut and set it to launch with Ctrl + Alt + T (click reassign when the dialog box pops up.)

snoop
  • 4,040
  • 9
  • 40
  • 58
LumTech
  • 51
  • 1
  • 1
1

I am a linux newbe and am happy for your question. I did a simple tweak to my system and it worked. I see linux uses a lot of - what in my programming knowledge is referred to as persistence - which is the ability to save the state of an object.

So in order to accomplish your goal, when you open a terminal either from the application menu or by combining Ctrl + Alt + T, just make sure before you close it, it's maximized, that will guarantee you that when you open again it will be maximized.

It's simple to me and workable.

Octavian Helm
  • 14,355
0

In new ubuntu 20.04 LTS you can press Super + Up Arrow Key (super is windows logo key) to maximize the terminal window, Similarly Super + Down Arrow Key to small size the terminal. To minimize Super + H

jahmed31
  • 101
  • 1