How to hide Firefox titlebar in Gnome Shell?

I am running Gnome-shell 3.2 in Ubuntu 11.10. Is there a way to hide the firefox title bar and make it like Chrome's ? I would need the min/max buttons in tab-bar. There was a tutorial in webupd8, but that was with compiz.


Notice: HTitle is now discontinued, you can find an archive on Wayback Machine for historical reference.

You could use HTitle Firefox extension to hide title bar. This can be used only with GNOME 3.


I wondered how to do this as well and found that I do not need the title bar in any window if it is full screen in order to safe some pixels, so I did some changes to my metacity-theme-3.xml

/usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml

<frame_geometry name="max" has_title="false" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
    <distance name="left_width" value="0" />
    <distance name="right_width" value="0" />
    <distance name="left_titlebar_edge" value="0"/>
    <distance name="right_titlebar_edge" value="0"/>
    <distance name="title_vertical_pad" value="0"/> <!-- 
                            This needs to be 1 less then the
                            title_vertical_pad on normal state
                            or you'll have bigger buttons                               -->
    <border name="title_border" left="0" right="0" top="0" bottom="0"/>
    <border name="button_border" left="0" right="0" top="0" bottom="0"/>
    <distance name="bottom_height" value="0" />
</frame_geometry>

With the "Menu bar" unticked, it just looks like Chrome. :)

There is also a Gnome 3 extension for this: Pixel Saver.

PS: I can also recommend the GNOME 3 theme for a consistent look and feel (scroll bars etc).