mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-29 04:29:41 +00:00
First info about the configuration of the Raspberry.
parent
845e935f61
commit
2bb30fb96c
77
Configuring-the-Raspberry-Pi.md
Normal file
77
Configuring-the-Raspberry-Pi.md
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
##Rotating the screen
|
||||||
|
edit _/boot/config.txt_:
|
||||||
|
````
|
||||||
|
sudo nano /boot/config.txt
|
||||||
|
````
|
||||||
|
Add the following line:
|
||||||
|
````
|
||||||
|
display_rotate=1
|
||||||
|
````
|
||||||
|
|
||||||
|
##Autohiding the Mouse Cursor
|
||||||
|
Install _unclutter_:
|
||||||
|
````
|
||||||
|
sudo apt-get install unclutter
|
||||||
|
````
|
||||||
|
|
||||||
|
##Disabling the screensaver
|
||||||
|
|
||||||
|
edit _/etc/xdg/lxsession/LXDE-pi/autostart_:
|
||||||
|
````
|
||||||
|
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
|
||||||
|
````
|
||||||
|
Add the following lines:
|
||||||
|
````
|
||||||
|
@xset s noblank
|
||||||
|
@xset s off
|
||||||
|
@xset -dpms
|
||||||
|
````
|
||||||
|
|
||||||
|
Edit _/etc/lightdm/lightdm.conf_:
|
||||||
|
````
|
||||||
|
sudo nano /etc/lightdm/lightdm.conf
|
||||||
|
````
|
||||||
|
Add the following line below [SeatDefaults]
|
||||||
|
````
|
||||||
|
xserver-command=X -s 0 -dpms
|
||||||
|
````
|
||||||
|
|
||||||
|
## Enable file sharing with OS X
|
||||||
|
|
||||||
|
Install _Netatalk_:
|
||||||
|
````
|
||||||
|
sudo apt-get install netatalk
|
||||||
|
````
|
||||||
|
|
||||||
|
## Enable VNC
|
||||||
|
|
||||||
|
Install _x11vnc_:
|
||||||
|
````
|
||||||
|
sudo apt-get install x11vnc
|
||||||
|
````
|
||||||
|
|
||||||
|
Set VNC password:
|
||||||
|
````
|
||||||
|
x11vnc -storepasswd
|
||||||
|
````
|
||||||
|
|
||||||
|
Create an auto-start file:
|
||||||
|
````
|
||||||
|
cd ~/.config
|
||||||
|
mkdir autostart
|
||||||
|
cd autostart
|
||||||
|
nano x11vnc.desktop
|
||||||
|
````
|
||||||
|
|
||||||
|
Add the following lines:
|
||||||
|
````
|
||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Type=Application
|
||||||
|
Name=X11VNC
|
||||||
|
Comment=
|
||||||
|
Exec=x11vnc -forever -usepw -display :0 -ultrafilexfer
|
||||||
|
StartupNotify=false
|
||||||
|
Terminal=false
|
||||||
|
Hidden=false
|
||||||
|
````
|
Loading…
x
Reference in New Issue
Block a user