• Post Reply Bookmark Topic Watch Topic
  • New Topic

iTerm Not Opening Multiple Tabs  RSS feed

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have downloaded and installed iTerm 2 on El Capitan. I have created a couple of profiles that I would like to open when I start iTerm. But everytime I open iTerm, it would just open a single tab on my home folder like this:

Screen Shot 2016-06-03 at 07.12.45.png
[Thumbnail for Screen Shot 2016-06-03 at 07.12.45.png]
 
Tim Moores
Saloon Keeper
Posts: 3512
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't recall iTerm ever having had this functionality. You can use Profiles -> Open All to open all profiles you have set up.
 
Liutauras Vilda
Marshal
Posts: 3820
200
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe Harry wrote:I have created a couple of profiles that I would like to open when I start iTerm.
Please explain a bit more what you mean here.

Aren't you talking about terminal multiplexer? In case you do, there is a tmux application which does that - splits the screen so on one running process you can be logged in into several profiles and shown on same tab.
In case you meant opening different visual view on different terminal consoles, you can do so with pre-installed terminal.

I'm not sure I understand well what you meant, please clarify.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:I don't recall iTerm ever having had this functionality. You can use Profiles -> Open All to open all profiles you have set up.


iTerm on my old Mac Yosemitte had this. When I open iTerm, it would open all the tabs in a single window! I could not get that set up now with El Kapitan!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Huh, I didn't know iTerm2 had this capability either. In fact, I can't even find a way to set it up. Where did you set this up?
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Huh, I didn't know iTerm2 had this capability either. In fact, I can't even find a way to set it up. Where did you set this up?


I could have provided you with a screenshot or a short video of my old Mac as I open iTerm. I will try to conjure up some time over the weekend to figure out how to recover my old HDD and then post a picture or a vide!
 
Liutauras Vilda
Marshal
Posts: 3820
200
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have never used iTerm, so can't help on it, sorry. But I did look on internet what you actually meant and can try to suggest a possible alternative.

I think with tmux my mentioned earlier you can do the same what you want and might even more, as you can:
  • create a multiple sessions within a terminal
  • create multiple tabs within the session
  • create multiple split screens within the tabs
  • detach from the session, reattach to it, even if the terminal has been closed
  • attach to the same session from different terminals at the same time (useful for a pair programming)
  • bind custom keystrokes
  • customize look

  • I've created one demonstration screenshot.
    There you can see running:
    1 session with 2 tabs, seen at the bottom and named as 0: bash; 1: bash; those can be renamed, very useful feature as you can name them as your projects you're working on not to get lost between tabs.
    3 screen splits, all those running in 1 tab, the other tab can have another any number screen splits.
    terminal_tmux.jpg
    [Thumbnail for terminal_tmux.jpg]
    terminal_tmux
     
    Joe Harry
    Ranch Hand
    Posts: 10128
    3
    Eclipse IDE Mac PPC Ubuntu
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    So what I mean is, if I click Open All as you see in the screenshot, it opens up all the windows with the tabs.

    I want this layout to be the default when I click iTerm! On my old Mac this was possible. Now I have to right click on iTerm and say Open All!

    Have a look at this post: http://apple.stackexchange.com/questions/22445/how-can-i-save-tabs-in-iterm-2-so-they-restore-the-next-time-the-app-is-run
    Screen Shot 2016-06-04 at 06.52.27.png
    [Thumbnail for Screen Shot 2016-06-04 at 06.52.27.png]
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!