Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Ubuntu Top Bar Auto Hide: How to Enable

· 5 min read · Home Tech

In this article
  1. What the Ubuntu Top Bar Is
  2. Why There Is No Built-in Setting
  3. How the Hide Top Bar Extension Works
  4. Step-by-Step: Install and Configure
  5. Common Problems and Fixes
  6. Alternative Methods
  7. Is It Safe and Does It Affect Performance?
  8. Frequently Asked Questions

To auto-hide the Ubuntu top bar, you need to install and configure a GNOME Shell extension called Hide Top Bar. This extension adds a toggle in the GNOME Extensions app, letting you hide the bar automatically when a window is maximized or when the pointer moves away.

What the Ubuntu Top Bar Is

The top bar is the slim strip at the top of the screen in Ubuntu's default GNOME desktop. It shows the Activities button, the app menu, the clock, and system indicators like Wi‑Fi, sound, and battery. By default, the bar is always visible, even when a window is maximized. Some users prefer to hide it to gain a few extra pixels of screen space or to reduce visual clutter.

Why There Is No Built-in Setting

Ubuntu's default GNOME session does not include a native option to auto-hide the top bar. The setting exists in some other desktop environments (like KDE Plasma), but GNOME intentionally keeps the top bar visible to maintain consistent access to system controls. To change this behavior, you must rely on a community-made extension that modifies GNOME Shell's behavior.

How the Hide Top Bar Extension Works

The Hide Top Bar extension gives you two main hiding modes:

  • Hide when maximized – The bar slides out of view only when a window is maximized, giving you a truly full-screen view.
  • Hide when pointer is away – The bar disappears when you move the mouse cursor away from the top edge, and reappears when you move the cursor back to the top.

You can enable either mode or both. The extension also offers a setting to always show the bar when the Activities overview is open, so you don't lose access to the search and workspace switcher.

Step-by-Step: Install and Configure

  1. Open the Ubuntu Software app and search for “Hide Top Bar”.
  2. Click Install on the extension (it is published by “kyle.ace”).
  3. After installation, open the Extensions app (you can find it in the app grid or by running gnome-extensions-app).
  4. In the Extensions app, find Hide Top Bar and toggle it on.
  5. Click the gear icon next to the toggle to open its settings.
  6. Under Intelligence Mode, choose one of the options:
    • None – disables hiding (bar always visible).
    • Window Maximized – hide only when a window is maximized.
    • Always – hide whenever the pointer is not over the bar.
    • Window Maximized or Always – combines both conditions.
  7. Adjust the Animation Duration if you want a faster or slower slide effect.
  8. Close the settings window – the change takes effect immediately.

Common Problems and Fixes

After installing the extension, you might encounter a few issues:

  • Extension doesn't appear in Extensions app – Make sure you installed the correct package. The extension should be listed as “Hide Top Bar”. If it still doesn't show, log out and back in.
  • Top bar doesn't hide – Check that the extension is toggled on and that you selected a mode other than “None”. Also verify that the extension is compatible with your GNOME version (most recent versions are).
  • Bar flickers or doesn't reappear – Try disabling and re-enabling the extension, or restart GNOME Shell by pressing Alt+F2, typing r, and pressing Enter (in Xorg sessions only).
  • Works in Xorg but not Wayland – Some extensions have limited support on Wayland. If you're on Wayland, try switching to an Xorg session at the login screen.

Alternative Methods

If you prefer not to install an extension, there are a few other ways to get a hidden top bar:

  • Use a different desktop environment – KDE Plasma and Xfce both have built-in auto-hide panel settings. You can install them with sudo apt install kubuntu-desktop or sudo apt install xubuntu-desktop and choose the environment at login.
  • Use a GNOME Shell theme – Some themes modify the top bar's transparency, but they do not actually hide it. This only gives a visual effect, not a functional auto-hide.
  • Use a tiling window manager – If you're comfortable with more advanced setups, window managers like i3 or Sway can be configured to not show a bar at all.

Is It Safe and Does It Affect Performance?

Yes, the Hide Top Bar extension is safe to use. It is a well-maintained community extension and does not modify system files. The performance impact is negligible – it only runs a small script that checks the window state and pointer position. If you ever want to revert, simply toggle the extension off or uninstall it from Ubuntu Software.

Frequently Asked Questions

Will the top bar hide in the Activities overview?

By default, the extension keeps the bar visible when the Activities overview is open. You can change this in the extension's settings with the “Always Show Top Bar in Overview” toggle. If you disable it, the bar will hide even during overview, but you'll still be able to access the search by moving the pointer to the top.

Does this work on Ubuntu 22.04 or 24.04?

Yes, the Hide Top Bar extension works on Ubuntu 22.04 LTS and 24.04 LTS, as well as newer versions. It is compatible with GNOME 42 and later. If you have an older Ubuntu version, check the extension's compatibility in the Extensions app.

Can I auto-hide only the clock or system icons?

No, the extension hides the entire top bar, not individual elements. To hide specific icons, you would need additional extensions like “AppIndicator and KStatusNotifierItem Support” or a custom GNOME Shell theme that removes certain indicators.

Why doesn't the bar hide when I press the Super key?

The Super key opens the Activities overview, and by default the extension shows the bar during overview. If you want the bar to hide even when you press Super, you need to disable the “Always Show Top Bar in Overview” option in the extension settings. Keep in mind that this might make it harder to see the search bar.

Is there a keyboard shortcut to toggle the top bar?

No, the Hide Top Bar extension does not provide a keyboard shortcut. However, you can create a custom shortcut using GNOME's Settings > Keyboard > View and Customize Shortcuts, but you would need to run a command that toggles the extension, which is not straightforward. The easiest way is to use the mouse or simply rely on the automatic hiding.