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

How to Fix VMware’s “Could not open /dev/vmmon” Error on Ubuntu

You’ve recently installed VMware Workstation on your Ubuntu system and encountered the frustrating “Could not…

5 hours ago

How to Fix Ubuntu 404 Errors While Fetching Dependencies

Have you ever found yourself staring at a terminal full of 404 errors while trying…

5 hours ago

How to Fix ‘Please Install All Available Updates’ Error When Upgrading Ubuntu 18.04 to 20.04 LTS

One particularly frustrating error that many users face when trying to upgrade from Ubuntu 18.04 …

5 hours ago

How to fix “Release is not valid yet” Error in Docker Containers

In the world of containerization, time synchronization issues can create unexpected roadblocks when working with…

5 hours ago

How to fix “Externally Managed Environment” Pip Errors on Ubuntu

If you’ve recently upgraded to Ubuntu 23.04 or newer, you might have encountered a frustrating…

5 hours ago

Ubuntu now officially supports NVIDIA Jetson: powering the future of AI at the edge

Canonical announces the General Availability of Ubuntu for the NVIDIA® Jetson Orin™ for edge AI…

12 hours ago