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-upgrade
ssh-keygen -t rsa -b 4096 -C pixelbook
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
cat .ssh/id_rsa.pub
# Paste in GitHub/GitLab
sudo 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.
Crostini (the Linux container on Chrome OS) understands Debian installation packages (.deb
) - You can just download any installer, drag to the "Linux files" folder using the file manager and double-click it.
And, being debian you also have apt-get
.
Here are some examples
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.sh
Add to path
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi
curl -L https://go.microsoft.com/fwlink/?LinkID=760868 > code.deb
sudo apt-get install ./code.deb
The Pixelbook has a high-density display (HiDPI, roughly equivalent to the "Retina display" term if you're comming from a Mac), but not all Linux apps are prepared to appear correctly in HiDPI displays. They can appear small or have regular size with tiny cursor...
The good news is that you can use ChromeOS's built-in tool Sommelier
to customize zoom levels for linux applications.
Many installed programs will generate a .desktop
file in /usr/share/applications, it contains an app description as well as its icon and launch command.
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
Specifically for VSCode, I would also suggest adding these to your user settings
"window.titleBarStyle": "custom",
"window.zoomLevel": 2,
"editor.mouseWheelScrollSensitivity": 0.5
Thanks for the help, many of my questions have been answered.