Skip to content

Instantly share code, notes, and snippets.

@monkeygroover
Last active December 28, 2019 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save monkeygroover/d4bbd1512de8a3a24cf7d195626954b2 to your computer and use it in GitHub Desktop.
Save monkeygroover/d4bbd1512de8a3a24cf7d195626954b2 to your computer and use it in GitHub Desktop.
Chromebook container setup
  • install container

  • sudo apt install fish tmux

  • sudo chsh <username>

    • /usr/bin/fish
  • curl -L https://get.oh-my.fish | fish

    • omf install bobthefish
  • settings page: (ctrl-shift-p) chrome-extension://pnhechapfaindjhompbnflcldabbghjo/html/nassh_preferences_editor.html

  • powerline fonts

    • family: "Source Code Pro", monospace
    • css: https://cdn.jsdelivr.net/gh/wernight/powerline-web-fonts@ba4426cb0c0b05eb6cb342c7719776a41e1f2114/PowerlineFonts.css
@font-face {
 font-family: "Anonymous Pro";
 src: local("Anonymice Powerline"),
      url(fonts/AnonymousPro.woff2) format("woff2");
}

@font-face {
 font-family: "DejaVu Sans Mono";
 src: local("DejaVu Sans Mono for Powerline"),
      url(fonts/DejaVuSansMono.woff2) format("woff2");
 font-weight: normal;
 font-style: normal;
}
@font-face {
 font-family: "DejaVu Sans Mono";
 src: local("DejaVu Sans Mono for Powerline"),
      url(fonts/DejaVuSansMono-Bold.woff2) format("woff2");
 font-weight: bold;
 font-style: normal;
}

@font-face {
 font-family: "Hack";
 src: local("Hack"),
      url(fonts/Hack.woff2) format("woff2");
}

@font-face {
 font-family: "Inconsolata";
 src: local("Inconsolata for Powerline"),
      url(fonts/Inconsolata.woff2) format("woff2");
}

@font-face {
 font-family: "Inconsolata-g";
 src: local("Inconsolata-g for Powerline"),
      url(fonts/Inconsolata-g.woff2) format('woff2');
}

@font-face {
 font-family: "Iosevka";
 src: local("Iosevka"),
      url(fonts/iosevka-term-medium.woff2) format('woff2');
}

@font-face {
 font-family: "Liberation Mono";
 src: local("Literation Mono Powerline"),
      url(fonts/LiberationMono.woff2) format("woff2");
}

@font-face {
 font-family: "PT Mono";
 src: local("PT Mono for Powerline"),
      url(fonts/PTMono.woff2) format("woff2");
}

@font-face {
 font-family: "Source Code Pro";
 src: local("Source Code Pro for Powerline"),
      local("Sauce Code Powerline"),
      url(fonts/SourceCodePro.woff2) format("woff2");
 font-weight: normal;
 font-style: normal;
}
@font-face {
 font-family: "Source Code Pro";
 src: local("Source Code Pro for Powerline"),
      local("Sauce Code Powerline"),
      url(fonts/SourceCodePro-Bold.woff2) format("woff2");
 font-weight: bold;
 font-style: normal;
}

@font-face {
 font-family: "Ubuntu Mono";
 src: local("Ubuntu Mono derivative Powerline"),
      url(fonts/UbuntuMono.woff2) format("woff2");
}

@font-face {
 font-family: 'monofur for Powerline';
 src: local('MonofurForPowerline.woff2'),
      url(fonts/monofur/Monofur.woff2) format('woff2');
 font-weight: normal;
 font-style: normal;
}

@font-face {
 font-family: 'monofur for Powerline';
 src: local('MonofurForPowerline.woff2'),
      url(fonts/monofur/Monofur-Bold.woff2) format('woff2');
 font-weight: bold;
 font-style: normal;
}

@font-face {
 font-family: 'monofur for Powerline';
 src: local('MonofurForPowerline.woff2'),
      url(fonts/monofur/Monofur-Italic.woff2) format('woff2');
 font-weight: normal;
 font-style: italic;
}
  • passthrough dock left right etc, add to keybindings
{                                                                                                                                                                                                      
       "Alt-187": "PASS",                                                                                                                                                                             
       "Alt-189": "PASS",                                                                                                                                                                             
       "Alt-219": "PASS",                                                                                                                                                                             
       "Alt-221": "PASS",                                                                                                                                                                             
       "Ctrl-Shift-W": "PASS"                                                                                                                                                                         
}                                                                                                                                                                                                      
  • sudo apt install openjdk-8-jdk

  • mkdir lein

  • cd lein

  • wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein

  • chmod +x lein

  • sudo ln -s /home/mechajohntravolta/lein/lein /usr/local/bin/lein

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