Move screen rotation instructions to first-boot doc.
This commit is contained in:
parent
86aff645dc
commit
6a4a3e6f8a
17
README.md
17
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.
|
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
|
## 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.
|
- **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.
|
||||||
|
|||||||
@ -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.
|
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
|
## Replacing the boot graphics
|
||||||
|
|
||||||
The image that's displayed while the kiosk is starting can be changed by just replacing `~/background.png`.
|
The image that's displayed while the kiosk is starting can be changed by just replacing `~/background.png`.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user