This simple tutorial shows how to open new app windows in the center of the screen in Linux Min 22 Cinnamon.
When working with big screen monitor, it’s a bit annoying that app windows start in random screen corner. And, here’s how to make new window always open in center, so you don’t have to drag move it before ready to use.
This tutorial is tested and works in Linux Mint 22 with Cinnamon. For XFCE, you may see this tutorial instead.
Center New Windows in Cinnamon Desktop
Option 1: Graphical Option
Cinnamon has a graphical option to do the job.
Firstly, open “System Settings” from bottom-left start menu. When it opens, navigate to “Windows” under Preferences.
In next screen, switch to “Behavior” tab. Finally, set “Location of newly opened windows” to Center to do the job!
Option 2: Single command to center new windows
For those who are familiar with Linux command, the thing can also be done by running a single command in terminal.
Firstly, open terminal by either clicking bottom left app icon or pressing Ctrl+Alt+T key combination on keyboard.
Then, paste the command below into the terminal window and hit run:
gsettings set org.cinnamon.muffin placement-mode 'center'
That’s it. The change apply immediately after running the command!
If you want to restore the default window placement, just run the command below at anytime in terminal:
gsettings reset org.cinnamon.muffin placement-mode
That’s all. Enjoy!