How to Disable Active Window Buttons from the Top Bar in Ubuntu
On modern Ubuntu desktops, window controls (close, minimize, maximize) can appear in two places:
- On the window’s title bar itself
- Embedded into the top bar/panel when a window is maximized (often called integrated title bar buttons or header bar buttons)
If you’re asking how to “disable active window button from topbar in Ubuntu,” you’re probably trying to remove or change those window buttons that show up in the top bar when an app is maximized, or you want to keep window buttons only inside the window, not on the panel.
This behavior depends heavily on:
- Which Ubuntu version you’re running
- Which desktop environment you use (GNOME, Unity, KDE Plasma, etc.)
- Whether you’ve installed GNOME extensions or third‑party tweaks
Let’s walk through what’s going on and how you can control it.
1. What Are “Active Window Buttons” on the Top Bar?
On Ubuntu with GNOME Shell (the default since Ubuntu 17.10), the top bar is normally a global panel that shows:
- The Activities button or workspace overview
- The clock
- System icons (network, sound, power)
By default, GNOME doesn’t put window controls there. But you might see window buttons on the top bar if:
- You are using an extension like “Pixel Saver”, “No Title Bar”, or “Hide Top Bar” variants that move window buttons into the top panel.
- You’re on an older Ubuntu with Unity (14.04–17.04), where global menus and integrated window buttons were a thing.
- You installed a “Global Menu + Buttons” extension that mimics Unity’s style.
These top-bar window buttons usually:
- Appear only for the active (focused) window
- Show close / minimize / maximize icons in the top panel
- Often remove or hide the window’s own title bar, to save vertical space
Disabling them usually means either:
- Turning off a GNOME extension, or
- Changing a desktop environment setting that controls this integration.
2. How to Disable Top-Bar Window Buttons in Common Ubuntu Setups
The exact steps depend on what’s providing those buttons. Below are the most likely scenarios and what typically controls them.
A. Ubuntu GNOME with a Title-Bar/Pixel-Saving Extension
If you’re running a normal modern Ubuntu (e.g., 20.04, 22.04, 24.04) with the default GNOME desktop, and you see window buttons in the top bar when apps are maximized, the behavior usually comes from a GNOME Shell extension.
Common ones that do this:
- Pixel Saver
- No Title Bar or No Title Bar – Fork
- Unite
- Other “CSD/SSD merge” or “Global Menu & Buttons” extensions
To disable the active window buttons from the top bar:
1. Check Installed GNOME Extensions
Option 1: Using the Extensions app (GUI)
Most Ubuntu GNOME installs support this:
- Open “Extensions” (search for “Extensions” in Activities or the app grid).
- Look for entries like:
- Pixel Saver
- No Title Bar
- Unite
- Global Menu
- Anything mentioning “title bar”, “buttons”, or “top panel”
- Toggle the extension off.
Changes usually apply immediately; you may see the top bar flicker or windows redraw.
Option 2: Using the GNOME Extensions website
If you have the browser integration:
- Go to:
https://extensions.gnome.org/local/ - Sign in if required and allow browser integration if you haven’t already.
- Check the list of enabled extensions.
- Turn off any extension matched to:
- Title bar removal
- Window buttons on top bar
- Global buttons or global menus
2. Restart GNOME Shell If Needed
On Xorg sessions you can reload GNOME Shell:
- Press Alt + F2, type
r, and press Enter.
On Wayland, you can’t reload like this; instead log out and log back in.
After disabling the offending extension, window controls should return to normal inside the app window, and the top bar should stop showing the active window’s buttons.
B. Older Ubuntu with Unity (Global Menu + Buttons in Top Panel)
If you’re on an older Ubuntu release using Unity (for example, 16.04), the top panel can show window controls and menus for the active window when it’s maximized. That’s the classic Unity behavior.
In that setup, you have fewer fine‑grained options, but some key tools help:
1. Use dconf-editor or Unity Tweak Tools
Unity uses Compiz and certain plugins to decide:
- Whether window title bars are merged with the top panel
- Whether buttons are shuffled to the panel or stay on the window
Tools that often control this:
- Unity Tweak Tool (on old Unity systems)
- CompizConfig Settings Manager (CCSM)
Typical approach:
- Install the tools if available on your version (for Unity-based Ubuntu).
- Look for options like:
- Window decoration
- Maximized windows placement
- Top panel integration
- Disable features that say things like:
- “Hide title bar when maximized”
- “Use top panel for window buttons”
Because Unity is older and no longer the default, the exact names can vary by version and plugin pack.
C. Custom Desktops (KDE, Xfce, Cinnamon, etc.) Emulating Unity or GNOME
If you’ve installed KDE Plasma, Xfce, Cinnamon, or another desktop on Ubuntu, but still see buttons in the top bar, then you may have:
- A panel widget (in KDE) showing window controls
- A plugin or panel applet (in Xfce, Cinnamon, MATE) that integrates buttons into the top panel
Each environment handles this differently:
| Desktop Environment | Typical Name of Feature / Component | Where to Disable |
|---|---|---|
| KDE Plasma | Window Buttons widget / Titlebar buttons in panel | Panel edit mode → Remove widget or disable “Window Buttons” |
| Xfce | Window buttons plugin / window applet | Panel settings → Items → Remove “Window Buttons” plugin |
| Cinnamon | Window list / applet that may show integrated buttons | Panel settings → Applets → Disable relevant applet |
| MATE | Global menu or window buttons applet | Panel → Right-click → Remove applet |
In these cases, you typically:
- Right‑click the top panel.
- Choose Panel settings, Configure, or Edit panel.
- Locate any “window buttons” style widget.
- Remove or disable it.
D. GNOME Tweaks: Button Layout vs. Top Bar Buttons
You may also have experimented with button layout (deciding which side of a window the close button goes on). This is a different setting, but related:
- GNOME lets you move buttons like maximize/minimize/close to the left or right of the window title bar via:
- GNOME Tweaks → Windows → Titlebar Buttons
- Or the
gsettingskey:org.gnome.desktop.wm.preferences button-layout
This does not, by itself, move buttons to the top bar. However, if a title‑bar‑saving extension is active, that extension might respect your button layout and mirror it into the top panel.
So to completely stop seeing active window buttons in the top bar:
- Disable the extension or plugin putting them there (as above).
- Then, if you like, change the button layout in GNOME Tweaks to whatever feels comfortable for you—this now only affects the window’s own title bar.
3. Factors That Change How You Disable These Buttons
The specific solution depends on a few variables that matter more than people often realize:
A. Ubuntu Version and Desktop Environment
This is the biggest factor.
Ubuntu 17.10+ (GNOME)
- Uses GNOME Shell by default.
- Top bar buttons usually come from GNOME extensions.
- Fix: Disable relevant extensions via Extensions app or website.
Ubuntu 14.04–17.04 (Unity)
- Uses Unity desktop with built‑in global menu / top bar integration.
- Fix: Change Unity / Compiz settings.
Flavors (Kubuntu, Xubuntu, Ubuntu MATE, etc.)
- Each flavor uses its own panel system and applets.
- Fix: Remove the widget/applet controlling top bar window buttons.
B. Display Server: Xorg vs. Wayland
On Xorg:
- Some older extensions like Pixel Saver were written for X.
- You can often restart GNOME Shell with Alt + F2 →
r.
On Wayland:
- Not all old extensions work reliably.
- GNOME Shell restart means logging out and back in.
If an extension doesn’t show in the Extensions app but still seems to alter window behavior, it can be a compatibility issue between that extension and Wayland or your GNOME version.
C. Theme and Title Bar Style (CSD vs. SSD)
Apps use different decoration styles:
- CSD (Client-Side Decorations): The app draws its own title bar (common in GNOME apps).
- SSD (Server-Side Decorations): The window manager draws the title bar (common in many non-GNOME apps).
Some extensions focus specifically on merging SSD title bars into the top bar, while CSD apps already have built‑in header bars. So:
- Disabling an extension may affect only certain apps.
- You might still see integrated-looking buttons in GNOME apps due to CSD header bars, even though they’re not in the top bar panel itself.
4. Different User Profiles, Different Outcomes
Because so many layers can influence this (desktop environment, extensions, plugins, themes), two people both running “Ubuntu” can have very different experiences.
A few examples of how setups differ:
Minimalist GNOME user
- No extra extensions, default Ubuntu GNOME.
- Likely never sees active window buttons in the top bar.
- Only needs to use GNOME Tweaks to adjust button layout in the title bar.
Power user with many GNOME extensions
- Has Pixel Saver or Unite installed to save space.
- Buttons move from the window into the top bar on maximize.
- Needs to identify and disable that one extension, but may want to keep others active.
Longtime Unity user on an older LTS
- Used to global menubars and integrated panel buttons.
- Disabling top bar buttons might mean undoing a core Unity behavior via Compiz/Unity settings, changing a workflow they’re very used to.
Kubuntu / Xubuntu / MATE user
- Top bar behavior entirely different from GNOME.
- Needs to work in panel settings and widgets, not GNOME Extensions or Unity settings.
The exact “best” approach depends on which combination of these applies to you.
5. Where Your Own Setup Becomes the Missing Piece
The core idea is straightforward:
- Those active window buttons on Ubuntu’s top bar are not magic.
- They are almost always controlled by:
- A GNOME Shell extension
- A Unity/Compiz plugin
- Or a panel widget/applet in an alternate desktop
Disabling them usually means:
- Identifying which desktop environment (and version) you’re actually using.
- Finding the extension, plugin, or applet that merges window buttons into the top panel.
- Turning that feature off, and optionally adjusting window button layout inside the windows themselves.
How you do that in practice hinges entirely on:
- Your exact Ubuntu release
- Whether you’re on GNOME, Unity, KDE, Xfce, Cinnamon, MATE, or something else
- Which tweaks or extensions you’ve added over time
Once you match these pieces to your own system, the path to disabling those top-bar buttons becomes much clearer.