Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computer:raspberry_pi_slideshow [2014/06/07 13:31]
tdobes [Part 3: Xorg and Slideshow software]
computer:raspberry_pi_slideshow [2015/01/17 21:26]
tdobes
Line 118: Line 118:
 echo 'pkill -9 x11vnc'​ >> /​usr/​local/​bin/​slideshow-xsession.sh echo 'pkill -9 x11vnc'​ >> /​usr/​local/​bin/​slideshow-xsession.sh
 echo >> /​usr/​local/​bin/​slideshow-xsession.sh echo >> /​usr/​local/​bin/​slideshow-xsession.sh
-echo 'evilwm -fn '​*-clean-*'​ &' ​>> /​usr/​local/​bin/​slideshow-xsession.sh+echo "evilwm -fn '​*-clean-*'​ &" ​>> /​usr/​local/​bin/​slideshow-xsession.sh
 echo '​x11vnc -q -usepw -N -ncache 0 -shared -forever &' >> /​usr/​local/​bin/​slideshow-xsession.sh echo '​x11vnc -q -usepw -N -ncache 0 -shared -forever &' >> /​usr/​local/​bin/​slideshow-xsession.sh
 echo >> /​usr/​local/​bin/​slideshow-xsession.sh echo >> /​usr/​local/​bin/​slideshow-xsession.sh
Line 139: Line 139:
 chown -R slideshow:​slideshow ~slideshow/​.vnc chown -R slideshow:​slideshow ~slideshow/​.vnc
 chmod 0600 ~slideshow/​.vnc/​passwd chmod 0600 ~slideshow/​.vnc/​passwd
 +
 +mkdir /​opt/​pictures
 +rsync -rltvi --del ds-storage.mcp.lcl:/​mnt/​digitalsky/​waiting-slideshows/​`hostname`/​ /​opt/​pictures/​
 +chown -R tdobes:​slideshow /​opt/​pictures
 +chmod 0755 /​opt/​pictures
 +chmod 0644 /​opt/​pictures/​*
  
 ssh-keygen ssh-keygen
Line 183: Line 189:
 echo '​@reboot root /​usr/​local/​bin/​sync_images.sh'​ > /​etc/​cron.d/​sync_images echo '​@reboot root /​usr/​local/​bin/​sync_images.sh'​ > /​etc/​cron.d/​sync_images
 echo '30 * * * * root /​usr/​local/​bin/​sync_images.sh'​ >> /​etc/​cron.d/​sync_images echo '30 * * * * root /​usr/​local/​bin/​sync_images.sh'​ >> /​etc/​cron.d/​sync_images
- 
-mkdir /​opt/​pictures 
-rsync -rltvi --del ds-storage.mcp.lcl:/​mnt/​digitalsky/​waiting-slideshows/​`hostname`/​ /​opt/​pictures/​ 
-chown -R tdobes:​slideshow /​opt/​pictures 
-chmod 0755 /​opt/​pictures 
-chmod 0644 /​opt/​pictures/​* 
  
 # DVI mode, 1280x1024@60 Hz, no overscan # DVI mode, 1280x1024@60 Hz, no overscan
computer/raspberry_pi_slideshow.txt · Last modified: 2015/01/17 21:26 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS