| Article Index |
|---|
| DIY Digital Photo Frame |
| Dismantle laptop |
| Edit boot files |
| Installing Extensions |
| The Frame |
| All Pages |
You can find a bunch of extensions and add ons for dsl at the dsl repository. I will need an image slide show script called feh and another script to hide the mouse while the slide show is playing. I downloaded the required files and put them onto the flash drive. Insert the flash drive into the DPF and use right click on the DSL desktop. Locate the extensions manager and use it to install the two extensions. So in summary ... when the DPF boots up it will choose the second entry from /boot/grub/menu.lst to boot from and wait 3 seconds before starting the operating system. When the OS starts it will run the script /home/dsl/frame/cron_start_frame.sh which starts feh and unclutter. Feh will run a slide show from images located in the /home/dsl/frame/pictures/ directory and unclutter will suppress the mouse. To do all this i will edit the file that holds all the programs you want to run on start up.
Appended /home/dsl/.xinitrc with:
xset s off
noblank
xset s off
#/usr/bin/aterm -T "Bash" -e /bin/bash &
#startx &
modprobe usb-storage
mount /dev/sda1 /mnt/sda1
/home/dsl/frame/cron_start_frame.sh &
After this the only thing left to do is place the images inside the /home/dsl/frame/pictures/ folder and start the frame. If you look inside the cron_start_frame script you will see how it starts feh and clutter.