Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-13-2008, 02:45 PM   #1
LQ Newbie
Registered: Mar 2004
Location: PA, USA
Distribution: still sampling, SUSE 10.3, Ubuntu, puppy, mythdora...
Posts: 19

Rep: Reputation: 0
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 . 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 are below. I'm not worried about using cron I just want the slideshow to turn on and run. Any help is greatly appreciated.


# 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" &

[ "$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 ".$" ] && ~/".$"
exec "${DESKTOP:=jwm}" 2>/dev/null

xset s off
xset s off

/usr/bin/aterm -T "Bash" -e /bin/bash &
#startx &
/home/dsl/frame/scripts/ &
fluxbox 2>/dev/null

# Script to run Digital Picture Frame using Feh

# Change number below to the duration, in seconds
# for each photo to be displayed

# 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/

exit 0
Old 03-15-2008, 04:12 AM   #2
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
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
Old 03-18-2008, 12:55 PM   #3
LQ Newbie
Registered: Mar 2004
Location: PA, USA
Distribution: still sampling, SUSE 10.3, Ubuntu, puppy, mythdora...
Posts: 19

Original Poster
Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is a script, run at boot time from init.d, run with root authority? tmbrwolf53 Linux - Server 2 03-31-2007 08:15 PM
Flash 9beta AND Google desktop pic stopped working?? Adrian Baker Linux - Software 2 11-20-2006 03:54 AM
cannot run in frame buffer mode in gentoo Maverick1182 Linux - Newbie 1 07-31-2006 10:54 AM
calling a frame from another frame : JAVA randomx Programming 0 10-07-2004 02:49 PM
on Network Up Script run? On Battery power run script? v2-ncl Linux - General 0 12-08-2003 09:34 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration