Developing on a Chromebook Pixel
The Chromebook Pixel is the best computer for software development available today. This may come as a surprise if you've ready any of the multitude of blog posts talking about how absurd it is to pay even as much as $300 for a glorified browser when you could get a "real computer" for that much money. So-called tech journalists get especially incredulous when presented with the $1300 Chromebook Pixel- no one in their right mind could justify should a ridiculous purchase.
Chromebook Pixel
- Processor
- Dual-Core i7-5500U 2.4GHz
- Memory
- 16GB DDR3L-1600
- Storage
- 64GB SSD
- Display
- 13" 3:2 Touch Screen 239ppi
- Connectivity
- Dual USB-C, Dual USB-3, SD Card
- Price
- $1300
MacBook Pro
- Processor
- Quad-Core i7-4770HQ 2.2GHz
- Memory
- 16GB DDR3L-1600
- Storage
- 256GB SSD
- Display
- 15" 16:10 220ppi
- Connectivity
- Dual Thunderbolt, Dual USB-3, HDMI
- Price
- $2500
So what does an extra $1200 get you, hardware-wise? A bonus 2 slower cores, a bunch of extra local storage (in 2015??), a slightly larger screen with a less vertical, lower resolution, and no touch, and a pair of slower, proprietary connections. It's also about a pound heavier. I'll pass.
What about the software? Not enough credit is given to Crouton, a flexible, extremely powerful way to access to the underlying Linux kernel of ChromeOS. Think of it as Ubuntu in a Chrome tab, and much more.
To install Crouton:
- Put your Chromebook in Developer Mode by pressing
ESC
+Refresh
+Power
. Note that this will wipe the computer. - Press
Control
+D
during boot to start the computer. You will need to do this every time you boot. - Download Crouton.
- Press
Control
+Alt
+T
to start a new ChromeOS shell- this is a limited-purpose shell with a handful of commands. - Type
shell
to enter the actual shell for the OS - The
sudo sh ~/Downloads/crouton
command will be the base command to install your new OS. Here are the flags you can pass:- -r [release-name]. This is the code name (eg. trusty) for any Ubuntu, Debian, or Kali release.
- -n [name]. This is a nickname for your OS, in case you have want to have multiple installs.
- -t [comma-separated list of options]. These are the features of the OS you want to install.
This command installs Ubuntu 14.04 ("Trusty"), named "Kyle", with Chrome, Touch Support, Unity Desktop environment, and a tool for running GUI apps in the command line:
sudo sh ~/Downloads/crouton -r trusty -n kyle -t chrome,trusty,unity,xiwi
That's it! To launch your new OS:
Control
+Alt
+T
to open a new Chrosh shellshell
to drop down to the real shellsudo enter-chroot -n kyle
to enter your new OS
If you want to launch into your new OS via a cool, GIMP-running, Atom-using, Steam-playing desktop manager:
Control
+Alt
+T
to open a new Chrosh shellshell
to drop down to the real shellsudo startunity -n kyle
to launch Unity
The entire process should take about 15 minutes. When you're done, you'll have the ultimate laptop running the ultimate development environment at half the price of the popular alternative, with a host of extra features.