Ubuntu – hide the Firefox title bar AND still see the close/minimize/maximize icons

csdfirefoxgnome-shelltitlebarwindow-buttons

I am using Ubuntu 18.04. I realize with GNOME, or its extensions, I can do things like hide the title bar. However, I want to hide the title bar and still see the windows management icons like on Mac OS and Windows.
Mac OS Example

Is this possible?

Best Answer

Firefox version 60 comes with an inbuilt client-side decoration (CSD) option which gets rid of the title bar but keeps the window control buttons (minimise, maximise, close).

If you have Firefox 60, go to "Customise" screen and disable "Title Bar" option at the bottom.

enter image description here

Then you should see something like this:

enter image description here


As a side note, the pointy white corners that appear after turning off the 'Title Bar' option, can be removed by the following steps:

  1. Open about:config in a new Firefox tab.
  2. Accept the risk and continue.
  3. Type mozilla.widget.use-argb-visuals in the search field.
  4. Check that 'Boolean' is selected.
  5. Click the '+' button to add the preference setting.
  6. Restart Firefox.

Source: article on OMG! Ubuntu