Unity – How to Start Terminal in Full Screen

command linemaximizedunitywindow

When I open a terminal using CTRL+ALT+T in Unity, I would like this window to be automatically maximized, rather than to have to additionally hit ALT+SPACE and the 'X' key to make the window that contains it maximized.

If my memory serves me right, I do remember that there used to be a maximize mode that we can set in preferences, but I can't seem to find it now. Any ideas?

Best Answer

You can use the Compiz Window Rules plugin for this.

  1. Make sure you have the CompizConfig Settings Manager installed Install compizconfig-settings-manager and run it.

  2. Then, enable the Window Rules plugin:

    enable window rules

    and set it so that windows with the class Gnome-terminal are matched:

    enter image description here

If you're using a different terminal, use the + button to build up a match expression for your terminal.

If you'd like your terminal to be fullscreen instead, you can use the appropriate rule in the plugin's config dialog.

In newer versions of Ubuntu (definitely in 16.04) you need to have compiz-plugins installed package to access Window Rules.
If you don't have it you need to install it with sudo apt install compiz-plugins and reboot.