Open windows in center of screen

If you are using Gnome with Compiz, install CompizConfig Settings Manager.

  • You can find it here:

enter image description here

  • Or install it via Terminal:

    sudo apt-get install compizconfig-settings-manager
    
  • Then open it and go to Window Management > Place Windows, enable it, and in "Placement Mode" choose Centered.


For newer version of gnome (3.14 or higher) compiz has been removed. you can now Open windows in center of screen by check center-new-windows in /org/gnome/mutter/ using dconf-editor.


Actually, in recent versions of Ubuntu it is enabled by default. And since GNOME v3.30 there is also a visible option in GNOME Tweaks:

GNOME Tweaks with Windows->"Center New Windows" highlighted

Just select "Center New Windows" under "Windows".