X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

How do I hide the FF4 title bar under Linux (to have it look like FF4 on Windows, or indeed Google Chrome)?

Posted

It's great that the menu can now be displayed in the tab bar with tabs-on-top, but it would be even better if the titlebar itself could be hidden! I believe this is already the case on FF4/Windows 7. Maybe I have just not discovered how to turn on this feature?

Chosen solution

You can hide the titlebar in a very easy way if you are using Compiz.

Just open CompizConfig preferences and find "Windows decoration" Now, in the line called "Decoration windows" type this: (any) & !(class=Firefox)

Read this answer in context 21

Additional System Details

Installed Plug-ins

  • The Adobe Reader plugin is used to enable viewing of PDF and FDF files from within the browser.
  • Plugin for Installing Applications (new)
  • This is the DjView-4.5 version of the DjVu plugin.See DjVuLibre.
  • Mime Type x-skype for Skype Buttons
  • The next generation Java plug-in for Mozilla browsers.
  • Office Plugin for Netscape Navigator
  • Macromedia Shockwave for Director Netscape plug-in, version 8.5
  • DRM Netscape Network Object
  • DRM Store Netscape Plugin
  • OpenOffice.org Plug-in handles all its documents
  • Helix DNA Plugin: RealPlayer G2 Plug-In Compatible version 0.4.0.5745 built with gcc 3.4.6 on Nov 17 2010
  • Shockwave Flash 10.1 r102
  • The Totem 2.28.5 plugin handles video and audio streams.
  • DivX Web Player version 1.4.0.233

Application

  • User Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b10) Gecko/20100101 Firefox/4.0b10

More Information

cor-el
  • Top 10 Contributor
  • Moderator
10741 solutions 96657 answers

You can't hide the title bar on Linux, that only works on Windows.

You can look at the Autohide extension: "Preview of the next version (Fx 4 only)"

Question owner

Then this should be considered a feature request! (After all, if Chrome can do it on Linux...)

Will give the add-on a try, though it appears to only affect full screen mode where the title bar is hidden anyway?

cor-el
  • Top 10 Contributor
  • Moderator
10741 solutions 96657 answers

You can use Autohide in zombie mode (Shift and F11) to remove the chrome (title bar) without going to full screen. You can click the More info button on the Autohide page.

Question owner

Why don't you add that addon to addons.mozilla.org?

lqy0909 0 solutions 1 answers

Helpful Reply

I can hide the Firefox4's titlebar under linux. First, you must install the extension named userChromeJS-1.3. URL:http://downloads.mozdev.org/userchromejs/userChromeJS-1.3.xpi

Now, edit ~/.mozilla/firefox/XXXXXX.default/chrome/userChrome.js

The content:

(function() {

   var win_ctrl = document.getElementById("window-controls");
   win_ctrl.setAttribute("fullscreencontrol", "false");
   win_ctrl.setAttribute("hidden", "false");
   var mainWindow = document.getElementById("main-window");
   mainWindow.setAttribute("hidechrome", "true");

})();

That's all. ^_^

Question owner

nice hack :) Unfortunately, it's a little extreme, as it also removes the possibility to resize, move, or minimize the window...

Mantas 1 solutions 4 answers

Chosen Solution

You can hide the titlebar in a very easy way if you are using Compiz.

Just open CompizConfig preferences and find "Windows decoration" Now, in the line called "Decoration windows" type this: (any) & !(class=Firefox)

Question owner

Something similar can be done in KDE (Configure Desktop -> Window Behaviour -> Window-Specific, and add a new setting for Window class "Firefox" there).

This of course also removes the minimize button. So if FF had a "minimize" button one could pull to the toolbar, one would have a decent workaround...

Modified by aelilea

Mantas 1 solutions 4 answers

https://addons.mozilla.org/en-US/firefox/addon/toolbar-buttons/ Minimize and Close Buttons. Both works, just checked.

https://addons.mozilla.org/en-US/firefox/addon/drag-button/ This one should also work very soon.

Modified by Mantas

Question owner

Excellent! There's an add-on for everything...

Question owner

Just to add for completeness, the built-in "fullscreen" button (should you need it and not just press F11 already) beats "maximize" any day anyway.

Question owner

The following KDE Window settings only remove the title bar from the browser window, while leaving other windows opened by Firefox (e.g. dialogs like Preferences) intact.

the-edmeister
  • Top 10 Contributor
  • Moderator
3195 solutions 24389 answers

aelilea,

The built-in FullScreen mode automatically Maximizes the browser window, where Autohide's Zombie mode will give a "Full Screen" look without changing the size of the browser window that the user has set. For "political" reasons, I doubt of the developer of Autohide will ever have that extension anywhere except for his own website. I have been using Autohide for like 6 years now, the 2nd extension that always install in a new Profile; ChromEdit Plus is the 1st.

Mantas 1 solutions 4 answers

aelilea, I think I found the same rule for Gnome: (any) & !(class=Firefox & role=browser)

Kemcy Best 0 solutions 2 answers

It seems that Autohide's author has even closed down the site? Can you give a latest copy? Thanks.

aaroncaito 0 solutions 1 answers

Settle,

Where would i put this code in gnome to make use of it? I've looked through the conf editor, preferences etc.

Mantas 1 solutions 4 answers

CompizConfig > Decoration windows. It is written in my first message.

Darth_Madara 0 solutions 1 answers

I have an addon to hide the titlebar that works in LINUX (again), tested with gnome desktops (Ubuntu,Mint): "Hide Caption Titlebar Plus" - http://tiny.cc/hidec (There is a new version in "Development channel". See Options-dialog for more configuration settings.) Enjoy :-)

preetamkg 0 solutions 1 answers

Go to full screen mode by pressing F11, then right click on top area where you open tabs and uncheck HIDE TOOLBARS option.

You get as good experience as Windows 7