# Window Groups launching incorrectly in 10.10

**URL:** <https://discuss.binaryage.com/t/window-groups-launching-incorrectly-in-10-10/2748>\
**Category:** TotalTerminal\
**Created:** [October 24, 2014, 1:40pm UTC](https://discuss.binaryage.com/t/window-groups-launching-incorrectly-in-10-10/2748 "2014-10-24T13:40:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeviT](https://discuss.binaryage.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@LeviT](https://discuss.binaryage.com/u/LeviT)\
**Post date:** [October 24, 2014, 1:40pm UTC](https://discuss.binaryage.com/t/window-groups-launching-incorrectly-in-10-10/2748/1 "2014-10-24T13:40:23Z")

</div>

To start with, thanks for making awesome software, you have singlehandedly decluttered 20% of my digital workspace.

Goal: Run total terminal from a window group that consists of two tabs. Each tab with its own profile/configuration (name etc.).

Result: If I create two tabs, select profiles myself, name the tabs myself, things work correctly. If I then save a window group, it saves correctly.  
When I set the window group to launch on startup, and restart; the correct window group shows for a second, and then goes away (The first tab stays, the second is destroyed.)

I think this is a bug, I have the exported .terminal file for the window group and attached it below.

Specs

- OS: Yosemite 10.10
- TotalTerminal Version: 1.5.4 (pre-releases checked)

These could be related issues:

- [TotalTerminal closes valid terminal windows when launching/injecting](https://discuss.binaryage.com/t/totalterminal-closes-valid-terminal-windows-when-launching-injecting/1839)

- [https://github.com/binaryage/totalterminal/issues/43](https://github.com/binaryage/totalterminal/issues/43)

- [Joining two tabs in TotalFinder 1.6.10 in 10.10 PB3](https://discuss.binaryage.com/t/joining-two-tabs-in-totalfinder-1-6-10-in-10-10-pb3/2522)

---

<div class="post-metadata">

**Author:** ![darwin](https://discuss.binaryage.com/user_avatar/discuss.binaryage.com/darwin/32/2275_2.png) [@darwin](https://discuss.binaryage.com/u/darwin)\
**Post date:** [October 24, 2014, 4:03pm UTC](https://discuss.binaryage.com/t/window-groups-launching-incorrectly-in-10-10/2748/2 "2014-10-24T16:03:52Z")

</div>

Good report. I think you just want to prevent TotalTerminal closing existing Terminal windows after injection.

Please read this discussion and set `TotalTerminalCloseWindowsOnStart` tweak:

> <https://github.com/binaryage/totalterminal/issues/43#issuecomment-60248160>
>
> Affects TotalTerminal 1.2.2 on OSX 10.8.

---

<div class="post-metadata">

**Author:** ![LeviT](https://discuss.binaryage.com/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@LeviT](https://discuss.binaryage.com/u/LeviT)\
**Post date:** [October 24, 2014, 5:09pm UTC](https://discuss.binaryage.com/t/window-groups-launching-incorrectly-in-10-10/2748/4 "2014-10-24T17:09:07Z")

</div>

Thanks for the quick response!

It is still not working for me:  
I ran this in the terminal:

```
defaults write com.apple.Terminal TotalTerminalDoNotOpenVisorDuringStartup -bool yes

```

and

```
defaults write com.apple.Terminal TotalTerminalCloseWindowsOnStart -bool no

```

Did I run these commands in the wrong place? I do not see any impact on my tT launch.

Here are all the steps I went through (or see below) [https://imgur.com/a/7JRUY](https://imgur.com/a/7JRUY)

Pre totalTerminal launch: About to launch totalTerminal  
[http://imgur.com/2xDvYIw](http://imgur.com/2xDvYIw)  
totalTerminal has launched, and has opened my window configuration.  
[http://imgur.com/itjyd3bt](http://imgur.com/itjyd3bt)  
totalTerminal initializes visor  
[http://imgur.com/RdeEx0t](http://imgur.com/RdeEx0t)  
I have pressed the hotkey to open total terminals visor, totalTerminal has initialized the visor, and removed the second tab.  
[http://imgur.com/dkEydB7](http://imgur.com/dkEydB7)

---

<div class="post-metadata">

**Author:** ![darwin](https://discuss.binaryage.com/user_avatar/discuss.binaryage.com/darwin/32/2275_2.png) [@darwin](https://discuss.binaryage.com/u/darwin)\
**Post date:** [October 29, 2014, 6:49pm UTC](https://discuss.binaryage.com/t/window-groups-launching-incorrectly-in-10-10/2748/5 "2014-10-29T18:49:05Z")

</div>

After second image. Who closed that restored Terminal window with two tabs?

TotalTerminalCloseWindowsOnStart should have prevented it.

---

<div class="post-metadata">

**Author:** ![darwin](https://discuss.binaryage.com/user_avatar/discuss.binaryage.com/darwin/32/2275_2.png) [@darwin](https://discuss.binaryage.com/u/darwin)\
**Post date:** [October 29, 2014, 6:54pm UTC](https://discuss.binaryage.com/t/window-groups-launching-incorrectly-in-10-10/2748/6 "2014-10-29T18:54:23Z")

</div>

Ah, just went through the code, and you should set:

```
defaults write com.apple.Terminal TotalTerminalDoNotTouchWindowsOnStart -bool yes

```

I’m sorry for so many confusing tweaks, but it has historical reasons. People were requesting different behaviours for different workflows and it got pretty complex.

Here is the relevant code if it helps:

> <https://gist.github.com/darwin/b8cba040c60f6c192a93>

---

<div class="post-metadata">

**Author:** ![Tug](https://discuss.binaryage.com/user_avatar/discuss.binaryage.com/tug/32/1308_2.png) [@Tug](https://discuss.binaryage.com/u/Tug)\
**Post date:** [April 26, 2015, 1:52pm UTC](https://discuss.binaryage.com/t/window-groups-launching-incorrectly-in-10-10/2748/7 "2015-04-26T13:52:11Z")

</div>

Hi,  
Could TotalTerminal open a window group itself ?  
Thx
