Re: Start GNUstep.sh as early as possible in Xwindow session

2006-04-17 Thread Charles Philip Chan
On Sun, 16 Apr 2006 23:32:41 -0700 Yen-Ju Chen [EMAIL PROTECTED] wrote: I wonder anyone has a better solution, like automatically running GNUstep.sh if it is run before ? It looks like you are running it instead of sourcing it, ie: source /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

Re: Start GNUstep.sh as early as possible in Xwindow session

2006-04-17 Thread Chris Vetter
On 2006-04-17 10:01:26 +0200 Charles Philip Chan [EMAIL PROTECTED] wrote: The difference between ~/.profile and ~/.bashrc is that ~/.profile only runs once when logging in as opposed to ~/.bashrc which runs every time you invoke a new shell. Yes, but not every shell looks for (and reads in)

Re: Start GNUstep.sh as early as possible in Xwindow session

2006-04-17 Thread Tima Vaisburd
Yen-Ju Chen [EMAIL PROTECTED] wrote: I wonder anyone has a better solution, like automatically running GNUstep.sh if it is run before ? Tima Vaisburd wrote: I put the line source path-to-GNUstep/System/Library/Makefiles/GNUstep.sh in my ~/.bash_profile On Monday 17 April 2006 01:01,

Re: Start GNUstep.sh as early as possible in Xwindow session

2006-04-17 Thread Charles Philip Chan
On Mon, 17 Apr 2006 10:41:51 +0200 Chris Vetter [EMAIL PROTECTED] wrote: Yes, but not every shell looks for (and reads in) the .profile file in your home. Yes you are correct, Do you know of any shell other than t/csh that does not read ~/.profile? Charles -- printk(KERN_ERR %s: Something

Re: Start GNUstep.sh as early as possible in Xwindow session

2006-04-17 Thread Chris Vetter
On 2006-04-17 11:09:16 +0200 Charles Philip Chan [EMAIL PROTECTED] wrote: Yes you are correct, Do you know of any shell other than t/csh that does not read ~/.profile? For example, the ZSH doesn't even read /etc/profile, nor does it read ~/.profile. By default it's /etc/zprofile and

Re: Start GNUstep.sh as early as possible in Xwindow session

2006-04-17 Thread Charles Philip Chan
On Mon, 17 Apr 2006 00:56:40 -0700 Tima Vaisburd [EMAIL PROTECTED] wrote: I modified the first line of this script to be #!/bin/bash --login This way it reads $HOME/.bash_profile (but _not_ $HOME/.bashrc) so I put the line source path-to-GNUstep/System/Library/Makefiles/GNUstep.sh

RE: Start GNUstep.sh as early as possible in Xwindow session

2006-04-17 Thread Vaisburd, Haim
Charles Philip Chan wrote: Do you know of any shell other than t/csh that does not read ~/.profile? bash does not read ~/.profile if it finds ~/.bash_profile Just a note: bash (and, maybe, some other popular shells) distinguishes between 1. interactive login shell 2. interactive, but not login

Re: Start GNUstep.sh as early as possible in Xwindow session

2006-04-17 Thread Charles Philip Chan
On Mon, 17 Apr 2006 11:30:09 -0700 Vaisburd, Haim [EMAIL PROTECTED] wrote: bash does not read ~/.profile if it finds ~/.bash_profile Yes, you are correct. To expand on this if ~/.bash_profile does not exist, it will source ~/.bash_login. If ~/.bash_login does not exist, it will source

RE: Start GNUstep.sh as early as possible in Xwindow session

2006-04-17 Thread Vaisburd, Haim
Yen-Ju Chen wrote: As a regular user, I cannot even understand why there is a .bash_profile, .bash_rc and .profile. As a GNUstep developer, you can easily understand it after you read INVOCATION section in the manual page for bash :) My only advise is to stick with just one shell (bash is ok),

Re: Start GNUstep.sh as early as possible in Xwindow session

2006-04-17 Thread Yen-Ju Chen
On 4/17/06, Christopher Armstrong [EMAIL PROTECTED] wrote: I've been messing alot with .xsession and .xinitrc lately, and from what I can work out these are executed depending on how you use X (please check manuals before relying on this information, as I may be wrong). .xinitrc is supposed