Skip to content

Instantly share code, notes, and snippets.

@rothgar
Created April 4, 2018 17:07
Show Gist options
  • Save rothgar/b1bc68735af835b4feac81dc40ca5dba to your computer and use it in GitHub Desktop.
Save rothgar/b1bc68735af835b4feac81dc40ca5dba to your computer and use it in GitHub Desktop.
Code on Chromebook
#!/bin/sh
# Follow instructions here to enable dev mode and start VM
# https://github.com/lstoll/cros-crostini/blob/master/README.md
sudo apt-get update
sudo apt-get install -y libasound2 libxss1 wget
wget -qO- https://go.microsoft.com/fwlink/?LinkID=620884 | tar xvz
# Launch code
./VSCode-linux-x64/bin/code
# Other programs can be installed/run with apt-get and will launch with a gui
@thesandlord
Copy link

I also needed this for VS Code to start (and probably any electron app):

sudo apt-get install -y libgconf-2-4 libnss3-dev

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