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

Re: xsession, bash_profile and xdm



On Tue, Nov 07, 2000 at 02:53:59PM +0000, Thomas Halahan wrote:
> 
> Thanks Ethan,
> 
> I tried to put
> 
> > #! /bin/bash --login
> 
> as the header to my ~/.xsessions file but this did not work.  should 
> this behave differently to the /etc/X11/Xsession global config?

im not sure that trick works in the ~/.xsession, i don't really see
why not, but it could.  

source ~/.bash_profile 

should work for sure though.  

some older versions of bash ignored --login in non-interactive mode,
this was fixed back when potato was unstable.  

> however the following 
> 
> > if [ -f /etc/environment ]; then
> >     eval env "$(cat /etc/environment)"
> > fi
> 
> worked in my ~/.xsession.  thanks v much.
> 
> tom
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpeeE9jts9zz.pgp
Description: PGP signature


Reply to: