One of our readers wrote to me, “I have installed Fedora Linux on my System, and I’m facing difficulty to minimize and maximize because the Default button to maximize and minimize is not available on the top right of the screen just a single Close button is available.
It’s very annoying to switch to different applications every time I need to press Super Button to choose the application or right-click on top of the applications and do minimize.”
This incident was reported multiple times to us, and I assured all of them that I’ll provide some solutions for it.
It’s quite common for Ubuntu, CentOS, RedHat, Fedora, OpenSUSE to ship with Default Gnome Desktop Environment.
Types of a Linux File Systems
In OpenSUSE, you are allowed to choose a different desktop environment while Installing, but for others, you don’t have the options.
If it is your first experience with Linux, you will miss the Default button to Minimize and Maximize. To get back to the standard button, you need to follow my instructions and you will see the missing buttons.
Prerequisites
- Privilege account (sudo users)
- Terminal
- Gnome Desktop Environment
How the problem look like
Below is my terminal screen where you can see only the close button and you will not find the minimize and maximize buttons.
Missing Minimize and Maximize Button
In this guide article, we set out to resolve this issue and get back the Minimize and Maximize buttons on the title bar.
You can solve this problem by terminal method or by GUI. It is up to you to decide which method you prefer.
Command-line Method
I personally use this method to configure or retrieve the Minimize and Maximize buttons on the title bar, and you can do the same without entering sudo password.
It is very simple. You just need to do copy-paste the below command, and boom, all the buttons will show up.
gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close"
Minimize and Maximize Button show up on the right side
The above command is not only used to bring back buttons. You can also configure button positions.
If you want to have all buttons on the top left side of the Title bar pass the below commands:
gsettings set org.gnome.desktop.wm.preferences button-layout "close,minimize,maximize:"
That’s all to get back Minimize and Maximize button on the title bar using the command method, isn’t that simple?
GUI Method
This is another method. If you don’t want to use a command-line method, you can use the below step to get back Minimize and Maximize button.
For this method, you will require to have root access to Download and Install gnome-tweak tools.
Install Gnome Tweaks tools
First, we need to install Gnome Tweaks tools into our system. Before that, once check whether tweaks tools are already installed. To check Tweaks tools, press the Super Key and search for “Tweaks”, If it is installed, you can skip this step.
In my case, I didn’t find the “Tweaks tools”, so I’ll download and install it from the terminal. To install pass the below command or do-copy paste:
For Ubuntu & Debian user
$ sudo apt install gnome-tweaks -y
For CentOS/ RHEL/ Fedora user
$ sudo yum -y install gnome-tweak-tool
Configure Windows
Once the “gnome-tweaks tool” is installed, you can run this application from the terminal itself using gnome-tweaks
command or Press the Super key and search for “Tweaks”.
Search Tweaks on App Manager
You will get several options to customize the gnome environment as per your preference, but now we are interested in getting the back Maximize and Minimize Button on Title bar.
To get that go to Windows tabs on the left side which will show you multiple options to customize; on the bottom, you will see the options for Titlebar Buttons.
Turn on both options Maximize and Minimize to get a button on the title bar.
Gnome-Tweaks to restore Button
As soon as you turn on this button, you will see Buttons on the title bar.
Wrap Up
That’s all my friend to get Minimize and Maximize button in Gnome. In case you need some assistance from my end, feel free to comment Down.
I want to hear what method you chose to get the back button and please write it in the comments section.
If you are interested in what drives gnome engineers to hide the legacy button? that has been running for decades, read from the official gnome mailing list.
Enjoy it!
A man with a tech effusive who has explored some of the amazing technology stuff and is exploring more. While moving towards, I had a chance to work on Android development, Linux, AWS, and DevOps with several open-source tools.