Skip to content

Instantly share code, notes, and snippets.

@kwoods
Last active March 18, 2022 19:30
Show Gist options
  • Save kwoods/6cc45fb85fed40f0174c869d96523dbe to your computer and use it in GitHub Desktop.
Save kwoods/6cc45fb85fed40f0174c869d96523dbe to your computer and use it in GitHub Desktop.
Pixelbook Go Setup

Swap Alt and Control keys

One of the first things a MacBook user might do on a Chromebook is mistakenly hit the Alt key instead of the Control key because on a MacBook keyboard, you use the Command key for many keyboard shortcuts such as cut, copy and paste. And a MacBook's Command key is directly to the left of the spacebar, just as the Alt key is on a Chromebook. Thankfully, you can reassign the Alt and Control keys on a Chromebook. Just click your account profile picture in the bottom-right corner and then click the gear icon. From the Settings window, scroll down to the Device section and click Keyboard and then assign the Ctrl key as Alt and the Alt key as Ctrl.

Set up Linux (Beta) on your Pixelbook

  • Select the time in the bottom right to open your status area.
  • Select Settings (gear icon)
  • Under "Linux (Beta)," select Turn On

Once the Linux (Beta) is enabled, the Terminal app will appear in the launcher.

sudo apt-get update && sudo apt-get dist-upgrade

Terminal Config

open up the Terminal app and then access its options page by pressing Ctrl+Shift+P

  • Choose Keyboard & Mouse
    • Enable Ctrl+N new window behavior
    • Enable Ctrl+T new tab behavior
    • Enable Ctrl+W close tab behavior
    • Enable Ctrl+C copy behavior
    • Enable Ctrl+V paste behavior

https://medium.com/risan/upgrade-your-ssh-key-to-ed25519-c6e8d60d3c54

https://medium.com/@sarbbottam/setting-up-pixelbook-for-development-zsh-git-ssh-node-vscode-fca19261be39

https://gist.github.com/uogbuji/714d06ad3a9e081b69337107a0beff18

Colors

python convert_iterm_colors.py synthwave-x-fluoromachine.itermcolors 
#200933  // Ansi 0 Color
#FC199A  // Ansi 1 Color
#61E2FF  // Ansi 10 Color
#FFCC00  // Ansi 11 Color
#9963FF  // Ansi 12 Color
#FC199A  // Ansi 13 Color
#9963FF  // Ansi 14 Color
#FEFFFF  // Ansi 15 Color
#61E2FF  // Ansi 2 Color
#FFCC00  // Ansi 3 Color
#9963FF  // Ansi 4 Color
#FC199A  // Ansi 5 Color
#9963FF  // Ansi 6 Color
#FFFFFF  // Ansi 7 Color
#676767  // Ansi 8 Color
#FC199A  // Ansi 9 Color
#200933  // Background Color
#FF2600  // Badge Color
#FFFFFF  // Bold Color
#FC199A  // Cursor Color
#B3ECFF  // Cursor Guide Color
#FEFFFF  // Cursor Text Color
#61E2FF  // Foreground Color
#FFCC00  // Link Color
#000000  // Selected Text Color
#C1DDFF  // Selection Color

Enable Power Button as 2FA

Pixelbook's power button has a built-in 2fa/2sv key (think YubiKey), but it's disabled by default. If you use Two-Factor authentication on GitHub, Gmail etc, you can turn it on by entering this command on the Crosh shell (Ctrl+Alt+T):

u2f_flags u2f,user_keys

python

sudo apt install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev zlib1g-dev libssl-dev openssl libgdbm-dev liblzma-dev libreadline-dev libncursesw5-dev libffi-dev uuid-dev

https://github.com/pyenv/pyenv-installer

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