discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Etoile xsession


From: Rubens_Septimus
Subject: Re: Etoile xsession
Date: Mon, 26 May 2008 15:15:30 -0700 (PDT)



Yen-Ju Chen wrote:
> 
> When applications call NSWorkspace in GNUstep, GNUstep will pick up a
> default one if there is none. The default one is GWorkspace.app.
> In your xsession, there are several application calling NSWorkspace
> simultaneously.
> I guess that is the reason you have multiple copies of GWorkspace.app
> running.
> To solve the problem, set this default setting:
> 
> defaults write NSGlobalDomain GSWorkspaceApplication "NotExist.app"
> 
> Then you can start GWorkspace.app manually.
> 
> There is a components in Etoile called System, which will handle the
> starting of applications gracefully:
> 
> http://svn.gna.org/viewcvs/etoile/trunk/Etoile/Services/Private/System/
> 
> If you call it in your xsession (there is an example for GDM),
> it will call all the applications for you in SystemTaskList.plist (see
> example in source code).
> 
> Yen-Ju
> 
> On Mon, May 26, 2008 at 4:39 AM, Rubens_Septimus
> <patrick.cardona@free.fr> wrote:
>>
>> Hello,
>>
>> I managed to build a consistent GNUstep upon Ubuntu and then Etoile on
>> the
>> above. All the builds went fine.
>>
>> I use .xsession because the Path expected by Etoile in setup.sh differ
>> from
>> mine : no matter, I source GNUstep.sh in .xsession and all  works fine. I
>> can load EtoileMenuServer. However GWorkspace is called twice (the second
>> is
>> called GWorkspaceCpoy1) with an error and dialog at statup to notice that
>> :
>> "Application seems to hung"
>>
>> Maybe my .xsession is badly written or something is wrong inside my
>> defaults
>> :
>>
>> Here is my .xsession :
>>
>> #!/bin/sh
>>
>> # .xsession
>>
>> # Parametrage souris
>> xset m 20/10 4
>>
>> ### Services pour GNUstep
>> if [ -f /usr/GNUstep/System/Library/Makefiles/GNUstep.sh ];then
>>        GNUSTEP_MAKEFILES=/usr/GNUstep/System/Library/Makefiles
>> else
>>        if [ -f /usr/local/share/GNUstep/Makefiles/GNUstep.sh ];then
>>                GNUSTEP_MAKEFILES=/usr/local/share/GNUstep/Makefiles
>>        else
>>                echo "Erreur : GNUSTEP_MAKEFILES est inconnu. !" >>
>> $HOME/.xession-errors
>>                echo "Les services gdnc et gpbs n'ont pu être lancés." >>
>> $HOME/.xession-errors
>>        fi
>> fi
>>
>> if [ -f $GNUSTEP_MAKEFILES/GNUstep.sh ];then
>>        . $GNUSTEP_MAKEFILES/GNUstep.sh
>>        # Demarre les services
>>        gdnc
>>        gpbs
>> fi
>>
>> # Window Manager
>> Azalea &
>> AZBackground GNUstep/Library/WindowMaker/Backgrounds/tiger_wall.jpg &
>> AZDock &
>> AZSwitch &
>>
>> # Pour automontage des cles USB, etc.
>> ivman &
>> pmount &
>> # Service de notification de la mise à jour...
>> update-notifier --force-use-gksu --startup-delay 30000 &
>>
>> # Application principale
>> EtoileMenuServer
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Etoile-xsession-tp17462120p17462120.html
>> Sent from the GNUstep - General mailing list archive at Nabble.com.
>>
>>
>>
>> _______________________________________________
>> Discuss-gnustep mailing list
>> Discuss-gnustep@gnu.org
>> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
>>
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 
> 

Thanks Yen-Ju. It works fine now with this defaults directive. So my new
xsession now ends with these lines :

(The above like it was...)

# Application principale
EtoileMenuServer &
GWorkspace

Cheers,
Patrick
-- 
View this message in context: 
http://www.nabble.com/Etoile-xsession-tp17462120p17479659.html
Sent from the GNUstep - General mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]