James Dasher wrote:


On Saturday, Nov 15, 2003, at 06:38 US/Eastern, Martin Costabel wrote:


<snip>

  source /sw/bin/init.csh
  exec gnome-session

or

  source /sw/bin/init.csh
  metacity &
  exec gnome-session

Oh dear, I lied :-( It is init.sh, not init.csh! The .xinitrc file is read by a shell of the sh variety, independently of the user's favorite shell.



The above were recommended lines to include in a .xinitrc file, in this case for a fink user having problems initiating a gnome session. I have the (same) source line in my .cshrc file, not in my .xinitrc file.


My questions:
1) Is it better to source the shell in one .*rc file rather than the other?

You need both, they are executed in different situations. .cshrc is read when your command line shell starts, .xinitrc is read when X11 starts.


--
Martin




------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to