In standard Ubuntu installations, application windows feature a close button, a minimise button, and a maximise button on the right side of window titlebars. However, after installing certain third-party software, switching desktop themes, or upgrading system components, users occasionally find that the minimise and maximise buttons have completely vanished, leaving only a lone close (X) button. For users accustomed to clicking titlebars to manage open windows, having to right-click titlebars or use keyboard shortcuts to resize windows is frustrating. Here is how to restore missing minimise and maximise buttons in Ubuntu.
Why Did the Titlebar Buttons Disappear?
The disappearance of window management buttons in Ubuntu is typically caused by one of three common triggers:
- Upstream GNOME Default Inheritance: Pure upstream GNOME defaults to showing only a single Close button. Certain desktop themes or extensions inadvertently overwrite Ubuntu’s custom configuration with standard GNOME defaults.
- Theme and Layout Configuration Glitches: Installing custom GTK themes or macOS-style icon packs can corrupt the
button-layoutstring stored in your desktop user profile. - Third-Party App Custom Titlebars: Some applications (such as Chromium, VS Code, or custom Flatpak packages) draw their own client-side decorations (CSD), which may temporarily fail to read system button preferences.
Method 1: Restore Buttons Using the Terminal (Instant Fix)
The fastest and most reliable way to restore both buttons across all applications is via a single gsettings command in the Terminal:
- Open the Terminal application on your Ubuntu desktop (press Ctrl + Alt + T).
- Enter the following command and press Enter:
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
The change applies immediately across all open windows with zero system lag or restart needed. Your window titlebars will instantly display the complete three-button array on the right-hand side.
Method 2: Restore Buttons Graphically Using GNOME Tweaks
If you prefer adjusting desktop settings using a graphical application:
- If GNOME Tweaks is not already installed on your system, install it via Terminal:
sudo apt update && sudo apt install gnome-tweaks -y
- Open your application grid and launch Tweaks.
- In the left navigation sidebar of the Tweaks window, click on Window Titlebars.
- Look for the section titled Titlebar Buttons.
- Locate the toggle switches for Maximize and Minimize.
- Click both toggles to turn them On.
Both buttons will reappear on your titlebars in real time.
How to Move Buttons to the Left Side (Mac Style)
Ubuntu allows you to position window buttons on the left or right side of titlebars according to your ergonomic preference. The position of the colon (:) in the configuration string determines whether buttons sit on the left or right:
Command for Left-Side Buttons
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'
This places the three buttons in the upper-left corner of all windows, mimicking the classic macOS interface.
Command to Reset to Default Ubuntu Right-Side Layout
gsettings reset org.gnome.desktop.wm.preferences button-layout
Understanding GNOME Button Layout Syntax
| Configuration String | Button Placement | Visual Layout |
|---|---|---|
':minimize,maximize,close' |
Right side (Standard Ubuntu) | Minimise, Maximise, Close on far right |
'close,minimize,maximize:' |
Left side (Mac style) | Close, Minimise, Maximise on far left |
':close' |
Right side (Upstream GNOME default) | Close button only; other buttons hidden |
'appmenu:minimize,maximize,close' |
Split layout | App menu on left; controls on right |
Frequently Asked Questions
Why do some apps like Chrome or Steam still show different buttons?
Applications that draw custom window titlebars (Client-Side Decorations) manage button rendering within their own internal settings. For Google Chrome, right-click an empty area of the tab bar and check Use system title bar and borders to enforce Ubuntu’s native button layout.
Does running this command require administrator (sudo) rights?
No. The org.gnome.desktop.wm.preferences schema stores window manager preferences in your personal user profile, so standard user permissions are sufficient.
Can I still minimise windows using keyboard shortcuts?
Yes. Even if buttons are hidden, you can manage windows using standard keyboard shortcuts: press Super (Windows Key) + H to minimise, or press Alt + Space to open the window operations context menu.