Le 17 déc. 06 à 20:51, Yen-Ju Chen a écrit :

On 12/17/06, Quentin Mathé <[EMAIL PROTECTED]> wrote:
Well it surely works as you explain it :-)… but only if you don't use
etoile.desktop config file installed in /usr/share/xsessions (this is
the standard way to add a session for GDM or KDM).

 It does work with etoile.desktop.

I'm glad you contradict me ;-)… To have such startup script would allow to avoid ld.so.conf updates and similar in setup.sh. This is a welcome simplification.

 Here is my etoile.desktop under /usr/share/xseesions/

[Desktop Entry]
Encoding=UTF-8
Name=Étoilé

Comment=Use this session to log in Étoilé environment
Comment[fr]=Utilisez cette session pour vous logguez dans
l'environnement Étoilé

Exec=/usr/local/bin/etoile_system_startup

# No icon for now
Icon=
Type=Application

 And here is my etoile_system_startup under /usr/local/bin

#!/bin/bash
source /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh
etoile_system

 And my etoile_system is in under System/Tools/.
 The only thing is that sh does not have 'source'.
 So I have to use bash or csh instead,
 and they may be installed in different places depending on systems.

I only tried with sh and '. somewhere/GNUstep.sh" previously, so I think 'source' is the trick that makes it work properly.

Thanks,
Quentin.

--
Quentin Mathé
[EMAIL PROTECTED]


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à