diff --git a/Configuring-the-Raspberry-Pi.md b/Configuring-the-Raspberry-Pi.md index 06a22e0..39055f0 100644 --- a/Configuring-the-Raspberry-Pi.md +++ b/Configuring-the-Raspberry-Pi.md @@ -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 ```