{"id":46445,"date":"2024-05-01T08:02:59","date_gmt":"2024-05-01T08:02:59","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=46445"},"modified":"2024-05-01T08:02:59","modified_gmt":"2024-05-01T08:02:59","slug":"start-center-ubuntu-2404","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2024\/05\/start-center-ubuntu-2404\/","title":{"rendered":"How to Make Apps Start at Center in Ubuntu 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-44710\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/11\/gnome-logo-dark.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>In Ubuntu desktop, most app windows by default start at top-left of screen. It&#8217;s quite annoying, since you have to move app window before it&#8217;s ready for use.<\/p>\n<p>So, in this tutorial I&#8217;m going to show you how to tweak you desktop, to make it start app window at screen center automatically.<br \/>\n<!--more--><\/p>\n<h3>Center App Windows in default GNOME Desktop<\/h3>\n<p>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.<\/p>\n<p>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.<\/p>\n<h4>Option 1: Use GNOME Tweaks<\/h4>\n<p>GNOME Tweaks, the popular Gnome desktop configuration tool, provides additional options that are not included in Gnome Control Center (aka Settings).<\/p>\n<p>1. User can search and install the tool from either App Center (or Ubuntu Software in old Ubuntu), or Gnome Software in other Linux.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/gnome-tweaks-appcenter.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46435\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/gnome-tweaks-appcenter-700x455.webp\" alt=\"\" width=\"610\" height=\"397\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/gnome-tweaks-appcenter-700x455.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/gnome-tweaks-appcenter-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/gnome-tweaks-appcenter-768x499.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/04\/gnome-tweaks-appcenter.webp 1085w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>2. Then, launch GNOME Tweaks and navigate to &#8220;Windows&#8221; in left. Finally, find out and turn on the &#8220;Center New Windows&#8221; option in right.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/tweak-centernewwindow.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46446\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/tweak-centernewwindow-700x506.webp\" alt=\"\" width=\"610\" height=\"441\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/tweak-centernewwindow-700x506.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/tweak-centernewwindow-300x217.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/tweak-centernewwindow-768x555.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/tweak-centernewwindow.webp 1069w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<p>That&#8217;s it. The change applies immediately after turning on the option.<\/p>\n<h4>Option 2: Run single command in terminal<\/h4>\n<p>For those who are OK with Linux commands, simply press <code>Ctrl+Alt+T<\/code> on keyboard to open up a terminal window.<\/p>\n<p>Then, paste the command below into terminal and hit Enter:<\/p>\n<pre>gsettings set org.gnome.mutter center-new-windows true<\/pre>\n<p>That&#8217;s it.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gsettings-centernewwindow.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46447\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gsettings-centernewwindow-700x404.webp\" alt=\"\" width=\"610\" height=\"352\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gsettings-centernewwindow-700x404.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gsettings-centernewwindow-300x173.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/gsettings-centernewwindow.webp 706w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h4>Option 3: Use Dconf Editor tool<\/h4>\n<p>The previous 2 methods are usually enough. But for choice, there&#8217;s another tool can do the job.<\/p>\n<p>It&#8217;s <b>Dconf Editor<\/b>, an advanced tool that includes tons of hidden configuration options. As changing some options may break your apps, it&#8217;s not recommended for beginners. Use it carefully.<\/p>\n<p>First, search for and install &#8220;Dconf Editor&#8221; from App Center (or Ubuntu Software), after switching filter to &#8220;Debian package&#8221;.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/install-dconf-editor.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44523\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/install-dconf-editor-600x368.webp\" alt=\"\" width=\"600\" height=\"368\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/install-dconf-editor-600x368.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/install-dconf-editor-300x184.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/install-dconf-editor-768x472.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/10\/install-dconf-editor.webp 1104w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Then, launch <b>Dconf Editor<\/b>, and click on &#8220;I&#8217;ll be careful&#8221; button. Next, navigate to &#8216;org -&gt; gnome -&gt; mutter&#8217;, and finally turn on the option for &#8220;center-new-windows&#8221;.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/df-centernewwindow.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46448\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/df-centernewwindow-700x505.webp\" alt=\"\" width=\"610\" height=\"440\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/df-centernewwindow-700x505.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/df-centernewwindow-300x216.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/df-centernewwindow-768x554.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/df-centernewwindow.webp 796w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>\n<h3>Center App Windows in XUbuntu XFCE Desktop<\/h3>\n<p>The XFCE Desktop by default center new app windows, however, you&#8217;ll find that many windows still start at screen top-left or any other position.<\/p>\n<p>That&#8217;s because XFCE uses &#8216;Smart Placement&#8217; feature to automatically center windows that are below a certain size. Windows above that size will be arranged automatically on the screen.<\/p>\n<p>By launching &#8220;<b>Settings Manager<\/b>&#8220;, and navigate to <b>Window Manager Tweaks<\/b> -&gt; <b>Placement<\/b>, you&#8217;ll see a slide bar to set the &#8220;Minimum size of windows to trigger smart placement&#8221;. You can move the slider to far right to be large, so any window below that size will start at center.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/xubuntu-noble-centerwindow.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-46449\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/xubuntu-noble-centerwindow-700x528.webp\" alt=\"\" width=\"610\" height=\"460\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/xubuntu-noble-centerwindow-700x528.webp 700w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/xubuntu-noble-centerwindow-300x226.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/xubuntu-noble-centerwindow-768x580.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2024\/05\/xubuntu-noble-centerwindow.webp 795w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>In Ubuntu desktop, most app windows by default start at top-left of screen. It&#8217;s quite annoying, since you have to move app window before it&#8217;s ready for use. So, in this tutorial I&#8217;m going to show you how to tweak you desktop, to make it start app window at screen center automatically.<\/p>\n","protected":false},"author":1,"featured_media":44710,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[689],"class_list":["post-46445","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-gnome"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=46445"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/46445\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/44710"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=46445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=46445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=46445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}