[[blog:review:start-me-up-with-windows-7]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

blog:review:start-me-up-with-windows-7 [2018-08-05 04:25] (current)
Line 1: Line 1:
 +~~META:
 +creator = Brendan Kidwell
 +&date created = 2009-07-28
 +&date updated = 2009-07-28
 +~~
 +{{tag>​windows}}
 +~~DISCUSSION~~
 +====== Start Me Up with Windows 7 ======
 +
 +<WRAP right>
 +{{::​474542238_eb9f08fa07_o.jpg?​300&​direct}}\\ <wrap small>​[[http://​www.flickr.com/​photos/​stevecaddy/​474542238/​|computer_cat_01 © 2005 Steve Caddy]]</​wrap>​
 +</​WRAP>​
 +
 +About six weeks ago I made two life-changing decisions: to migrate my office desktop PC from Ubuntu Linux to Windows 7; and to start this blog. Rebuilding my desktop proved to be an easier task to finish, being motivated by the need for a working computer on my desk, but of course it wasn’t without its problems. And now, after a few spread out nights of learning and hacking WordPress, here is the blog. The title of this post seemed appropriate to me because Microsoft used the <​del>​Aerosmith</​del>​ Rolling Stones song [[http://​en.wikipedia.org/​wiki/​Start_Me_Up|Start Me Up]] in its [[http://​en.wikipedia.org/​wiki/​Windows_95#​Final|marketing blitz around the Windows 95 release]].
 +
 +Windows 7 is Microsoft’s successor to Windows Vista, but since so few people adopted Vista, most people who get Windows 7 will be moving straight there from Windows XP. This includes the vast majority of corporate Windows desktops, as most enterprise desktop teams were not convinced to upgrade to Vista in the nearly three years since its release.
 +
 +Personally, I am not coming from Windows XP. I abandoned my company’s standard Windows XP desktop image three years ago; I couldn’t stand all the issues of managing a Windows XP computer coupled with idiosyncratic internal corporate packaging of external packages. (If my company’s desktop team is reading: I don’t mean any offense; you know I’m just really picky.) More important though, at the time, was my strong preference for Ubuntu Linux as a desktop platform.
 +
 +My dream Linux desktop at work proved to have a finite life, though. With Windows infrastructure all around me, it became increasingly tedious to fire up my Windows virtual machine inside my Ubuntu desktop for so many day-to-day tasks, particularly using my team’s preferred IDE, [[http://​www.adobe.com/​products/​flex/​|Adobe FlexBuilder]],​ which still lacks a Linux release, and won’t run under [[http://​www.winehq.org/​|Wine]]. So, I decided to go back to Windows, but I didn’t want to take a step back to Windows XP.
 +
 +Fortunately,​ for the last few months, Windows 7 RC (Release Candidate) has been available as a free download. You can register and then install it for free as long as you don’t mind acquiring a real license and rebuilding your computer when it expires in March 2010. When I found out about that, I was sold. I have very little experience with Vista, but compared to Windows XP, here are some benefits I see for hackers using Windows 7:
 +
 +  * They managed to squeeze in some decent [[http://​www.neowin.net/​news/​main/​09/​01/​07/​windows-7-whats-up-with-the-uac|privilege separation/​escalation]]. Desktop software in the Windows ecosystem has traditionally assumed the current user has the run of the system and can do whatever he wishes. This has the unfortunate side effect that if you try to setup an environment where you normally log in as an unprivileged user, you will find yourself living a nightmare with random unexplained application crashes and having to log out and log back in as Administrator when you want to install a new application. To make Windows work more like OS X and Linux desktops, the Windows team came up with a compromise, where poorly-designed applications think they are running with unlimited access, but Windows prompts you before it allows an application to make a system-wide change.
 +  * The Start Menu and Control Panel are finally searchable, just like OS X has been for years, and [[http://​www.kde.org/​|KDE]] last year added in 4.0. (Yes, this was in Vista, but I never tried it.)
 +  * Windows 7’s new Open dialog box.{{ ::​windows-7-file-open.png?​300&​nolink}} The file manager, Windows Explorer, does a pretty good job of hiding those annoying kludgy drive letters from you, even in the system Open/​Save/​Choose Folder dialog boxes. As in OS X’s Finder, and various Linux-based file managers, you can highlight your favorite folders in the main navigation pane, so that most of the time you don’t have to go to the My Computer folder and deal with drive letters.
 +  * Internet Explorer 8. Wow. This is what IE 6 could have become if anyone at Microsoft had been allowed to do serious development work on it. Tabs, streamlined window layout, and a [[http://​msdn.microsoft.com/​en-us/​library/​dd565628(VS.85).aspx|developer tools screen]] that I find easier to use than Firefox’s [[http://​getfirebug.com/​|Firebug]].
 +  * A killer new [[http://​www.microsoft.com/​windowsserver2003/​technologies/​management/​powershell/​default.mspx|object-oriented command shell]] environment where input and output streams are hierarchical **objects and collections** instead of plain text streams. Not specifically a Windows 7 feature, but I’m putting it in here because I’m excited to try it out when I get a chance.
 +  * When you connect to the “Console” running the main desktop, remotely, Windows first saves all your window positions, then rearranges them to fit in your terminal’s geometry. When you disconnect, saved positions are restored for any processes that are still running. Yay! — actually it seems like there are little wins like this all over Windows 7
 +
 +While Windows 7 will undoubtedly be a crowd-pleasing success, I still have a lot of issues with being a hacker and developer living on a Windows box, for instance:
 +
 +  * <​del>​You can’t mount SFTP servers locally and have other ad hoc pluggable filesystems à la [[http://​fuse.sourceforge.net/​|FUSE]].</​del>​ Actually you can. As I was writing this blog entry, I figured out how to get [[http://​dokan-dev.net/​en/​|Dokan]] and Dokan SSHFS working in Windows 7. Yay! I need to write up a howto (but in the mean time, see [[http://​code.google.com/​p/​dokan/​issues/​detail?​id=5|this bug]].)
 +  * The window manager still kinda sucks. You can’t alt-click-and-drag to move Windows like in [[http://​www.gnome.org/​|GNOME]] and KDE; that’s a [[http://​taekwindow.sourceforge.net/​|third-party add-on]]. I can’t find a way to get window edges to snap to other window edges.
 +  * No built-in [[http://​bluemars.org/​clipx/​|clipboard history]].
 +  * No built-in SSH server or client for remote login and file sharing. SMB (Windows file sharing) is irritating, and other operating systems don’t play well with it.
 +
 +And there are some issues aren’t particular to Windows 7; they are really problems with the Windows ecosystem and not something a new Windows release could resolve on its own:
 +
 +  * Standard package repositories — Yes, Windows has had a [[http://​en.wikipedia.org/​wiki/​Windows_Installer|respectable package manager]] for a long time, but what about a centralized repository? I want to open up my package manager, type in the name of an application or a keyword, and then install the application with one click. I want automatic updates to come from the same place, instead of numerous annoying third-party Systray apps that phone home every week looking for updates in their own special way. I don’t think Microsoft is interested in dealing with the political issues of managing and editing a catalog like this, and [[http://​winapt.sourceforge.net/​|third party attempts]] suffer from a chicken-and-egg problem: why should one developer buy into your package management system when no one else has yet?
 +  * Where //do// you find Windows software? Seriously. After spending most of my time in various Unices for the last several years, I can’t for the life of me figure out how to //find// Windows applications to solve any problem I might have. If it’s a good open source app available for multiple platforms, it’s probably listed in [[http://​freshmeat.net/​|Freshmeat]],​ but if it’s not free or not multi-platform,​ I don’t know where to find it. How do you sort through Google spam and find respectable applications you don’t already know about? How can you trust what you find?
 +
 +So here’s how I customized my Windows 7 desktop to work my way (all of these products are free-as-in-beer or better):
 +
 +  * Desktop environment add-ons: [[http://​bluemars.org/​clipx/​|ClipX]] for clipboard history; [[http://​taekwindow.sourceforge.net/​|Taekwindow]] for alt-click-and-drag to move windows; [[http://​www.winsplit-revolution.com/​|WinSplit Revolutioon]] for better window management (still no snap-to-edge);​ entire [[http://​windows.kde.org/​|Windows port of KDE applications]],​ which includes my favorite PDF viewer, [[http://​okular.kde.org/​|Okular]].
 +  * Desktop accessories:​ [[http://​cdburnerxp.se/​|CD Burner XP Pro]] and [[http://​www.howtogeek.com/​howto/​windows-vista/​mount-an-iso-image-in-windows-vista/​|Microsoft Virtual CloneDrive]] for compiling, burning, and mounting CD/DVD images; [[http://​mpesch3.de1.cc/​1by1.html|1by1]],​ a minimalist, database-free music player; [[http://​www.irfanview.com/​|IrfanView]],​ a simple no-frills image editor/​converter.
 +  * [[http://​www.cygwin.com/​|Cygwin]] for common Unix utilities like [[http://​www.midnight-commander.org/​|Midnight Commander]],​ [[http://​www.gnupg.org/​|GPG]],​ and [[http://​www.gnu.org/​software/​bash/​|bash]].
 +  * Remote access: [[http://​terminalserviceplus.com/​tsplus.net/​downloads.html|Portable RDP]] client from TSplus because the Microsoft client was thrashing my CPU (go figure!); [[http://​www.chiark.greenend.org.uk/​~sgtatham/​putty/​|PuTTY]] for remote text login; [[http://​filezilla-project.org/​|FileZilla]] for file transfer; [[http://​www.nomachine.com/​download.php|NoMachine NX Client]] for remote desktop login to my file server at home.
 +  * [[http://​zim-wiki.org/​|Zim]] notepad/​outliner (Windows version is [[http://​code.google.com/​p/​zimdesktopwiki-windows/​|available here]]).
 +  * Virtualization:​ [[http://​www.vmware.com/​products/​server/​|VMWare Server 2]], after much hemming and hawing (I should write this up as a separate blog post), running Ubuntu 9.04. Seamless remote desktop login to the virtual machine by using [[http://​www.straightrunning.com/​XmingNotes/​|Xming]] and [[http://​www.xfce.org/​|XFCE Desktop]]. [[http://​www.glump.net/​howto/​seamless_remote_linux_desktop_in_windows|See my howto.]]
 +  * [[http://​www.truecrypt.org/​|TrueCrypt]] for transparent encrypted filesystems.
 +
 +It was a lot of work, but I’m pretty happy with the results, and I’m definitely not a Microsoft-hater anymore.
 +
 +In future posts, I will highlight some of the things above (for example VMWare 2 or Okular) that I find particular interesting. I also plan to review books and web sites. I also hope to be writing a lot about information portability and security, from the perspective of your personal data.