.bash_profile in xfce4

Olivier Fourdan fourdan at xfce.org
Wed Aug 13 21:32:37 CEST 2003


Anibal,

man xterm:

−ls     This  option  indicates  that  the shell that is started in the
        xterm window will be a login shell (i.e., the  first  character
        of  argv[0]  will  be  a  dash, indicating to the shell that it
        should read the user’s .login or .profile).
 
So "xterm -ls" will do what you want.

Cheers,
Olivier.
 
On Wed, 2003-08-13 at 20:39, Anibal Ojeda wrote:
> Olivier Thank for the response,
> 
> But how can i do achieve this ? if i'm runninf xterm for example, i would like 
> some one to tell me what do i have to do ? i'm kind of new so i understand 
> everything but i don't know how to manage those changes, wich files ? what do 
> i have to alterate ? etc. Please more specs for a dummy one..
> 
> sorry for this..
> 
> cheerz
> 
> Anibal
> 
> 
> On Wednesday 13 August 2003 01:03, Olivier Fourdan wrote:
> > Confusion comes from the fact that people just don't realize that
> > xfterm4 is *just* a *script* that calls $TERMCMD
> >
> > bash profiles are loaded by login shells, so you must tell the X
> > terminal you are using to run a login shell.
> >
> > The proper way to achieve this depends on the terminal that is actually
> > run (xterm, konsole, Eterm, gnome-terminal, etc.)
> >
> > Cheers,
> > Olivier.
> >
> > On Wed, 2003-08-13 at 00:51, Anibal Ojeda wrote:
> > > Plase can some one who knows explain me this ?
> > >
> > > But can you explain how to do this i'm new to this kind of problems.
> > >
> > >  thanks
> > >
> > > > On Sunday 10 August 2003 19:57, Moritz Heiber wrote:
> > > > > > 1 - when i start xfce4 i don't get my .bash_profile running on my
> > > > > > xterm or konsole or rxvt, really anoying since i got a lot of
> > > > > > changes to my bash profiles i'm not able to use only working under
> > > > > > xfce4, where can i fix this ?
> > > > >
> > > > > Applying the Bash variables listed in .bash_profile is a xterm option
> > > > > ( -ls ) which starts xterm's terminal emulation as an login shell.
> > > > > Either edit xfterm4 (I suppose you are using it for starting up a
> > > > > terminal) or set $TERMCMD to include -ls.
> > > > >
> > > > > > thanks for the help
> > > > >
> > > > > You're welcome,
> > > > >
> > > > > > regards.
> > > > >
> > > > > Bye,
> > > > >
> > > > > > Anibal Ojeda
> > > > >
> > > > > Moritz
> > > > > _______________________________________________
> > > > > Xfce mailing list
> > > > > Xfce at xfce.org
> > > > > http://moongroup.com/mailman/listinfo/xfce
-- 
Olivier Fourdan - fourdan at xfce.org
   
   Interoperability is the keyword, uniformity is a dead end. 
   http://www.xfce.org






More information about the Xfce mailing list