Today I enabled 2-step verification in Google Apps

Today I enabled 2-step verification in Google Apps. This means that if you want to you can use 2 factor authentication when logging in to Google Apps services such as GMail. You can’t force your users to use 2-step verification, they must opt-in themselves.

Anyway, I did opt-in with my account and downloaded the Google Authenticator to my Android that is used for generating codes. It all work well and now I’m using 2-factor authentication for my Google account.

When you want to opt-in for 2-factor authentication you can follow this step by step instruction that is available at Google.

Added a second monitor to my laptop with Ubuntu

I decided to move my 21″ monitor from my desktop computer to my laptop that runs Ubuntu. Since I have a DVI interface on my monitor and a HDMI interface on my laptop I had to buy a adapter. I bought one at Clas Olson and it worked perfectly.

Ok, now I had to switch my primary monitor so my external monitor holds the panels instead of the built in monitor that is the default monitor. After a quick google I found this perfect blog post that describes the problem and has a nice solution. Kudos to you Andrew.

First we have to create a shell script.

#!/bin/bash
# Author: Andrew Martin
# Credit: http://ubuntuforums.org/showthread.php?t=1309247
echo "Enter the primary display from the following:" # prompt for the display
xrandr --prop | grep "[^dis]connected" | cut --delimiter=" " -f1 # query connected monitors
read choice # read the users's choice of monitor
xrandr --output $choice --primary # set the primary monitor

Save it with the name monitor-switcher.sh.
Make the script executable with ‘chmod +x monitor-switcher.sh. Now it’s time to run the script.

~$ ./monitor-switcher.sh
Enter the primary display from the following:
LVDS
DFP1
DFP1

As you can see I choose the DFP1 as my primary monitor.

Done. :-)