From 6a4a3e6f8aac958c17059f99c2991eaa496c0368 Mon Sep 17 00:00:00 2001 From: Jarno Rantanen Date: Wed, 7 Nov 2018 10:47:49 +0200 Subject: [PATCH] Move screen rotation instructions to first-boot doc. --- README.md | 17 ----------------- docs/first-boot.md | 11 +++++++++++ 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index c4223d3..4c8fe5d 100644 --- a/README.md +++ b/README.md @@ -39,23 +39,6 @@ Make sure you have a [compatible 4+ GB SD card](http://elinux.org/RPi_SD_cards). The Pi needs a [2.5 Amp power source](https://www.raspberrypi.org/documentation/hardware/raspberrypi/power/README.md). Most modern USB chargers you'll have laying around will work, but an older/cheaper one may not. -## Optional features - -### rotate screen: portrait and landscape mode - -- Hit CTRL-ALT-F1 then choose finish to go to console -- sudo nano /boot/config.txt -- move all the way down to the end of the file -- to rotate 90° clockwise, add the line: display_rotate=1 -- Press ctrl + o to save and ctrl + x to exit the file - -Now do a reboot (sudo reboot) and you should have a screen tilted: - -- 0 = 0 degrees (the default value) -- 1 = 90 degrees -- 2 = 180 degrees -- 3 = 270 degrees - ## Common issues - **I get a kernel panic on boot, or the image keeps crashing.** The Raspberry Pi is somewhat picky about about its SD cards. It's also possible the SD card has a bad sector in a critical place, and `dd` wasn't be able to tell you. Double-check that you're using [a blessed SD card](http://elinux.org/RPi_SD_cards), and try flashing the image again. diff --git a/docs/first-boot.md b/docs/first-boot.md index 6df64f8..12ca8c2 100644 --- a/docs/first-boot.md +++ b/docs/first-boot.md @@ -58,6 +58,17 @@ If you need to login to a shell, the default username and password are `pi` and If the display auto-detection fails and chooses a funky default resolution for you, [there's a few things you can do](https://www.opentechguides.com/how-to/article/raspberry-pi/28/raspi-display-setting.html) to try and fix that. +## Rotating your screen + +Press `Ctrl + Alt + F3` to get to a virtual terminal, and use your favorite editor to open `/boot/config.txt` (remember to use `sudo`). Add a line to the end of the file: + +- `display_rotate=0` to disable rotation +- `display_rotate=1` to rotate 90° clockwise +- `display_rotate=2` to rotate 180° +- `display_rotate=3` to rotate 90° counter-clockwise + +Save the file, and `sudo reboot`. + ## Replacing the boot graphics The image that's displayed while the kiosk is starting can be changed by just replacing `~/background.png`.