32

I'd like to have all of my windows open in the center of my screen instead of the top left corner. Is this possible? If so, where do I configure this?

Frantumn
  • 1,407
  • 4
  • 19
  • 29

3 Answers3

28

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.

Eliah Kagan
  • 116,445
  • 54
  • 318
  • 493
tuks
  • 1,516
  • 2
  • 13
  • 12
  • `compiz` has been removed from Debian, as [mentioned here](http://unix.stackexchange.com/questions/111115/no-installation-candidate-for-compiz). – 0 _ Mar 08 '16 at 20:32
22

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.

user41209
  • 639
  • 6
  • 16
15

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".

rugk
  • 891
  • 8
  • 10
  • Since this, and the original answer, both involve tweak tools I’m leaving the original answer as the main one. Yours is still a valued answer. Thank you – Frantumn Dec 21 '18 at 02:43
  • 1
    @Frantumn No, they don't both involve tweak tools. "Compiz" is a whole new window manager and a lot more. My answer is a nearly built-in tool in GNOME that just extends the settings. Using "Compiz" is a complicated workaround that I am not sure whether it still works anyway in recent Ubuntu versions. – rugk Dec 22 '18 at 17:30
  • Also see my comment: "in recent versions of Ubuntu it is enabled by default". As such the whole question is more or less obsolete now. – rugk Dec 22 '18 at 17:31
  • BTW, in contrast to what i said, (that it's the default in Ubuntu now) this topic is not dead and still in discussion in [Fedora](https://discussion.fedoraproject.org/t/should-gnome-center-new-windows-by-default-or-not/1413?u=rugk) & [Ubuntu](https://discourse.ubuntu.com/t/center-windows-by-default/10262?u=rugk). – rugk Mar 30 '19 at 15:15
  • 1
    this was disabled in ubuntu 20.04 lts for some reason – dkocich Nov 13 '20 at 06:23