Posts tagged with “windows”

Utility Gem: Microsoft Time Zone

Microsoft Time Zone I work closely with a team in Bangalore, India and I occasionally have to interact with our offices in other parts of the world. As a result, I find it really handy to know what time it is in those areas of the world. Linux, I’ve recently discovered, offers this functionality directly through its clock panel item. For Mac, it’s available as an extra bundled with iStat Menus that is applied to the clock display on the menu bar. Windows offers, by far, the most anemic time display with only the time visible and the date displayed only when the time hovered over.

I would like this utility better if it were created as a plugin to enhance the time display. I’d like it even better if it also included a minimalistic calendar. It does neither of those, but Microsoft’s Time Zone utility does exactly what its name implies and does it in a way that’s not unattractive. It’s worth a look for Windows users who need to know what time it is in other areas of the world.

Reinstalling Windows

When I landed my current job a year and a half ago or so, I was given a desktop machine to play with. A desktop machine with a whopping 512MB of memory. Although I was new and was somewhat reticent to rock the boat, it was 512MB so I had to say something; I just couldn’t develop with that kind of horse-, um, anemic-hamster-power. So I said something and within a day or so I had 2GB. Much better.

Feeling bold, I made another request. Because I like my work, I do a fair amount of it at home. A laptop would make that much easier. It took a little longer, but I eventually got that, too. At first blush, it was a nice one. A Dell Latitude D600 – the same model as my personal laptop at the time. I was pretty enthused. Then I booted it up and my enthusiasm waned. Turns out that we buy some kind of business machine that has a woefully underpowered graphics card. Don’t get me wrong, I’m not a gamer and I wasn’t disappointed because I woudn’t be able to rock the frame rates necessary to support online first person shooter games. I was disappointed because the maximum resolution of my card was 1024×768. Oh yeah, you heard me. In the year 2007, I was getting a late model laptop that still only supported 1024×768 resolution. Max.

Since that time – about a year ago now – I’ve been begging, cajoling and greasing palms for something better. In addition to working from home, I’ve been traveling a decent amount, sans external monitor, of course, and at the risk of sounding like a whiner, that kind of resolution is intolerable for development purposes (arguably for any purpose). Yesterday our MIS department hooked me up. A shiny, new Dell Latitude D820 with 2GB of memory and a wide screen with a maximum resolution of 1680×1050. So, so much better. I’m a happy camper.

While I plan on dual booting back into Linux, I wanted to get the Windows partition at least to a point where it’s usable and, for me, that means utilities.

Since I get a lot of questions about what I use from folks who see me working, I thought I’d document the most indispensable utility applications I’ve found for Windows. Those little applications that do one thing (more or less) and do that thing vastly better than the default handler, assuming a default handler even exists.

Launchy

Launchy My lifeline. Anything that keeps my hand off the mouse is, by its nature, good and Launchy keeps my hands off the mouse more than any other piece of software I can think of. After installing (and launching) Launchy, I immediately tweak the preferences to my liking by clicking on the gear icon in the upper right corner of the interface (alternatively, if no gear icon is present, right click somewhere near the upper right corner) and selecting Options. I usually tell Launchy to add the following directories to its catalog:

  • c:\Program Files and the *.exe files it contains.
  • c:\WINDOWS\system32 and the %(technical)*.cpl files it uses (this gives me access to the items in the Control Panel).
  • c:\Documents and Settings\myusername\My Documents. Sometimes I keep stuff there and it’s handy to have this kind of access to it.

I also ensure that the Weby plugin is checked. Weby won’t index Firefox 3 bookmarks automatically, but in a previous post I explained how to make it do so.

Did I mention that it’s free?

TaskSwitchXP

TaskSwitchXP If you’re fan of the Alt+Tab keystroke – and you should be – then this is for you. TaskSwitchXP puts Windows’ default task switcher to shame. It also adds the ability to minimize applications to the system tray by right clicking on the minimize button. This keeps those applications from cluttering up the taskbar. I use this feature all the time for those applications I keep open all day, but use only occasionally.

TaskSwitchXP…also free.

Unlocker

Ever tried to delete or move a file only to have Windows indicate that it’s in use? Annoying, right? Problem solved. Unlocker will present an interface that specifies what application has the file locked and offer the ability to unlock it and perform the action you requested in the first place.

Yep, Unlocker is free. Is there a pattern developing here?

KeePass

KeePass KeePass is an open source password manager and it’s very good. There are ports for other platforms (Mac, Linux, mobile, etc.) and all use the same database format, so it’s a trivial thing to sync the same database across multiple systems and devices.

Being open source, KeePass is free, of course. It’s variants are also free.

Foxit Reader

I find Adobe’s Acrobat Reader to be one of the single most annoying pieces of software ever created. I love the PDF itself, but the software Adobe created to read it is absolutely abysmal. I spend more time waiting for it to load than I do actually reading the document. On top of that there are the upgrades and updates. The constant upgrades and updates. And then there’s all the crap that they like to sneak into their upgrade packages. No, I don’t need the latest toolbar of the month, thank you.

Foxit Software’s reader is just want the doctor ordered. Lightweight, fast and not even a little bit annoying. Oh yeah, and free. Brilliant.

Honorable Mentions

The following utilities may not make the first cut, but they’re definitely on the short list.

WinDirStat

I don’t need it often, but when I do, there’s no better way to visualize how much space on a drive any given directory is taking up.

Free.

CCleaner

A great utility for reclaiming hard drive space. Free.

WinMerge

Hands down the best visual diff tool I’ve ever seen for the Windows platform. Certainly the best free diff tool. For those who write code or edit configuration files in a Windows environment, this is a must have. It even integrates nicely with TortoiseSVN for Subversion users who need to perform diffs against a repository.

This only gets honorable mention status because I rarely develop in Windows and, when I do, am usually in Eclipse which has it’s own visual diff tool that’s pretty solid.

Free.

Evaluating Internet Explorer 8

I spent last Thursday at Web 2.0 Expo in New York and, though I was disappointed in the show as a whole, I did go to one interesting session. I went to see Pete LePage, an Internet Explorer product manager, speak about Internet Explorer 8. Though I’ve long since given up on IE as my primary browser (even before moving away from Windows as anything more than an occasional-use operating system), it’s still an animal that I have to deal with as part of my daily life and I was looking forward to hearing about what to expect in the next version.

The presentation didn’t disappoint. Pete did a nice job of presenting a lot of features in very limited time and I found myself surprised, pleased and impressed at the effort the team has made to catch up in some areas and to innovate in others. I have to admit that I liked what I saw and, being a trained professional, I was looking forward to trying it at home. Today I finally got around to doing so and I wanted to write about my impressions.

I have none. In spite of all of the good things that IE 8 seems to offer, it still doesn’t offer the ability to install alongside IE 7. Full stop.

That’s it. That’s the only impression I have. I still need to access IE 7 on a regular basis for testing and I don’t have (or want) 12 separate licenses for Windows XP on which to test each browser version. IE 8 has to go. If it’s worth mentioning, maybe I’ll provide my impressions of the uninstall process. But I doubt it.

Run Eclipse-Installed Ant from the Command Line

In the midst of my transition to Linux at work, I’m also working on updating the Ant build script templates that I’ve used for years to deploy every project I/we develop. When I built my Linux box, I installed Eclipse using Pulse. More often than not, I run my Ant scripts from within Eclipse (I love that integration), but from time to time it’s expedient, for one reason or another, to execute a build from the command line.

In previous lives, I’ve installed a standalone copy of Ant and used that for command line execution, but this time I was feeling thrifty. Clearly there’s an Ant executable baked right into Eclipse, which I already have installed, so why can’t I just use that one? Well, no reason, except that I didn’t know the path to said executable. So I dug around.

As you might expect, this is not a difficult problem to solve. I found my Ant root directory by looking in Eclipse under Window > Preferences > Ant > Runtime. On the Classpath tab, the first expandable group is named Ant Home Entries. Expand that to see all of the libraries that exist in the native classpath or, more importantly for this purpose, to see where the Ant home directly exists. To find the Ant home directory from these library paths just drop the /lib/[…].jar part of the library path. On my Pulse-installed instance, doing that leaves me an Ant home directory of /home/[user]/Applications/Pulse/Common/plugins/org.apache.ant_1.7.0.v200706080842.

Once you know the home directory, all that’s needed is to set a couple of environment variables and you’ll be able to run the Eclipse-installed instance of Ant from the command line or Eclipse.

For Linux and Mac users, edit your shell’s login script. In my .bash_profile, I added the following lines (syntax will vary for other shells):

export ANT_HOME=/home/[user]/Applications/Pulse/Common/plugins/org.apache.ant_1.7.0.v200706080842 export PATH=$PATH:$ANT_HOME/bin

Once you’ve saved and quit the editor, ensure that you “source” your modified script (or exit the terminal and return or even just open a new tab) to activate your changes for the current session:

$ source ~/.bash_profile

That’s it. To test, just type “ant” at your shell prompt. Ironically, Ant is alive and well if you get a failure message:

$ ant Buildfile: build.xml does not exist! Build failed

That’s it. Linux and Mac users can go on about their day.

Windows users will have to set/update the ANT_HOME and PATH environment variables in Control Panel > System > Advanced > Environment Variables. Windows users may also have to restart in order for their changes to stick unless they also set those values at their own command prompt for use during the current session. For the values to persist beyond the next reboot, though, the first method is required.

Why Linux Might Be Worth Another Look

No, no. I’m still a Mac guy. Really. That said, a Mac just isn’t an option at work; something about “fiscal responsibility, blah, blah, blah”. So this week, in a fit of fury over the fact that I desperately miss my powerful command line and a few annoying quirks in my development environment, I decided to create a Linux partition that I could dual boot into. I have to admit that I’ve been very pleasantly surprised.

I’ve tried to use a Linux desktop environment many, well, several, times over the last 5, 6, maybe 8 years. I’ve tried Redhat 9, SuSe 8, Fedora Core 1 & 3, Ubuntu 6.10 (I can’t remember which silly name it had) and a few other, less prominent distros. None of them quite did it for me. In a desktop, I’m looking for ease of setup and use – I don’t want to have to futz endlessly with stuff just to make it usable. This time, after two years since my last dalliance, I decided to roll with Ubuntu again since it’s still all the rage and has an active user community that I expect I’ll need for a while. I installed 8.04 (Hardy Heron).

Although I’m only a few days in – which means I’ll have plenty to write about over the next few days, weeks and maybe months – I thought I’d write a bit about a few reasons that I think Linux on the desktop – even your desktop – might be worth another look.

Read More »