Updated Configuring the Raspberry Pi (markdown)

Michael Teeuw 2018-05-20 13:38:03 +02:00
parent 72dcb2af66
commit 14202d05ba

@ -10,7 +10,7 @@ Add the following line:
dtoverlay=vc4-kms-v3d
````
Unfortunately, as a result, the `display_rotate=1` (see below) won't have any effect on the display. If you want to rotate the display when the Open GL driver is in use, we need to use the `xrandr` tool which allows us to rotate the display when in desktop mode. To do so, edit the autostart file:
Unfortunately, as a result, the `display_rotate=1` ([see below](https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-Pi#rotating-the-screen-and-hide-rainbow-colored-cube)) won't have any effect on the display. If you want to rotate the display when the Open GL driver is in use, we need to use the `xrandr` tool which allows us to rotate the display when in desktop mode. To do so, edit the autostart file:
````
nano ~/.config/lxsession/LXDE-pi/autostart
````
@ -21,6 +21,8 @@ And add the following line:
After the desktop has finished booting, the display will rotate.
_⚠ Please make sure to read the [information above](https://github.com/MichMich/MagicMirror/wiki/Configuring-the-Raspberry-Pi#enable-the-open-gl-driver-to-decrease-electrons-cpu-usage) about the GL driver since this affects the capability to rotate the display!_
## Rotating the screen and hide Rainbow colored cube
edit _/boot/config.txt_:
````
@ -53,7 +55,7 @@ See https://wiki.archlinux.org/index.php/Unclutter
But a simpler option is to add a line to the end of the file:
```bash
$ sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
$ nano ~/.config/lxsession/LXDE-pi/autostart
...
@unclutter -display :0 -idle 3 -root -noevents
```