Geekery, Programming

I love developing with multiple desktops. For a long time I was looking for a solution that would work for me in Windows 7. Some worked, but they all seemed to have difficulties with my terminal windows or just not work very well at all.

I use Cygwin running through mintty for my development in Windows. Because I use Vim for my programming, it’s important that my terminal windows work as I need them to. Why weren’t the various multiple desktop solutions available for Windows 7 able to handle my terminal windows? I tried different programs and eventually wrote it off as there being an issue with how the terminals were running.

Skip forward a few months and I have a few free cycles at work. I decided to give multiple desktops in Windows a try again. I like being able to cleanly switch between my casual web browsing, email, programming, browser, and so-on without having everything on one desktop. I knew there had to be some solution out there that would work for me. I decided to stick with VirtuaWin and figure out, once and for all, how to get it working. Performing the installation process with high hopes, I got things running and decided to give it a shot again. Unfortunately, the terminal windows were still appearing on every desktop.

Altering the options available in VirtuaWin didn’t seem to help and neither did the suggestion in the FAQ:

Some applications refuse to disappear when I change desktop.
Yep. Some applications use a special type of window (ex. Winamp and ICQ). This makes it hard for VirtuaWin to find them. But it is possible to configure manually how VirtuaWin should treat them, see the help about “Window Rules”.

After more Googling, I came across a bug report that seemed an alternative explanation for my problem:

Howdy,
In Windows 7 pro, I work as an unpriviledged user but need to run some applications (e.g. Across) with admin rights. These application windows appear on all virtual desktops which I find highly annoying. When run as mortal user, the window rules I set up work as expected: The application window appears on one desktop only.
Any idea how to persuade applications started as admin user (runas) behave normally?
Thanks & cheers

Because I use Cygwin for many tasks on my computer, I do have it running in administrative mode. After a quick switch for the VirtuaWin shortcut to always run in administrative mode, I found that my multiple desktops were behaving as expected.

Finally, a decent multiple desktop experience in Windows! It isn’t quite as smooth as native implementations in other operating systems, but it’s better than nothing. Hopefully others having this problem will be able to find the solution a bit quicker in the future.

If you liked this post, please consider following me @randomdrake or subscribing to my feed.