PDA

View Full Version : Make Firefox4 titelbarless like chrome/chromium



arzali
March 1st, 2011, 06:11 PM
Hey all,
I just wanted to show you how to make a titelbarless Firefox 4 (aka Minefield).

You need:
Minefield http://nightly.mozilla.org/
Stylish https://addons.mozilla.org/de/firefox/addon/stylish/
Hide Caption Titlebar Plus https://addons.mozilla.org/de/firefox/addon/hide-caption-titlebar-plus-sma/
Compiz + CompizConfig setting-manager

1. Download and install Hctp and Stylish. Restart

2. Press ctrl+shift+a and open the Hide Caption Titlebar Plus Preferences

make it like in the screenshots

http://uppix.net/f/2/2/4813e38599a08d60af99fbff7a6det.jpg (http://uppix.net/f/2/2/4813e38599a08d60af99fbff7a6de.png)
http://uppix.net/9/1/4/3f0631bb1216b5f219e07027f2a73t.jpg (http://uppix.net/9/1/4/3f0631bb1216b5f219e07027f2a73.png)


3. right click on the tab bar and select customize.
Now drag and drop the [hcp] Min, Max, Close Buttons next to the app menu (or anywhere you want)

http://uppix.net/e/7/8/9c197d14f72ecb20c970f6e98f36ct.jpg (http://uppix.net/e/7/8/9c197d14f72ecb20c970f6e98f36c.png)

4. Go to http://userstyles.org/styles/44677 and install the style with stylish.

5. Open CompizConfig setting-manager (ccsm) and navigate to Decorations.
In "decoration for windows" add : & !(class=Minefield & state=maxvert)

http://uppix.net/1/2/9/4cdd3bd549c6a94bac65769806ac2t.jpg (http://uppix.net/1/2/9/4cdd3bd549c6a94bac65769806ac2.png)

This will remove the title bar when minefield is maximized

Now your Firefox 4 should look like this when maximized and should almost take the same space as Chrome/Chromium
http://uppix.net/f/a/c/fdebd6fb8de2adfe1b866e4220af0tt.jpg (http://uppix.net/f/a/c/fdebd6fb8de2adfe1b866e4220af0.png)


I also made a Hctp theme for orta http://userstyles.org/styles/44686

Marcelo Ruiz
March 24th, 2011, 11:53 AM
Thanks for the instructions. Making Firefox look like Chrome makes me feel like using it!
I had a little problem with your instructions, and maybe you can tell me how to solve it.
I use the default gnome style for the buttons (upper right corner), and although I can drag the buttons to the right in the maximized firefox, they appear out of order (close, minimize, restore) instead of (minimize, restore, close). Is there any way to change this?
Thanks again!

Virus666
April 14th, 2011, 12:36 AM
That is perfect. At last I could make my Firefox looks like Windows edition.

However, installing Stylish and its styles just affects on the minimize, maximize, close buttons shape. Since it does not necessary for me, I prefer to not to install Stylish and I skiped the fourth step.

Moreover, we need to edit the code in the fifth step. The final version of Firefox 4 has released and you can install the stable PPA here:
https://launchpad.net/~mozillateam/+archive/firefox-stable (https://launchpad.net/%7Emozillateam/+archive/firefox-stable)

Since it is the final version, Ubuntu does not call it as Minefield anymore. Thus, we need to replace the Minefield part as Firefox in the fifth step:


any & !(class=Firefox & state=maxvert)

That's all... The screenshot is in the attachment...

Thank you... :D