Merge pull request #35 from cedricwalter/master

Add rotation in documentation
This commit is contained in:
Jarno Rantanen 2018-11-07 10:14:54 +02:00 committed by GitHub
commit 66e7ccd132
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -39,6 +39,21 @@ 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.

View File

@ -915,6 +915,22 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
</ul>
<p>Press <code>Ctrl + Alt + F3</code> to get to a virtual terminal, use <code>crontab -e</code> to check these out, enable the ones you want, or customize them to your heart&#39;s content.</p>
<p>Again, pressing <code>Ctrl + Alt + F1</code> takes you back to Chromium.</p>
<h2 id="rotate"><a class="header-link" href="#rotate"></a>Rotate screen: portrait and landscape mode</h2>
<ul class="list">
<li>Hit CTRL-ALT-F1 then choose finish to go to console</li>
<li>sudo nano /boot/config.txt</li></li></li>
<li>move all the way down to the end of the file</li></li>
<li>to rotate 90° clockwise, add the line: display_rotate=1</li>
<li>Press ctrl + o to save and ctrl + x to exit the file</li>
</ul>
Now do a reboot (sudo reboot) and you should have a screen tilted:
<ul class="list">
<li>0 = 0 degrees (the default value)</li>
<li>1 = 90 degrees</li></li>
<li>2 = 180 degrees</li>
<li>3 = 270 degrees</li>
</ul>
<h2 id="customizing-chromium"><a class="header-link" href="#customizing-chromium"></a>Customizing Chromium</h2>
<p>Because you&#39;re running a fully-featured Chromium, you can customize it further by <a href="https://chrome.google.com/webstore/category/extensions">installing browser extensions</a>. For example:</p>
<ul class="list">