khad
May 24, 2007, 05:50 AM
Moved from "Parallels Desktop for Mac"
Windows is the new Classic
Make Parallels behave like the Classic environment
Blast it all. I had a post and OmniWeb ate it. Argh. Anyway...
I am one step closer to realizing my dream of making Windows as easy to use and seamless as Classic apps in OS X on PowerPC chips.
Some tips:
- set Parallels to show Windows apps in the dock (the default)
- set Parallels to suspend on quitting (via CMD-Q or AppleScript, again the default)
- swap CMD/CTRL (so you can use CMD-T in Web browsers, not just ZXCVAF)
- Disable all animations/transitions
- use Dockless (http://www.versiontracker.com/dyn/moreinfo/macosx/18195) to hide Parallels icon from the dock and CMD-TAB
- enable "Start VM automatically when it is opened" in the VM
- start VM in Coherence mode (that should be obvious)
- install FlyakiteOSX (http://www.osx-e.com/downloads/misc/flyakite_osx.html) in Windows XP (for a smoother blend with OS X aesthetics)
Download wclassic (http://www.getmorphed.com/wclassic) bash script and put it in ~/Library/Parallels/ (you will have to create the folder). You can run it manually to see it's output. It writes a file ~/.wclassic to keep track of how many programs were running in Parallels and if there are no programs currently running and no programs were running the last time you ran the script, it quits Parallels...gracefully. If you have it set to suspend on quit, that's exactly what it will do. It does not kill any process! It tells Parallels to quit via AppleScript.
In order for this to worthwhile, you'll need to set a cron job for wclassic every xx minutes (I use 10) and it will close Parallels if no programs have been running in it for the last xx minutes:
sudo nano /etc/crontab
Add a line to the end:
# The periodic and atrun jobs have moved to launchd jobs
# See /System/Library/LaunchDaemons
#
# minute hour mday month wday who command
*/10 * * * * khad ~/Library/Parallels/wclassic
Don't copy and paste it. You need to use the TAB key and line each bit up with the name above it. Replace 10 with the number of minutes you want Parallels to wait before closing, and replace my name with your OS X short user name.
Press CTRL-X, then Y, then ENTER. This says you want to exit, yes please save it, and verifies the filename to save it as.
Then click a Windows app in your dock. Parallels will launch in the background displaying its progress bar. When you are done, close the program and go about your business. If you need to run another Windows program (or the same one), just click its dock icon. If no Windows apps have been used in the last 10 minutes (or whatever you set it to) then Parallels will quit, suspending Windows and freeing up your memory. It's pretty much like the Classic environment over in PowerPC land.
I think that's all. I probably forgot something really important, but it is 5:41 AM and I have to get up in a few hours.... I'll check back later to see if anyone even cares about this. It's not that fancy but it brings a smile to my face.
khad
Windows is the new Classic
Make Parallels behave like the Classic environment
Blast it all. I had a post and OmniWeb ate it. Argh. Anyway...
I am one step closer to realizing my dream of making Windows as easy to use and seamless as Classic apps in OS X on PowerPC chips.
Some tips:
- set Parallels to show Windows apps in the dock (the default)
- set Parallels to suspend on quitting (via CMD-Q or AppleScript, again the default)
- swap CMD/CTRL (so you can use CMD-T in Web browsers, not just ZXCVAF)
- Disable all animations/transitions
- use Dockless (http://www.versiontracker.com/dyn/moreinfo/macosx/18195) to hide Parallels icon from the dock and CMD-TAB
- enable "Start VM automatically when it is opened" in the VM
- start VM in Coherence mode (that should be obvious)
- install FlyakiteOSX (http://www.osx-e.com/downloads/misc/flyakite_osx.html) in Windows XP (for a smoother blend with OS X aesthetics)
Download wclassic (http://www.getmorphed.com/wclassic) bash script and put it in ~/Library/Parallels/ (you will have to create the folder). You can run it manually to see it's output. It writes a file ~/.wclassic to keep track of how many programs were running in Parallels and if there are no programs currently running and no programs were running the last time you ran the script, it quits Parallels...gracefully. If you have it set to suspend on quit, that's exactly what it will do. It does not kill any process! It tells Parallels to quit via AppleScript.
In order for this to worthwhile, you'll need to set a cron job for wclassic every xx minutes (I use 10) and it will close Parallels if no programs have been running in it for the last xx minutes:
sudo nano /etc/crontab
Add a line to the end:
# The periodic and atrun jobs have moved to launchd jobs
# See /System/Library/LaunchDaemons
#
# minute hour mday month wday who command
*/10 * * * * khad ~/Library/Parallels/wclassic
Don't copy and paste it. You need to use the TAB key and line each bit up with the name above it. Replace 10 with the number of minutes you want Parallels to wait before closing, and replace my name with your OS X short user name.
Press CTRL-X, then Y, then ENTER. This says you want to exit, yes please save it, and verifies the filename to save it as.
Then click a Windows app in your dock. Parallels will launch in the background displaying its progress bar. When you are done, close the program and go about your business. If you need to run another Windows program (or the same one), just click its dock icon. If no Windows apps have been used in the last 10 minutes (or whatever you set it to) then Parallels will quit, suspending Windows and freeing up your memory. It's pretty much like the Classic environment over in PowerPC land.
I think that's all. I probably forgot something really important, but it is 5:41 AM and I have to get up in a few hours.... I'll check back later to see if anyone even cares about this. It's not that fancy but it brings a smile to my face.
khad