Skip to content

Instantly share code, notes, and snippets.

@Robpol86
Forked from mikeflynn/chromebook_pixel_setup.md
Last active December 19, 2015 15:19
Show Gist options
  • Save Robpol86/5975113 to your computer and use it in GitHub Desktop.
Save Robpol86/5975113 to your computer and use it in GitHub Desktop.
System setup guide for a command-line chroot environment on Chromebook Pixel laptops.

Chromebook Pixel Setup

    Work in progress.

Prerequisites

  • Put the Pixel in developer mode.
    • Power off the Pixel, then hold down esc+refresh+power until the recovery screen appears.
    • Hold down ctrl+d until the confirmation screen appears and then press enter.
  • Crosh Window
  • Open a crosh window and type shell, then chromeos-setdevpasswd to set a password for chronos.

Create the chroot

Based on documentation from https://github.com/dnschneid/crouton

  • Download the Crouton script from http://goo.gl/fd3zc

  • Open a crosh window and type shell to get into bash.

  • Run this command:

      sudo sh ~/Downloads/crouton -r wheezy -t core,cli-extra -e -n cli
    
  • Wait 30 minutes or so for this to finish.

4. Configure KDE for high-res

Update: Start with a setres command

setres 1680 1120

See all the resolution options with crouton here: https://github.com/dnschneid/crouton/wiki/Chromebook-Pixel

Open the start menu, search for "DPI" to get the font menu and set the font DPI to 200%.

Right-click on the task bar and click on height to adjust the height.

Open the Window Decorations setting. Click on Configure Decoration, and set the button size to "huge". Fix the stupid thing where KDE doesn't allow you to disable the trackpad tap by installing a special config app...

sudo apt-get install kde-config-touchpad

...then...:

mkdir ~/bin
touch notap.sh
chmod 777 notap.sh
vi notap.sh

...and...

#!/bin/sh
synclient MaxTapTime=0
synclient MaxDoubleTapTime=0

...finally add:

/home/$(`whoami`)/bin/notap.sh

to /etc/rc.local before the "exit 0;" line.

Running It

Once installation is complete run the following once:

sudo enter-chroot startkde

...and then enter the following when you want to start Ubuntu (now, and after full machine reboots):

sudo startkde

Otherwise, you can flip to Ubuntu by hitting: CTRL + ALT + FORWARD (arrow) then CTRL + ALT + REFRESH. Flip back to Chrome OS by hitting: CTRL + ALT + BACK (arrow)

Sources / More Info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment