Added fixes for latest Stitch changes

E:V:A 2018-01-06 10:19:21 +02:00
parent 569f7b2ef7
commit 247607c352

@ -19,12 +19,23 @@ Then reboot the pi:
sudo reboot
````
## Autohiding the Mouse Cursor
## Autohiding the Mouse Pointer
Install _unclutter_:
````
sudo apt-get install unclutter
````
Create the .xinitrc script to run the tool. See https://wiki.archlinux.org/index.php/Unclutter
You can create an `.xinitrc` script to run the tool.
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
...
@unclutter -display :0 -idle 3 -root -noevents
```
This will add a 3 second delay, before the pointer disappears from the screen when not using it.
***
__version 1 only__
@ -64,7 +75,7 @@ Add the following lines
options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1
```
**For Raspberry Pi 3**
**For Raspberry Pi 3 (`Jesse` and below)**
Edit _/etc/network/interfaces_
```shell
sudo nano /etc/network/interfaces
@ -80,6 +91,33 @@ Reboot your PI
sudo reboot
```
**For RPi 3 (Raspbian Stitch)**
We no longer have any default entries in */etc/network/interfaces*,
instead we make a plugin to the (service) startup script.
Copy paste the following into you terminal:
```bash
cat << EOF | sudo tee /etc/network/if-up.d/off-power-manager
#!/bin/sh
# off-power-manager - Disable the internal power manager of the (built-in) wlan0 device
# Added by MagicMirrorSetup
iw dev wlan0 set power_save off
EOF
```
Then set the permissions and reload the network daemon.
```bash
sudo chmod 755 /etc/network/if-up.d/off-power-manager
sudo /etc/init.d/networking restart
```
You don't need to reboot for this to take effect, but do it anyway to make sure it works.
After reboot and your wifi is back up, test with:
```bash
iw dev wlan0 get power_save
```
## Enable file sharing with OS X
Install _Netatalk_: