Chrome OS Setup

Hardware

Settings

Importand Key bindings

Install Extensions & Chrome Apps

Install Android Apps

Enable U2F Button

See also: https://sites.google.com/a/chromium.org/dev/chromium-os/u2f-ecdsa-vulnerability

Enable GPU for Linux

  1. Enable here: chrome://flags/#crostini-gpu-support
  2. Restart
  3. sudo apt update; sudo apt dist-upgrade
  4. glxinfo -B
  5. sudo apt install cros-gpu-alpha ( Make sure you want this ! )

Install AWS in Linux Container

sudo apt install python3-pip
sudo pip3 install awscli
aws configure

General

Extension Development

Linux Containers

Script to rename Files by Parent Folder Name

#!/usr/bin/env bash

# Rename files to the name of their parent folder,
# followed by a counter.

set -e

mkdir -p ./output

counter=0
oldparent=""

find . -type f -not -path "./output/*" | sort | while read line; do
    echo "Processing file '$line'"
    parent=$(dirname "$line")
    parent=${parent##*/}
    if [ "$oldparent" == "$parent" ]; then
        let counter++
    else
        oldparent="$parent"
        counter=1
    fi
    extension="${line##*.}"
    cp "$line" "./output/$parent $counter.$extension"
done

Script to rename Files (dash to dot)

#!/usr/bin/env bash

set -e
mkdir -p ./output

find . -type f -not -path "./output/*" -not -path '*/\.*' | while read line;
do
    echo "$line"
    newname="./output/${line##*/}"
    cp "$line" "${newname//-/.}"
done

Create Bootable Media

  1. Download Googles Official Chromebook Recovery Utility
  2. Rename your .ISO file to .BIN
  3. Use the Cog Menu in the App to create a bootable USB Stick