Skip to content

Setting up my Chromebook

Necessities

  • External clipboard: sudo apt install xclip.
  • File transfer: sudo apt install rsync.
  • Shell: zsh and oh-my-zsh.
    sudo apt install zsh
    sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    chsh -s $(which zsh)
    
  • Containers
    • snapd did not work for me.
    • docker: the official instructions here gave me the following error.
      E: The repository 'https://download.docker.com/linux/ubuntu buster Release'
          does not have a Release file.
      N: Updating from such a repository cannot be done securely, and is
          therefore disabled by default.
      

Editors

  • micro
    • Install using curl https://getmic.ro | zsh. Snap (snap install micro --classic) did not work for me.
    • Open micro, type Ctrl+E, and type set colorscheme simple.
    • Set default editor: open ~/.zshrc and edit the following lines to look like this. (Not sure if this works.)
      # Preferred editor for local and remote sessions
      if [[ -n $SSH_CONNECTION ]]; then
        export EDITOR=nano
        export VISUAL=nano
      else
        export EDITOR=micro
        export VISUAL=micro
      fi
      
  • Sublime Text 3
    • Install the following packages:
      • Package Control
      • Terminus with theme brackets-light
      • SendCode
      • GitSavvy
      • Markdown Editing
      • BracketHighlighter
      • simple_ConTeXt
      • UnicodeMath
      • UnicodeCompletion
      • Unicode Character Insert
      • A File Icon
      • Base16 Color Schemes with color-scheme base16-one-light
  • Visual Studio Code. The Snap package did not work for me. Install from .deb worked.

Computation

  • miniconda
  • Jupyter Lab
  • Julia: Extract to /opt/julia and update the $PATH in .zshrc.
  • In julia, install the following (using Pkg; Pkg.add([pkgname])).
    • IJulia.jl
    • Plots.jl
    • DifferentialEquations.jl

Documentation

  • ConTeXt
    • ConTeXt LMTK: tikz did not work for me, so sticking to ConTeXt Mark VI.
    • Document viewer: sudo apt install evince. This is required for simple_ConTeXt to automatically show the PDF after building.

Last update: 2020-05-21 23:55:36

Comments