Since upgrading to Ubuntu 18.04 from Ubuntu 16.04, the titlebar buttons on the upper left corner of the window for closing, minimizing and maximizing windows have vanished.
Then I went to GNOME Tweaks (GUI menu) –> Windows –> Titlebar
and set the options to add maximize and minimize buttons to the title-bar. However there was no option for Window close button there:
Things I have tried to correct this
- I installed gconf-editor and tried this gconf-editor solution
- I did not understand the solution (if any) provided here
Output of the command
gsettings get org.gnome.desktop.wm.preferences button-layout
Output: 'minimize,maximize'
Best Answer
Your window-control button layout doesn't look right. Run the following command in Terminal to reset it
This should fix the problem. If it doesn't work, then set a suitable button layout manually. For example run the following command
to get the minimize, maximize, close buttons (in this order) at the right end of the title-bar.
Alternatively to get the close, minimize, maximize buttons (in this order) at the left end of the title-bar, run
and so on.