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.
In
gconf-editor
set the keyto
gnome-terminal --maximize
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.
Not sure if this works for Gnome2 on Ubuntu 11.04, but it does for me on Ubuntu 12.04.
Profile Preferences
from theEdit
Menu.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?
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.)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.
In new ubuntu 20.04 LTS you can press
Super + Up Arrow Key
(super is windows logo key) to maximize the terminal window, SimilarlySuper + Down Arrow Key
to small size the terminal. To minimizeSuper + H