Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:random_background [2011/05/23 15:33] – [View Random Images] Guywiki:random_background [2011/05/24 14:59] (current) – [Random Background Image] Guy
Line 7: Line 7:
 ==== Random Background Image ==== ==== Random Background Image ====
  
-You may have a number of images, and like a random background image each time you start the computer. Following is a guide on how this can be set up.+You may have a number of images, and like a random background image each time you start the computer. You need persistent opt. Following is a guide on how this can be set up.
  
 Copy images to /opt/backgrounds. Copy images to /opt/backgrounds.
Line 26: Line 26:
 </code> </code>
  
-Save this as pic.sh in /opt. +Save this file as pic.sh in /opt. 
  
 Open the terminal and type Open the terminal and type
Line 32: Line 32:
 <code>sudo chmod 775 /opt/pic.sh</code> <code>sudo chmod 775 /opt/pic.sh</code>
  
-If you have persistent opt, and don't backup opt, add the following to /opt/shutdown.sh.+Add the following to /opt/shutdown.sh.
  
 <code>/opt/pic.sh</code> <code>/opt/pic.sh</code>
- 
-If you don't have persistent opt, it is ideal to set it up. 
- 
-If you continue to backup opt, add the above code to /opt/bootsync.sh. 
  
 Restart the computer. Restart the computer.
Line 45: Line 41:
  
 You will now have a random background image each time you start the computer. You will now have a random background image each time you start the computer.
 +
 +If you use backup, and this is not working, set up persistent opt.
  
 ==== View Random Images ==== ==== View Random Images ====
Line 66: Line 64:
 </code> </code>
  
-Save this as view.sh in /opt. +Save this file as view.sh in /opt. 
  
 Open the terminal and type Open the terminal and type
  
 <code>sudo chmod 775 /opt/view.sh</code> <code>sudo chmod 775 /opt/view.sh</code>
 +
 +Add the following line to /opt/bootlocal.sh
 +
 +<code>sudo cp /opt/view.sh /usr/sbin</code>
 +
 +Restart the computer.
  
 To view random images, open the terminal and type To view random images, open the terminal and type
  
-<code>/opt/view.sh</code>+<code>view.sh</code>
  
 To stop images changing (with the terminal open), press Ctrl+c. To stop images changing (with the terminal open), press Ctrl+c.
Print/export
QR Code
QR Code wiki:random_background (generated for current page)