Categories: Ubuntu

How to Make Apps Start at Center in Ubuntu 24.04

In Ubuntu desktop, most app windows by default start at top-left of screen. It’s quite annoying, since you have to move app window before it’s ready for use.

So, in this tutorial I’m going to show you how to tweak you desktop, to make it start app window at screen center automatically.

Center App Windows in default GNOME Desktop

As far as I know, the most official flavors (e.g., XUbuntu, Ubuntu MATE, and KUbuntu) center new opened app windows out-of-the-box. While, the default GNOME desktop does not.

To enable this behavior, you can either run a single command in terminal or use a graphical configuration tool, like Gnome Tweaks of Dconf Editor.

Option
Sponsored
1: Use GNOME Tweaks

GNOME Tweaks, the popular Gnome desktop configuration tool, provides additional options that are not included in Gnome Control Center (aka Settings).

1. User can search and install the tool from either App Center (or Ubuntu Software in old Ubuntu), or Gnome Software in other Linux.

2. Then, launch GNOME Tweaks and navigate to “Windows” in left. Finally, find out and turn on the “Center New Windows” option in right.

That’s it. The change applies immediately after turning on the option.

Option 2: Run single command in terminal

For those who are OK with Linux commands, simply press Ctrl+Alt+T on keyboard to open up a terminal window.

Then, paste the command below into terminal and hit Enter:

gsettings set org.gnome.mutter center-new-windows true

That’s it.

Option 3: Use Dconf Editor tool

The previous 2 methods are usually enough. But for choice, there’s another tool can do the job.

Sponsored

It’s Dconf Editor, an advanced tool that includes tons of hidden configuration options. As changing some options may break your apps, it’s not recommended for beginners. Use it carefully.

First, search for and install “Dconf Editor” from App Center (or Ubuntu Software), after switching filter to “Debian package”.

Then, launch Dconf Editor, and click on “I’ll be careful” button. Next, navigate to ‘org -> gnome -> mutter’, and finally turn on the option for “center-new-windows”.

Center App Windows in XUbuntu XFCE Desktop

The XFCE Desktop by default center new app windows, however, you’ll find that many windows still start at screen top-left or any other position.

That’s because XFCE uses ‘Smart Placement’ feature to automatically center windows that are below a certain size. Windows above that size will be arranged automatically on the screen.

By launching “Settings Manager“, and navigate to Window Manager Tweaks -> Placement, you’ll see a slide bar to set the “Minimum size of windows to trigger smart placement”. You can move the slider to far right to be large, so any window below that size will start at center.

The post How to Make Apps Start at Center in Ubuntu 24.04 appeared first on Osgrove.

Ubuntu Server Admin

Recent Posts

Canonical announces 12 year Kubernetes LTS

Canonical’s Kubernetes LTS (Long Term Support) will support FedRAMP compliance and receive at least 12…

19 hours ago

Ubuntu Weekly Newsletter Issue 878

Welcome to the Ubuntu Weekly Newsletter, Issue 878 for the week of February 2 –…

2 days ago

How your feedback shapes the way we support open source software

At Canonical, we firmly believe that delivering an outstanding, customer-centric support experience is impossible without…

2 days ago

How To Install osTicket v1.14 On Ubuntu 20.04

I want to share how to install osTicket v1.14 for Ubuntu 20.04 server. osTicket written…

3 days ago

How To Install WordPress On Ubuntu 20.04

Now I want to share how to install WordPress on ubuntu 20.04 server. WordPress is…

3 days ago

How To Install DNS Server (Bind9) On Ubuntu 20.04

Now I want to share the DNS server installation process on your Ubuntu 20.04 server.…

3 days ago