30

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?

27

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.

1
19

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.

4
  • Does that work for Unity as well?
    – orschiro
    Oct 22 '16 at 12:50
  • 2
    This should be the accepted answer, as it works out of the box and is just a small change.
    – rugk
    Jul 29 '18 at 14:19
  • 1
    Actually I opened a bug report to make this setting the default: gitlab.gnome.org/GNOME/mutter/issues/246 IMHO, everything else makes no sense. Feel free to upvote it. :)
    – rugk
    Jul 29 '18 at 14:33
  • the perfect answer I was looking for. Thanks
    – Mejan
    Jul 16 at 12:47
11

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

5
  • 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 2: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 & Ubuntu.
    – rugk
    Mar 30 '19 at 15:15
  • 1
    this was disabled in ubuntu 20.04 lts for some reason
    – dkocich
    Nov 13 '20 at 6:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.