ChromeOS安装vs code

ChromeOS安装vs code

There are three methods:

  • Crouton
  • Crostini
  • Native

Native

  1. sudo mount -o remount,rw -o exec ~/
  2. 安装chromebrew
  3. crew install tmux zsh wget crew_profile chromebrew_scripts
  4. 下载Coder的binary,运行
    tmux new -s code
    ./code-server -N -H -p 59999
  5. 浏览器输入localhost:59999
  6. 安装PWA,修改manifest中的name和icon
    • 修改package/app/chrome/manifest.json重新编译coder源码
    • 或者直接在Developer mode(Ctrl+=进入)中修改head重新指向新的manifesw文件
  7. vimium禁用localhost:59999的快捷键
    • 添加规则http://localhost:59999/即可
  8. LaTex环境
    • crew install texlive
    • tlmgr option repository… //替换清华CTAN源
    • tlmgr install *[https://github.com/yihui/tinytex/blob/master/tools/pkgs-custom.txt](https://github.com/yihui/tinytex/blob/master/tools/pkgs-custom.txt)* //安装必要的包
    • tlmgr install cite comment threeparttable cleveref mathtools listings url multirow adjustbox tabularx xcolor clrscode bbding subfigure algorithm2e collectbox ifoddpage relsize courier IEEEtran