How to open tmux session by default on opening a terminal?

I’m running this theia IDE in container, and i wanted to start a Tmux session buy default when someone opens a terminal tab.

So basically, i want to replace the default shell to tmux.

Hi @vivek9patel,

There are terminal preferences, which determine which shell process to start when starting a terminal:

You can change the default by setting up a section in the package.json of your app like this:

  {
    "private": true,
    "name": "myapp",
    "theia": {
      "frontend": {
        "config": {
          "preferences": {
            "terminal.integrated.shell.linux": "bin/tmux"
          }
        }
      }
    }
  }
1 Like