Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dkduyanh/507ee6ddcfb621f3fad901abcfd32d66 to your computer and use it in GitHub Desktop.
Save dkduyanh/507ee6ddcfb621f3fad901abcfd32d66 to your computer and use it in GitHub Desktop.
Adding PIXEL to Raspbian Lite

Adding PIXEL to Raspbian Lite

Flash Raspbian Lite as normal. Run raspi-config and setup whatever you would to for console only mode. I usually change password, hostname and activate SSH server as a initial setup.

Adding wifi from console (optional)

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf Add the bottom of the file

network={
  ssid="YOUR_SSID"
  psk="YOUR_PASSWORD"
}

Save and reboot

Touchscreen (optional)

For touchscreen display edit /boot/config.txt on the newly flashed card and add the line lcd_rotate=2 at a location of your choice in the file.

Run all updates

Reduces that anything goes wrong int the following steps

sudo apt update
sudo apt upgrade

# you only have to reboot if there were any updates that needed it
# if unsure do it anyway
sudo reboot

Adding GUI

This will get you a really stripped down PIXEL installation Tested on Jessi and Stretch

sudo apt-get install -y raspberrypi-ui-mods rpi-chromium-mods
sudo reboot

This will pull in all packages needed for GUI + rpi modified Chromium web browser and is all you need for a "basic" setup. It will take some time though. The download will go fast but decompressing and installing is tough even on a Rpi 3.

I will do some tests but you might want to install lightdm using sudo apt-get install lightdm as well.

If you want to enable autologin you have to run raspi-config again and select "Boot option"->"Desktop / CLI"->"Desktop autologin"

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