using DSL to run pic frame script - not working
I'm trying to use DSL to make a digital picture frame. I've used some scripts from a few sites mainly this one http://www.thewares.net/item/33 . The instructions were for older versions of dsl. I'm using version 4.2.5 now. I need a script called at boot to run feh fullscreen and unclutter to remove the mouse cursor. I can't get it to work. The .xinitrc and cron_start_frame.sh are below. I'm not worried about using cron I just want the slideshow to turn on and run. Any help is greatly appreciated.
.xinitrc # put X windows programs that you want started here. # Be sure to add at the end of each command the & KEYTABLE="$(getknoppixparam.lua KEYTABLE)" DESKTOP="$(getoption.lua $HOME/.desktop wm)" ICONS="$(getoption.lua $HOME/.desktop icons)" umix -lf .umix 2>/dev/null [ -f .mouse_config ] && sh .mouse_config & # For non-US Keyboards if [ ${KEYTABLE:0:2} != "us" ]; then xmodmap -e "clear Mod4" -e "add Mod5 = Mode_switch" & fi [ "$ICONS" == "dfm" ] && /usr/bin/dfm & # if egrep -qv lowram /proc/cmdline 2>/dev/null; then # dillo /usr/share/doc/dsl/getting_started.html &>/dev/null & # torsmo 2>/dev/null & # fi [ -f ".$DESKTOP.inc" ] && ~/".$DESKTOP.inc" exec "${DESKTOP:=jwm}" 2>/dev/null xset s off noblank xset s off /usr/bin/aterm -T "Bash" -e /bin/bash & #startx & /home/dsl/frame/scripts/cron_start_frame.sh & fluxbox 2>/dev/null cron_start_frame.sh #!/bin/sh # # Script to run Digital Picture Frame using Feh # drware@thewares.net # # Change number below to the duration, in seconds # for each photo to be displayed DELAY="300" # hide the cursor after 15 seconds /usr/X11R6/bin/unclutter -idle 15 & # Start slide show /usr/bin/feh -qzrZF -D 120 /mnt/hda3/photos/ & # Phone home and sync # /home/dsl/frame/rsync.sh exit 0 |
You don't need any window manager at all. Use a simple script to start X at a boot time, uncutter to hide mouse cursor, and fbsetbg with cron to set a wallpaper
|
Thanks for the reply but I'm still lost. I don't really know how to write a script or get it to run at boot. I thought that I had one written that should work but how do I make it run at boot? You said I don't need a window manager but I don't know how to not have one. Thanks in advance if anyone can give any help.
|
All times are GMT -5. The time now is 08:38 PM. |