Fixing the weather widget

Do you use the weather widget in OS X? Have you turned on the display of the low temperatures? Do you find the font color for the lows nearly impossible to read against the purple background? Then this is for you.

Warning: this story describes how to modify the CSS file for the weather widget. This requires modifying system file permissions. It may be overwritten by subsequent updates from Apple and you need to be very careful not to make changes to the wrong files. In other words, proceed at your own risk.

I wanted to make the low temp reading easier to see. I succeeded and here’s how I did it. You will be prompted for your admin password several times during the process.

Open a terminal window and type these commands:
cd /Library/Widgets/Weather.wdgt
sudo chmod 666 Weather.css
cp Weather.css ~/Documents/oldWeather.css

Now open Weather.css in an editor. I used Coda which I use for most of my html and css editing. You can use textedit if you don’t have a css editor. To get to the file from Finder:

Open Finder
Click on “MacIntosh HD”
Click on “Library”
Click on “Widgets”
Control-Click on “Weather” and choose “Show Package Contents”
Control-Click on “Weather.css” and use “Open With” to select the editor you will use.

Find the “.low-day-color” and “.low-night-color” items and change the color values to something more readable. I just picked something brighter in Coda’s color picker. I ended up with the following:

.low-day-color {
color: rgba(203,238,255,1);
}

.low-night-color {
color: rgba(206,250,255,1);
}

Save the file to your Desktop and close the editor. (You can’t save to the Weather.wdgt folder directly).
You may need to use the “Duplicate” command on the “File” menu to do this in textedit. If so, be sure to save the file as “Weather.css”

Drag the modified Weather.css from the Desktop to the Weather.wdgt folder you have open in Finder. Choose to replace the existing file and authorize the copy.

Now let’s set the permissions back to where we found them. In Terminal, type the following:

sudo chmod 655 Weather.css

You either restart the system or use the – and + icons in the Widget screen to remove and re-add the Weather widget to see your changes. If you remove and re-add it remember that you’ll probably have to re-enable the display of low temps.

If everything looks good you can delete oldWeather.css from your Documents directory. If there are any problems you can backtrack and use similar commands to rename oldWeather.css to Weather.css and copy it back into the Weather widget’s folder.

GarageBand for simple DVD menu audio

It is the holidays which means I really need to finish that DVD project from this summer’s trip. The movie itself is done with titles and credits and audio. It was created with Aperture’s slideshow tools and came out great. The Ken Burns effect seems to know which way to move when — I think this is luck, not image interpretation in the software but it came out perfect.

I decided to go simple and just make the DVD with iDVD. It took a while to find a template that was simple, 16:9 and matched the look of the movie well enough but I found one. I made some changes as the font on the sub-menu was too large for my chapter titles to fit comfortably and there was one more layer of navigation than I wanted in the overall menu tree. The only steps left were adding audio to the menu screens and burning the DVDs. I didn’t want to use copyrighted music even though these are for family and friends so I needed to either buy something for this use or make my own. I am a musician, sort of, so I decided to make my own. Mind you I am not a musician that could make his living at music but a short background track for a menu screen is within my skills.

Some of my readers know that I have been moving from Windows with Vegas and Sonar to OS X with Aperture and CS 5.5. Notice no mention yet of composition tools on my Macs. Adobe Audition is meeting my audio for video editing needs so far so I haven’t run out to acquire something to replace Sonar’s loop and midi capabilities. GarageBand came with iLife on my Macs though and I thought I’d give it a try. If you don’t want to read further, the punchline is that it worked out really well.

I created a new project, dragged in some soft, wandering piano, added Motown drums and a world, fretless bass. Balancing the levels and doing a little panning gave me a nice backing track but it needed just a little something extra. I added some gentle electric guitar accents and was very happy. Finally I put fades on both ends of the track to make looping sound smooth and saved the file. I dragged the file onto the menu screen in iDVD, previewed it to make sure everything worked and am now burning a DVD so I can test it outside the computer.

Next up I need to add audio narration to a slide presentation. I’ll be using a Focusrite Scarlett 2i2 for that task and will use it as the basis for a 2i2 review I’ll post here soon.