Both of these topics are probably old news, but to me its new (as in I’m just getting around to doing it) so I’ll post about it anyway.
The first I actually discovered from Brian Carper on Planet Larry. All it really boils down to is changing some key css files within Firefox so that it will give prettier CSS. I, unlike most others, will warn you though. Not all of the changes it makes, in my opinion, were nice ones. For example the changes its makes to the buttons is not sexy. I don’t know about anyone else, but I don’t like flat buttons, they are raised for a reason. If you flatten them they become hard to find easily. More on that later though. So I followed the link on Carper’s post, constructed a very crude bash script of the commands, and ran it as root. That was basically it. Now, back to the ugly buttons. If you want to see what I’m talking about simply goto Yahoo! Now, after you’ve installed this extra CSS go back to Yahoo! Notice how the “Web Search” button is no longer gold? Yeah, hated it. So as root user simply edit /usr/lib/mozilla-firefox/res/forms.css . You’ll need to remove the following chunk of code to undo the new ugly buttons and restore the old ones.
/* Buttons */
background-color: Window !important;
background: Window url(“form-widgets/button.png”) repeat-x bottom right !important;
border: 2px solid ThreeDShadow !important;
color: ButtonText !important;
margin: 2px !important;
padding: 0 1px !important;
-moz-border-bottom-colors: ThreeDShadow Window;
-moz-border-left-colors: ThreeDShadow ThreeDHighlight;
-moz-border-radius: 1px !important;
-moz-border-right-colors: ThreeDShadow Window;
-moz-border-top-colors: ThreeDShadow ThreeDHighlight;
background-color: ThreeDHighlight !important;
That should restore your old ugly buttons.
My second topic is Vista fonts. Vista really does have some nice fonts. So while researching my new color theme for vim I ran across a web page on how to get Vista’s new fonts. You can find the script here. The author of that page does warn that his script doesn’t work if you don’t have cabextract ver. 1.2. From the looks of it if your running a 64bit setup like I am you’ll have to do as I did. That is go in, unmask cabextract 1.2, run the script to install the new fonts, and then unmask and update to return your install to original state while still getting the new pretty fonts.
I hope these two tips have helped someone. I haven’t got a chance to use the new fonts much but I’m sure they will come in handy very soon.
Enjoy the Penguins!
I have decided that I’m going to start working on my own vim color theme. I wanted something with a dark background but fairly bright colors. I couldn’t really find anything that suited me exactly till I came across one named wombat. Its about as close as I can find to what I want so I’ve decided to use it as a base. I haven’t really changed much from it so don’t be surprised if they look identical. I’m still looking for a good guide as to what exactly all of the variable refer to within the theme file itself. Some of them are self explanatory but a lot of them aren’t. It also doesn’t help any that some themes only specify like 8 different colors while some specify well over 50 complete with if … then statements. So if anyone knows any guides I’d be more than happy if you would share .
Enjoy the Penguins!