By the way, I just found some codes in garma
which you may be interested:
http://home.gna.org/garma/gnock/
http://cvs.savannah.gnu.org/viewcvs/woom/chingsan/Icide/ILogin/

There is a login application.
And for power off, it simply calls "shutdown -p now" through system(),
which is not a bad idea. :P

Yen-Ju

On 12/17/06, Yen-Ju Chen <[EMAIL PROTECTED]> wrote:
On 12/17/06, Quentin Mathé <[EMAIL PROTECTED]> wrote:
> 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.

I just test /bin/sh and '.' and it works.
What is the error you got ?
You can check the .xsession.log (something like that)
under your home directory.

Yen-Ju

>
> Thanks,
> Quentin.
>
> --
> Quentin Mathé
> [EMAIL PROTECTED]
>
>
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss
>


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

Répondre à