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.
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
<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).
I found a solution: Install this extension: https://addons.mozilla.org/en/firefox/addon/hide-caption-titlebar-plus-sma/
- It'll show that is not compatible with our version, still click Add to Firefox and install.
All credits to WebUpd8: http://www.webupd8.org/2011/03/firefox-4-get-tabs-in-title-bar-like.html
As the global menu extension in gnome-shell doesn't work with firefox, you have to make do with the firefox extensions.
There is an extension called "Mozilla Labs: Prospector - LessChrome HD 7" which shows the navigation bar only on mouse-over. It works quite well (works also very well with unity).
Additionally, in View -> Toolbars, unmark "Menu Bar" and mark "Tabs on top"
Your Firefox window should now look like this:
There is a good workaround here. It provides a keyboard shortcut for a fullscreen mode in which the Firefox bars are preserved.
- Open 'System Settings' (under the user menu top-right on the screen)
- Select 'Keyboard'
- Click on the 'shortcuts' tab
- Select 'Windows' group of shortcuts
- Click twice on 'Toggle fullscreen mode'
- Type a shortcut (I use Shift+F11)
It's not perfect, but it does 90% of the job.