Moving to a new computer

June 27, 2013

Moving to a new computer can have both its pros and cons. From one side its (hopefully) a new computer, but on the other side it means you have to move all of your existing data across, that's if you don't want to start afresh. With the advent of the cloud, things have become a lot simpler. Developer's lives also have become simpler when moving code / workspaces if Git is used. Here's a list of notes that I took when moving to a new laptop recently.

Firefox

After installing Firefox on your new computer, just copy the following directory from the old computer to the new and then open Firefox. Ensure to close the browser on both computers first before coping the data!

Windows XP: C:\Documents and Settings\\Application Data\Mozilla\

Windows Vista / 7 / 8: C:\Users\\AppData\Roaming\Mozilla

or using the following Environment Variable: %APPDATA%\Mozilla

It maybe necessary the first time you open Firefox on your new computer to use the -p option. This will display the Firefox profile selector, allowing you to set the default profile to use when Firefox starts.

  1. Press the Windows Key and the letter 'R' on your keyboard at the same time.
  2. Type 'C:\Program Files (x86)\Mozilla Firefox\firefox.exe -p' and click 'OK'.

Skype

Moving to a new computer is as simple as copying across the Skype configuration directory from the old computer to the new. Again ensure Skype is closed on both computers before starting, then copy the old Skype direction which, depending on the version of Windows installed, will be found in one of the following locations:

Windows XP: C:\Documents and Settings\\Application Data\Skype\

Windows Vista / 7 / 8: C:\Users\\AppData\Roaming\Skype

or using the following Environment Variable: %APPDATA%\Skype

Once you have copied the directory to the new computer, you can open Skype and login.

Putty

Export your saved sessions using:

  1. Open the Registry Editor by pressing the Windows Key and the letter 'R', type 'regedit' and click 'OK'.
  2. Once the Registry Editor has opened, press Ctrl-F and search for 'SimonTatham'.
  3. When the folder has been located in the left tree, right click on it and select 'Export'. Now you can enter the name of the file you wish to export the settings to.

Import those saved sessions back into your new computer by:

  1. Copy the file to your new computer.
  2. Right click on the file and select 'Merge'.

Now all of your Putty session settings are on your new computer.

Fonts

Adding my prefered open source fonts, I had to download, extract, select, right click, install each of the following:

Command Prompt

I prefer to change the default font used by Command Prompt to a the Droid Monospace font. To do this, I first had to setup the font as an option to be selected in the Preferences of Command Prompt. This requires a little messing around inside the Registery Editor.

  1. Open the Registry Editor: Window key + R, type 'regedit' and click 'OK'.
  2. Navigate to HLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont
  3. Add a new String Value with the name set to x '0's and the value of the font name. (x is one more zero than already displayed)

     0   REG_ZS  Lucida Console
     00  REG_ZS  Consolas
     000 REG_ZS  Droid Sans Mono
    

Sublime Text 2

Add a Windows Explorer context menu. If you are missing an explorer context menu option to open selected files in Sublime Text (or any other app for that matter), you can add the context menu option using the following:

  1. Create a new text file with a '.reg' extension.
  2. Add the below content (you may need to alter the path to the '.exe' file).
  3. Right click on the file in Explorer and select 'Merge'.

     Windows Registry Editor Version 5.00
    
     [HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2]
     @="Open with S&ublime Text 2"
    
     [HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2\command]
     @="C:\\Program Files\\Sublime Text 2\\sublime_text.exe \"%1\""
    

I also setup the following tools, but all of their data is stored in the cloud, leaving me the only tasks of download, install and login.

Notes still to complete: