[FSO] where is the windowmanager and zhone started

Joel Newkirk freerunner at newkirk.us
Wed Nov 12 06:33:51 CET 2008


On Mon, 10 Nov 2008 22:25:45 +0100, Sten Kvamme <sten at kvamme.se> wrote:
> On fre, 2008-11-07 at 16:55 -0500, Joel Newkirk wrote:
>> On Fri, 07 Nov 2008 20:44:15 +0100, Sten Kvamme <sten at kvamme.se> wrote:
>> > Hi,
>> > Where (in what file ) is the window manager and zhone started? In
> Debian
>> > it's the /usr/bin/zhone-session, but where in FSO?
>> > 
>> > Thanks,
>> > Sten
>> 
>> /etc/X11/Xsession.d/80zhone and /90xXwindowManager
>> 
>> The latter invokes /usr/bin/x-window-manager, which symlinks to
>> /usr/bin/enlightenment_start.oe.  They all start from
>> /etc/init.d/xserver-nodm, which runs /etc/X11/Xserver, which runs
>> /etc/X11/Xsession.d/*... ;)
>> 
>> j
>> 
>> 
> 
> Ok, and the animated blip, where is that started? I must admit I'm a bit
> lost in FSO.
> 
> Thanks,
> Sten

/etc/X11/Xserver ends with the lines:
# start off server in conventional location.                               
                                                               
ARGS="$ARGS -dpi 285 -screen 480x640 -hide-cursor -root-ppm
/usr/share/pixmaps/jsplash-vga.ppm vt1"                                    
   
#ARGS="$ARGS -dpi 285 -screen 480x640 -hide-cursor vt1"                    
                                                               
                                                                           
                                                               
DISPLAY=':0'                                                               
                                                               
                                                                           
                                                               
exec xinit /etc/X11/Xsession -- $XSERVER $DISPLAY $ARGS $* >/tmp/x.log 2>&1



The '-root-ppm' is the static splash screen.  

Following that, Xsession starts enlightenment, passing it $E_PROFILE as
defined in /etc/enlightenment/default_profile.

NOW.  /usr/share/enlightenment/data/init contains one or more .edj files
that each define an animated splash init that appears next, and until
enlightenment finishes loading.  The .edj file used is determined by
$E_PROFILE.  So if default_profile contains E_PROFILE='-profile illume'
then enlightenment will try to start up with illume_init.edj for the splash
(the 'cylon' animated blip, or various other animations depending on image)
and will try to use /usr/share/enlightenment/data/themes/illume.edj as the
theme for illume.  If it's E_PROFILE='-profile fso' then it looks for
fso_init.edj splash and fso.edj theme, etc.

j




More information about the devel mailing list