Make Applications Start in the Center of Screen in Ubuntu

You might have experienced it but never paid enough attention to it.

If you open an application in Ubuntu, the application window usually starts in the top left, not at the center.

Is it a big deal? No, probably not.

However, it is a minor annoyance if you prefer to keep the applications in the center (when not in full-screen mode).

For me, this is particularly painful while using the terminal. I don’t use the terminal in full screen. The small terminal window in the center is more comfortable for me.

apps open left of screenapps open center of screen

If you share the same feeling, let me share a quick little tip that will open new application windows in the center of the screen.

You can use both command line and GUI methods for this purpose.

Method 1: Use GNOME Tweaks to center new application windows

If you don’t have it already, install GNOME Tweaks tool. You can get it from the software center or simply use the command:

sudo apt install gnome-tweaks

Once installed, open the Tweaks tool, go to Windows option in the sidebar and enable the ‘Center New Windows’ feature.

open new apps in the center of screen
Make new apps open in the center of screen

If you want to get the default behavior back, disable it in the same way.

Method 2: Use commands to center new applications

If you prefer the terminal, you can do the same using this command:

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

To get the default behavior of opening the applications in the top left, you can set it back like this:

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

As I said earlier, it’s not a major issue. Such a minor annoyance that you might not even have thought of changing this behavior. But now you know that there is a way to control it.

GNOME may not seem too customizable but it does provide granular control on the various aspects of the desktop experience.

Another small but useful tweak I like is to enable the click to minimize feature. You should explore that as well.

Tip shared by It’s FOSS reader Malcolm Dean.

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries πŸ•΅οΈβ€β™‚οΈ

It's FOSS

Making You a Better Linux User

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.