On Wednesday, 12 April 2006, at 12:08:06 (-0400),
Mike Russo wrote:

> >Here's my .xinitrc:
> >
> >xrdb -load $HOME/.Xresources &
> >gnome-settings-daemon &
> >elapse &
> >exec enlightenment &
> >e17setroot -s /Files/Images/Wallpapers/singularity-crop.jpg &
> >exec dbus-launch --exit-with-session enlightenment
>
> Once your .xinitrc calls "exec enlightenment" it stops
> executing. The dbus-launch line provides the same functionality.
> Remove the "exec" and it should work.

You'd be correct if it weren't for the & on the end of that line.
When the shell sees the conflicting requests of "exec" (replace the
currently running process with the given command) and "&" (fork a new
process in the background with the given command), it assumes that the
user didn't know what "exec" was supposed to do, and "&" takes
precedence.  So the "exec" is essentially ignored.

The problem is more likely a race condition.  Replace the e17setroot
line with this:

(sleep 5 ; e17setroot -s /Files/Images/Wallpapers/singularity-crop.jpg) &

See if that fixes the problem.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "There are so many things that are incredible about me.  The most
  amazing is my humility."                               -- Will Smith


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to