Reset terminal window size after screen change?

1,542 views
Skip to first unread message

Denis Haskin

unread,
Jul 22, 2013, 10:19:26 AM7/22/13
to iterm2-...@googlegroups.com
When I unplug my external monitor and OSX rearranges windows, frequently the iTerm2 windows will be resized to an unusable size.  Is there an easy way to reset them to their default sizes?  Terminal.app has this...

Thanks,

Aaron Meurer

unread,
Jul 22, 2013, 10:56:13 AM7/22/13
to iterm2-...@googlegroups.com
Does pressing the green button on the title bar do what you want? It
always works for me, but I keep my terminals full-screen.

Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups
> "iterm2-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to iterm2-discus...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Denis Haskin

unread,
Jul 22, 2013, 11:04:12 AM7/22/13
to iterm2-...@googlegroups.com
No, that maximizes the window (as you say), which is not what I want.  Want it to return to initial size.  In Terminal.app this is in the menu as: Window > Return To Default Size

Thanks,

George Nachman

unread,
Jul 24, 2013, 11:17:22 PM7/24/13
to iterm2-...@googlegroups.com
Cmd-opt-0 will do what you want, I think.

Denis Haskin

unread,
Jul 25, 2013, 10:02:33 AM7/25/13
to iterm2-...@googlegroups.com
Bingo!  Where would I find that configured or documented?  It's weird that when I do it, the View menu is clearly activated, but there's nothing on the view menu that seems to correspond to that.

Thanks!

Chas. Owens

unread,
Jul 25, 2013, 10:22:12 AM7/25/13
to iterm2-...@googlegroups.com
I can't find any documentation that lists all of the shortcut keys.

Here is how to see it in the menu:

Click view
Hold alt
see Restore Text and Session Size

Or

click help
type res into the search
hover the mouse over Restore Text and Session Size
Chas. Owens
http://github.com/cowens
The most important skill a programmer can have is the ability to read.

George Nachman

unread,
Jul 26, 2013, 7:41:21 PM7/26/13
to iterm2-...@googlegroups.com
Yeah, this is a dirty secret of Mac OS. If you hold option while looking at a menu, sometimes things will change. This is where developers stick things that they can't figure out where else to put, or would freak out beginners. 

Steve King

unread,
Jul 29, 2013, 10:38:04 AM7/29/13
to iterm2-...@googlegroups.com
On 2013-07-26 19:41 , George Nachman wrote:
Yeah, this is a dirty secret of Mac OS. If you hold option while looking at a menu, sometimes things will change. This is where developers stick things that they can't figure out where else to put, or would freak out beginners. 

Is that it? I always thought it was where sadistic developers put commands when they specifically want to drive their users insane.  "I *know* I found that command in the menu yesterday, but it's not there today!"

--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com

Chas. Owens

unread,
Jul 29, 2013, 10:41:30 AM7/29/13
to iterm2-...@googlegroups.com

George Nachman

unread,
Jul 29, 2013, 1:58:51 PM7/29/13
to iterm2-...@googlegroups.com
Self-portrait while adding hidden menu items:
Inline image 1


image.png
Reply all
Reply to author
Forward
0 new messages