This guide will show you how to move the Close, Maximize and Minimize buttons in Ubuntu from one side of the window bar to the other.
Ubuntu has gone back and forth (no pun intended) regarding the location of the “Close”, “Maximize” and “Minimize” buttons that appear in the window bar of every app/screen in Ubuntu. Sometimes they’re on the right side, sometimes the left. Here are the steps to set those buttons to the left or right side of the window bar.
- The first thing to do is install the dconf Editor. Open a terminal and enter the command:
- Once it’s been installed, open your App list and select dconf Editor
- Click the I’ll be careful button when the warning screen appears.
- Once dconf Editor has opened, click the Search button (the one that looks like a magnifying glass).
- Enter the word button in the search field. After a moment a bunch of search results will appear. Scroll down until you find the section titled org.gnome.desktop.wp.preferences
Inside of that section locate the line with the text ‘:minimize,maximize,close’ and double-click it.
- Toggle the Use default value switch to the OFF position.
- Once the Use default value switch is OFF, look for the Custom value field. This is where the magic happens. The location of the colon ( : ) determines the location of the Minimize, Maximize and Close buttons. If the colon is at the beginning of the minimize,maximize,close string, the buttons will be on the left side of the window bar. If the colon is at the end of the minimize,maximize,close string, the buttons will be on the right side of the window bar. Once you’ve made the change, click the green “check mark” button (see screenshot below) to apply the new setting right away.
- Ta-da! The buttons will have moved to the other side of the dconf Editor app …
- and all of your other apps!
- If you ever want to revert your change, just open the dconf Editor again and turn the Use default value switch back ON. That’s it!
sudo apt install dconf-editor
If you want to customize your Ubuntu desktop even more, check out our guide on installing Ubuntu themes!