16

I find this a highly annoying "feature" on a wide screen monitor that my mostly used apps - terminal and gedit always open directly under the top-left corner of my screen and I have to drag them to my eye position each and every-time.

I have tried installing the CompizConfig Settings Manager and using the feature to position windows centre, but this has had no effect - the force feature here isn't working for me either:

Window Management -> "place windows" -> Fixed Window Placement -> Windows with fixed positions example: gedit 200 200 keep-in-work-area-to-yes

I can use e.g. gnome-terminal --geometry=140x50+50+50 for the terminal but this doesn't work for gedit.

Any ideas?

Thanks

BobTodd
  • 263
  • 1
  • 2
  • 5

3 Answers3

16

Actually, since GNOME v3.30 there is a visible option in GNOME Tweaks, which makes it much easier to enable it:

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

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


Actually I found a solution for GNOME without compiz. You can either use

  • this extension if you have gnome-shell < v3.14
  • or open dconf and set center-new-windows in org.gnome.mutter to true: dconf open with org.gnome.mutter -> center-new-windows
rugk
  • 2,806
  • 6
  • 28
  • 58
  • 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:47
  • 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
  • Gnome Tweaks was the easiest option for me – Frank Fu Apr 26 '20 at 04:20
1

The Compiz “place windows” feature works for me. It won’t work if you just use gedit, though. Try title=gedit: alt text

Marcel Stimberg
  • 3,920
  • 1
  • 18
  • 14
0

It works for me as expected with Compiz and the Fixed Window Placement -> Windows with fixed positions set to:

Positioned windows: class=Gedit
200 200
keep-in-work-area: no
SkyRaT
  • 311
  • 2
  • 3