Merge pull request #35 from cedricwalter/master
Add rotation in documentation
This commit is contained in:
commit
66e7ccd132
15
README.md
15
README.md
@ -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.
|
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.
|
||||||
|
|||||||
@ -915,6 +915,22 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|||||||
</ul>
|
</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's content.</p>
|
<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's content.</p>
|
||||||
<p>Again, pressing <code>Ctrl + Alt + F1</code> takes you back to Chromium.</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>
|
<h2 id="customizing-chromium"><a class="header-link" href="#customizing-chromium"></a>Customizing Chromium</h2>
|
||||||
<p>Because you'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>
|
<p>Because you'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">
|
<ul class="list">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user