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

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

🚀 Deploy Elastic Stack on Ubuntu VPS (5 Minute Quick-Start Guide)

Here’s the guide to deploy Elastic Stack on Ubuntu VPS, with secure access, HTTPS proxying,…

1 day ago

🚀 Deploy Nagios on Ubuntu VPS

This guide walks through deploying Nagios Core on an Ubuntu VPS, from system prep to…

2 days ago

Shoryuken Has a New Maintainer, and v7.0.0 Is Almost There

After a decade under Pablo Cantero's stewardship, Shoryuken has a new maintainer - me. I'm…

5 days ago

A better way to provision NVIDIA BlueField DPUs at scale with MAAS

MAAS 3.7 has been officially released and it includes a bunch of cool new features.…

2 weeks ago

Ruby Floats: When 2.6x Faster Is Actually Slower (and Then Faster Again)

Update: This article originally concluded that Eisel-Lemire wasn't worth it for Ruby. I was wrong.…

2 weeks ago

MicroCeph: why it’s the superior MinIO alternative (and how to use it)

Recently, the team at MinIO moved the open source project into maintenance mode and will…

2 weeks ago