Location of the autostart file in Raspbian Stretch has been changed to /etc/xdg/lxsession/LXDE-pi/autostart.

Jason Hartgraves 2019-06-20 15:17:37 -05:00
parent 0dc679977e
commit 65e19ccf0c

@ -12,7 +12,7 @@ dtoverlay=vc4-kms-v3d
_Activating the Open GL drive can also be accomplished by using the `raspi-config` tool by running `sudo raspi-config`. Go to the `Advanced Options` menu and select `A7 GL Driver`. Next, select the `G1 GL (Full KMS) OpenGL desktop driver with full KMS`. Note that this option will be selected in the menu even when the GL drive is not yet configured._
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:
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: (autostart file has been moved in the latest version of Raspbian Stretch, Version: April 2019, Release Date: 2019-04-08 Kernel: 4.14 to /etc/xdg/lxsession/LXDE-pi/autostart ):
````
nano ~/.config/lxsession/LXDE-pi/autostart
````