Key Takeaways

  • Fedora’s GNOME desktop lacks minimize and maximize buttons, making it confusing for newcomers.
  • You can restore them with this command in a terminal window “gsettings set org.gnome.desktop.wm.preferences button-layout ‘appmenu:minimize,maximize,close’.” You can also use GNOME Tweaks to restore the missing buttons.
  • Tweaking desktop settings in Linux is optional, but it offers the freedom to customize your Linux experience and to work around annoyances.


Fedora’s GNOME desktop windows neither have minimize nor maximize buttons. It’s counterproductive because it makes the Linux desktop even more alien to newcomers. Here are two different ways to get them back.


Where Are the Standard Buttons?

Let’s clear this up, right out of the gate. It isn’t Fedora’s fault. Other distributions such as Ubuntu have minimize and maximize buttons on GNOME, but Fedora didn’t remove the buttons. The GNOME developers removed them, a long time ago.

Fedora Linux gives you GNOME in its untouched fresh-from-the-box state. The buttons are only present on the GNOME desktops of other distributions because those distributions have tweaked the version of GNOME they ship.

I like the GNOME desktop. It’s the desktop environment I recommend Linux newcomers cut their teeth with, and Fedora is a great distribution for newbies, so they go hand in hand. But those missing buttons confuse people. We’re so used to seeing them, that their absence is akin to a culture shock.

There are other ways to remove a window from the desktop and return to it, effectively replacing the missing minimize and maximize functionality, but they’re not immediately apparent.

Double-clicking a title bar will expand a window to fill the entire desktop. That’s great, but sometimes it’s easier said than done. On a browser with a lot of open tabs, for example, you can struggle to find a tiny gap between the tabs that you can double-click on. Dragging a window upwards so that it bounces against the top edge of the desktop will also maximize it.

In GNOME, you don’t minimize windows. There’s nothing for a window to minimize to. There’s no taskbar like you have on Windows.

If you’re running a dock, you can configure it to have an indicator beneath the launcher for that application, so that you know there’s a running instance of that application. Some docks support clicking the launcher icon to restore or hide an application. That only works when the dock is in view, though. If your dock is auto-hiding, you need to make the dock visible first, which makes it a two-step process.

You can right-click the title bar of the application window and select “Hide” (or a similarly worded option) from the drop-down menu, but that’s a two-step process too.

The official GNOME stance is you should be using workspaces to organize your windows, and the activities overview to switch between applications. GNOME also supports using Alt+Tab or Super+Tab to cycle through your running applications.

All of these options are workable, but they’re not immediately apparent, and they’re not particularly discoverable. The good news is that if Canonical can tweak their GNOME to restore the minimize and maximize buttons, so can we. And there are two simple ways to do it.

Restoring the Buttons Using GNOME Tweaks

The GNOME Tweaks tool lets you adjust a lot of desktop settings, not just the buttons in the title bar of a window. To install it on Fedora, type:

sudo dnf install gnome-tweaks

To launch Tweaks, press the Super key and start to type “tweaks.” You’ll see the Tweaks icon.

Launching GNOME Tweaks

Click the icon to start the program. The main screen of the application will appear. In the sidebar, click the “Windows” option.

The main GNOME Tweaks window

You’ll see two sliders in the “Titlebar Buttons” section labeled “Maximize” and “Minimize.”

The Windows pane of the GNOME Tweaks tool

To restore each of the missing buttons, activate the sliders by clicking on them. The buttons appear or disappear as soon as the sliders are moved.

The GNOME Tweaks tool with the maximize and minimize buttons restored to the toolbar

There’s also a toggle button labeled “Placement.” You can use it to position the buttons at the left or right end of the window title bar.

Restoring the Buttons Using the Command Line

We can use the gsettings command in a terminal window to turn on and off our maximize and minimize buttons.

The command is quite long, but it’s actually very simple.

gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close'

From left to right, we’re using the gsettings command with the set option to adjust some GNOME desktop preferences, specifically the button-layout options. We’re asking for the minimize, maximize, and close buttons to be present. As soon as you hit the Enter key, the buttons appear on the title bar of the terminal window.

The minimize and maximize buttons restored and displayed in the titlebar of a terminal window

You can select any permutation of buttons, just include the name of the buttons you want and omit the ones you don’t want.

Another trick you can do with this command is to set the buttons to appear on the left or right end of the window title bar. To have the buttons appear on the left, move the names of the buttons so that they are before the “appmenu” list entry.

gsettings set org.gnome.desktop.wm.preferences button-layout 'minimize,maximize,close:appmenu'

Using the gsettings command to position the minimize and maximize buttons to the left hand end of the titlebar

As soon as you hit the Enter key on the command, the buttons move to the other side of the window title bar.

The buttons are on the left, but they look a little odd. The close button is the innermost button, but it’s usually the outermost one. Let’s fix that. The order of the buttons in the command dictates the order they appear on the title bar. We’ll move the close button to be first in the list of buttons.

gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:appmenu'

That gives the window a more natural look.

A terminal window with the close button outermost on the left hand end of the titlebar

You’ve Always Got a Choice With Fedora

It’s rare that a Linux distribution or desktop environment exactly matches your personal preferences. There’s usually some compromise somewhere along the line. Tweaking lets you adjust, work around, or remove little annoyances.

Tweaking is optional. You don’t need to do it to use Linux, but it’s there if you want it. Some people tweak one or two little things that they don’t like, while others take tweaking to another level and completely customize their Linux experience. That’s why, when people ask me “What’s the best thing about Linux?”, I always tell them it’s freedom of choice.

Source link