Enable Netflix on Ubuntu!

If you'd like to skip the intro, click me!

I just recently moved over to ElementaryOS on my desktop as my main OS and left Windows for Gaming and Visual work (Photoshop, Illustrator, etc..), which has been amazing thus far, by the way! The only thing that was always missing for me from the Linux scene was Netflix. As an avid watcher of TV Shows and Movies while I code—as well as music, depends on my mood—that was the only thing missing from making the experience perfect!

I started to do some research on the status of Netflix and Linux, which led me to an article talking about how it's natively supported now thanks to the W3C and Google pushing for EME (Encrypted Media Extentions) support over HTML5 Streaming. I was filled with joy! I could watch "The Shield" while I code. Turns out, that wasn't exactly true. Not in my case anyway...

Luckily, the fix is really, really easy.

WARNING: This only works on Ubuntu 12.04LTS+ based distributions of linux with Google Chrome V37+

The Setup

First things first, you need to install the lastest build of Chrome. The commands below will add the chrome deb sources to your repo list so you can download and install with the good old sudo apt-get install command.

Type or copy-paste this code, Line by line into your terminal application of choice.

    wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 

    sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

    sudo apt-get update 

    sudo apt-get install google-chrome-stable

Follow this exactly as is!

Once the update is done and chrome is installed, you'll want to open up Chrome and type chrome://flags into the address bar.

Upon reaching the chrome://flags page, you can hit CTRL+F and type "encrypted". It should be the first result that shows up.

The screenshot below will show you the exact name of the flag to enable.

After enabling the flag, head on over to Netflix and choose what you'd like to watch! Now you can enjoy the vast array of TV and Movies that Netflix has to offer from the comfort of Linux.

I was a little confused as to why it wasn't working out of the box like everyone else claimed it would. It seems as though EME is disabled by default in the Stable build of Chrome, which is something no other article seemed to outline.

Hopefully this guide helps you out! Happy Hacking! :)