-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/28/10 2:59 PM, Stan Sanderson wrote:
> OS 10.5.8, XQuartz 2.4 (PPC), 2.5 (x86), fink unstable tree, all up-to- 
> date (except for gnumeric)
> 
> Alexander Hansen recently suggested how to start kde using .xinitrc.d.
> 
> For some time now, my only working startup for Gnome has been  
> through .xinitrc, using
>> source /sw/bin/init.sh
>> exec metacity &
>> exec gnome-panel
> 
> I have tried a variety of other approaches, hoping to start using  
> gnome-session, with no useful result.
> 
> A much earlier post mentioned, as did Alexander's post for kde,  
> that .xinitrc was deprecated. I was hoping Alexander or some other  
> helpful soul might post their recipe for Gnome start-up on the OS and  
> platforms mentioned above.
> 
> TIA,
> 
> Stan
> 
> 
> 
>

Try the following (WorksForMe)

1)  "fink reinstall xinitrc" to make sure that the "xinitrc" structure
is set up properly to load Fink stuff--it gets clobbered by Xquartz updates.

2)  Create /sw/etc/xinitrc-last-hook as a superuser, with contents:

#!/bin/sh
. /usr/X11/lib/X11/xinit/xinitrc.d/98-user.sh

(I'm thinking it might be worth making a Fink package up to do
that--this is how one sets it up on 10.5 and 10.6, but 10.4 doesn't
actually have this script and it would need to be created as well)

3)  Create $HOME/.xinitrc.d

4)  rename your .xinitrc to keep it from getting loaded

5)  Create $HOME/.xinitrc.d/74-gnome-session.sh (or something like that)
with contents

#!/bin/sh
exec gnome-session

6)  Make $HOME/.xinitrc.d/74-gnome-session.sh executable via

chmod a+x $HOME/.xinitrc.d/74-gnome-session.sh

The numbering convention is based on that in

/sw/share/doc/xinitrc/numbering.txt

(though 98-user.sh is provided by the system and uses its numbering
convention; cf.

http://article.gmane.org/gmane.os.macosx.fink.devel/18879

)
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvYl/kACgkQB8UpO3rKjQ8ijgCgh/qoH3WX4j7WhM/kkU6b39n5
SxEAn0VMbgDADHXXcP2A6DXW8SVUKaUd
=WeLq
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to