Can I hide the Firefox title bar AND still see the close/minimize/maximize icons?

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?


Solution 1:

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

Solution 2:

Try this, it solved my problem. This is how Firefox looks after I installed it:

enter image description here The close/minimize/maximize buttons are near (on the right of) the power icon (top right of the screen, they only show when you move the cursor there But you can modify that on Tweak Tools >Extensions >No Title Bar after you install it).