Some of the features mentioned in this document only work on the beta or Dev channel. To change your channel:
- chrome://help in a browser window
- Click Detailed Build Information
- Change Channel
- Select Beta (Or Dev, if you're feeling adventurous)
- Wait for Chromebook to download an update then show icon in bottom left
- Restart when update is ready
If you have multiple accounts (Say, work and play), you can quickly sitch between them without logging out:
- Open the status area (the bottom-right menu)
- Click your account photo.
- Click Sign in another user.
- You'll see a reminder to use the feature only with people you trust. Click OK.
- Pick a person, then enter their password. You can add up to 7 users.
You can then quick-switch between users with CTRL+ALT+, & CTRL+ALT+.
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
- Open drawer in bottom right and click gear icon
- Scroll down to find Linux Apps or Linux (Beta) and select TURN ON
- After the install runs, you should have an application in ChromeOS called
Terminal
sudo apt-get update && sudo apt-get dist-upgradessh-keygen -t rsa -b 4096 -C pixelbook
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
cat .ssh/id_rsa.pub
# Paste in GitHub/GitLabsudo passwd root
- Copy .ttf file to ~/.local/share/fonts
fc-cache -vf ~/.local/share/fonts
fc-list | grep [your font name] # To verify- Go to chrome://flags and turn on 'crostini-files'.
- Right-click on folders in FilesApp and select 'Share with Linux'
- Folders will show up in /ChromeOS/Downloads/ inside linux.
echo 'deb http://ftp.debian.org/debian stretch-backports main' | sudo tee /etc/apt/sources.list.d/stretch-backports.list
sudo apt update
sudo apt -y install tilix
sudo ln -s /etc/profile.d/vte-2.91.sh /etc/profile.d/vte.shAdd to path
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
ficurl -L https://go.microsoft.com/fwlink/?LinkID=760868 > code.deb
sudo apt-get install ./code.debBy Default, VSCode opens with weird cursor sizes and scroll issues. This can be fixed by editing the code.desktop file and your user settings in VSCode:
/usr/share/applications/code.desktop
Change Exec entries to specify Sommelier's DPI and zoom level:
[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=sommelier -X --scale=0.7 --dpi=160 /usr/share/code/code "--unity-launch %F"
Icon=code
Type=Application
StartupNotify=true
StartupWMClass=Code
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;
Actions=new-empty-window;
Keywords=vscode;
X-Desktop-File-Install-Version=0.23
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=sommelier -X --scale=0.7 --dpi=160 /usr/share/code/code "--new-window %F"
Icon=code
VSCode User settings
"window.titleBarStyle": "custom",
"window.zoomLevel": 2,
"editor.mouseWheelScrollSensitivity": 0.5
Will consider Ansible. Here's a more general Linux (Debian) example.