Hi Patrick,

Le 31 mai 08 à 19:11, Patrick Cardona a écrit :

> After a month trying and learning - mainly from GNUstep discussion  
> list - I am able to get a working Etoile upon GNUstep and I am able  
> to use it with a good stability. But I feel some things are not set  
> correctly and I would make things cleaner to go further.
>
> My OS is Ubuntu Hardy 8.4 and I built all the core and Etoile from  
> SVN.
>
> The first thing is that I can't use the binary or script "etoile" or  
> "etoile-system" to load Etoile desktop because the attended path is  
> wrong :
> Mine is : /us/local/share/GNUstep/Makefiles/GNUstep.sh
> But I did not choose it. It was the result of the building process.  
> See below.

By attended path, I suppose you mean GNUstep.sh path declared in  
'etoile' script, right?
If you source GNUstep.sh before starting etoile_system directly,  
normally everything should start well sincde etoile_system delegates  
the launching of tools and applications to GNUstep, by simply passing  
the tool or app name rather than an hardcoded path. Did you try it?

Here is the 'etoile' startup script referenced in the xsession file  
'etoile.desktop'. As you can see below the script is really simplistic  
and does exactly what I suggest to try just above:
. $GNUSTEP_SYSTEM_ROOT/Library/Makefiles/GNUstep.sh;
etoile_system
This script is generated by setup.sh. So an invalid 'etoile' script  
may be installed, if you run setup.sh and $GNUSTEP_SYSTEM_ROOT doesn't  
match the value exported by /usr/local/share/GNUstep/Makefiles/ 
GNUstep.sh.

I tested su - -p -c "./setup.sh" on my Ubuntu Hardy install and it  
worked fine for me. So the only explanations I can think of, are
- GNUstep.sh hasn't been properly sourced before compiling etoile and  
running setup.sh
- GNUstep.sh is sourced by the root user in a shell initialization  
script like .bashrc, then perhaps your GNUstep environment variables  
are overwritten in favor of the ones of the root user

You can try to just source GNUstep.sh, check you shell environment  
variables to see whether $GNUSTEP_SYSTEM_ROOT is correctly declared  
and then run setup.sh by typing './setup.sh' (choose option 1 with  
sudo).

> So I must use a xsession to source my GNUstep.sh to correct the path  
> and then to load the AZ* programs. But maybe this is not the better  
> way to do things and maybe I forget some program to be loaded then X  
> session starts.

It's a better to use etoile_system because it manages stuff like log  
out, reboot, monitoring applications etc. but if we put aside these  
features, for now everything should run fine without it.
You can also launch Corner and Idle from Services/Private.

hope it helps,
Quentin.
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à