Outils pour utilisateurs

Outils du site


how to do a picture frame with a Raspberry Pi

sudo apt-get install vim feh
vi /home/pi/.config/lxsession/LXDE-pi/autostart
@xset s off 
@xset -dpms
@xset s 0 0
@xset s noblank
@xset s noexpose
@xset dpms 0 0 0
echo "hdmi_blanking=1" >> /boot/config.txt
mkdir /home/pi/picframe
vi /home/pi/start-picture-frame.sh
  DISPLAY=:0.0 XAUTHORITY=/home/pi/.Xauthority /usr/bin/feh --quiet --recursive --preload --full-screen --auto-zoom --reload 60 --hide-pointer --slideshow-delay 10.0 /home/pi/picframe
chmod 755 /home/pi/start-picture-frame.sh
sudo reboot

Terminate picture frame :

sudo pkill feh
sudo vi /etc/rc.local

Add before “exit 0” :

  sleep 10
  bash /home/pi/start-picture-frame.sh &
take-picture-rpi/take_picture_with_raspberry_pi.txt · Dernière modification: 2019/01/10 16:59 par rguyader