Firefox 3 keyhole buttons for Linux default theme (userChrome.css hack)

What’s this? A new post after almost a year of silence? I suck at blogging. Anyhow, I write this post mainly to get this thing out to the massive audience that is called Google (since I searched high and low for it before making it myself).

The thing is, Firefox 3 (yeah, I know, old news) has this new nice keyhole form factor for the Back and forward buttons (see Wikipedia). However, they somehow thought it was a good idea not to let Linux users in on that fun in order to let Firefox integrate better with the current GNOME theme. I know there are some themes around with keyhole buttons, but they all made Firefox stand out too much from the rest of my apps. In other words, the integration of the default theme is nice, and I can’t really live without it, apparently, but an option for the keyhole buttons would be nice.

Enter userChrome-keyhole

userChrome-keyhole screenshot

No, you’re not imagining, that’s the default Vista keyhole buttons together with the default theme in Firefox on my Ubuntu installation (I did change my GNOME theme to make it more obvious, though).

It’s basically a userChrome.css hack, using code and images ripped from “Strata Aero” (orange and green buttons, from “Strata Human” and “XP on Vista“, respectively, are also included in the package).

And you can have it too: userChrome-keyhole.tar.gz! Full installation instructions are available in the README, so don’t come asking how to install it ;)

Disclaimer: I make no copyright (etc.) claims on the images or CSS code used (Mozilla and/or the respective theme authors made them, not me). If you have any problems with me putting this thing here, let me know, and I’ll remove it if neccesary.

5 Responses to “Firefox 3 keyhole buttons for Linux default theme (userChrome.css hack)”

  1. David Says:

    Wow! You’re a saviour. Now, if only I could figure out how to convert that XP green to Tango green, I’ll be satisfied.

    Thanks. :)

  2. firetech Says:

    You should be able to tune the colors of the images (two in each of the different folders) using GIMP. Only the back/forward icons are used, so don’t worry about the colors of the rest of the icons in those images.

  3. David Says:

    Yeah, I know. Do you have any pointers to which GIMP functions to use? In any case, you should definitely post your style on userstyles.org. I think a lot of people would want this, but don’t necessarily have the same patience I had searching for it.

    Thanks.

  4. firetech Says:

    I usually do that kind of changes using the “channel mixer” or “color range mapping”. The latter one is not included in newer GIMP releases, but I found somewhere on google about how you can get it back (works fine).

    Thanks for the tip about userstyles.org, will check it out.

  5. Firefox Tip: Get the “Keyhole” in Linux | Snoopy on Skittles Says:

    [...] the Dust theme for the GNOME desktop (which can be found here).  With some googling, I found this handy, all-encompassing guide complete with a download of user chrome and toolbar [...]

Leave a Reply

There's no need to post spam here, Akismet has caught 15,470 spam comments since I installed it...