LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-09-2008, 04:27 PM   #1
SyCo123
Member
 
Registered: May 2007
Posts: 96

Rep: Reputation: 15
start up program after boot


I'm working on a digiframe on an old laptop and have DS Linux installed. I'm trying to get unclutter to start when the laptop starts. Unclutter works fine when I run it from the command line using

/usr/X11R6/bin/unclutter idle -15

but i tried adding this

/usr/X11R6/bin/unclutter idle -15 &

to /home/.dsl/.xinitrc but the mouse pointer never goes away after rstarting x (Alt+ctrl+backspace then startx) or rebooting

After installing DSL the Dillo browser open up wiht a welcome/help and that is started from the same file. I commented out the dillo start up stuff and now I dont get the dillo help window (as I wanted) so I'm editing the correct file.

Any idea what could be going wrong or what log to see a message to give me a clue?


Here's the conents of my xinitrc file

Code:
# 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 &


#commented out by me
#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

#below added by me

/usr/X11R6/bin/unclutter -idle 15 &

xset s off
noblank
#xset s off
#/usr/bin/aterm -T "bash" -e /bin/bash &
#startx &
#/home/dsl/frame/cron_start_frame.sh & 
#fluxbox 2>/nev/null &

Last edited by SyCo123; 03-09-2008 at 04:30 PM. Reason: more info
 
Old 03-10-2008, 03:07 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I thought that things that come after the invocation of the
WM get ignored .... ?
I assume that
Code:
[ -f ".$DESKTOP.inc" ] && ~/".$DESKTOP.inc"
exec "${DESKTOP:=jwm}" 2>/dev/null

#below added by me
I assume that the thing above is defining a window manager
and starting it? Try placing your unclutter before that.



Cheers,
Tink

Last edited by Tinkster; 03-10-2008 at 03:08 AM.
 
Old 03-10-2008, 12:02 PM   #3
SyCo123
Member
 
Registered: May 2007
Posts: 96

Original Poster
Rep: Reputation: 15
You might be right, in this script
http://www.frontiernet.net/~picturef...mozTocId357910
The script is run before the window manager so I'll give it a go when I get home and post again.

Thanks
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Start program at boot The_paladin Debian 2 08-08-2006 01:30 PM
start program on boot AZaraT Linux - Newbie 6 06-26-2006 05:26 PM
How do I start a program on boot ? overproof Mandriva 4 04-22-2005 07:13 AM
Start program at boot as non-root ImpactDNI Linux - Newbie 4 07-18-2004 12:44 PM
program start at boot moonloader Slackware 4 03-08-2004 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:07 AM.

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