Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Terminator - Change Default Window Size

I find that the Terminator terminal is too "skinny" when it launches and could not figure out how to make it wider through the preferences. Luckily it is easy enough to fix this through a config file.

Steps

editor $HOME/.config/terminator/config

You will see a config file like so:

[global_config]
[keybindings]
[layouts]
  [[default]]
    [[[child1]]]
      parent = window0
      profile = default
      type = Terminal
    [[[window0]]]
      parent = ""
      type = Window
[plugins]
[profiles]
  [[default]]
    allow_bold = False
    cursor_color = "#aaaaaa"
    font = Ubuntu Mono Bold 10
    use_system_font = False

I added size = 900, 400 under [[[window0]]] so it now looks like:

[global_config]
[keybindings]
[layouts]
  [[default]]
    [[[child1]]]
      parent = window0
      profile = default
      type = Terminal
    [[[window0]]]
      parent = ""
      size = 900, 400
      type = Window
[plugins]
[profiles]
  [[default]]
    allow_bold = False
    cursor_color = "#aaaaaa"
    font = Ubuntu Mono Bold 10
    use_system_font = False

If you already have size in there, then just adjust it.

As Jerm points out in the comments, the size units are in pixels, and not characters, so you are more likely to want to set a width to 1200, rather than 120 etc.

References

Last updated: 15th July 2023
First published: 8th February 2020