• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

iTerm Not Opening Multiple Tabs

 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
Saloon Keeper
Posts: 6994
164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 7984
560
Mac OS X VI Editor BSD Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Sheriff
Posts: 67537
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 San
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7984
560
Mac OS X VI Editor BSD Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 San
    Ranch Hand
    Posts: 10198
    3
    Mac PPC Eclipse IDE Ubuntu
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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]
     
    You showed up just in time for the waffles! And this tiny ad:
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    reply
      Bookmark Topic Watch Topic
    • New Topic