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

Re: Debian equivalent of .login file?



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

On Monday 14 October 2002 4:33 pm, Kjetil Kjernsmo wrote:
> On Sunday 13 October 2002 20:37, Mathias De Belder wrote:
> > On Sun, Oct 13, 2002 at 01:27:36PM -0400, Levi Waldron wrote:
> > > What's the Debian equivalent of Unix's .login and .logout files?
> > > Any user can place these files in their home directory and their
> > > commands will be run at login/logout, without having to do anything
> > > as root?
> >
> > .bashrc and .bash_logout respectively. .bashrc should be sourced from
> > .bash_profile.
>
> Is there any similar things for KDM? I want some stuff ran when I log in
> on the machine, and some stuff on logout.
>
> Best,
>
> Kjetil
I am pretty sure the standard debian kdm startup uses ~/.xsession

If you run console then .bashrc gets run 

.bash_profile also gets run at somepoint, I am not sure when, but I use it to 
set ~/bin into the path and it seems to be set.
- -- 
Alan Chandler
alan@chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9qx0AuFHxcV2FFoIRAr5HAJ0cQCYQpo7K9nqaW5zJ/XAFa91GwQCeMW/Z
3jCdX201yR4Ro4oyauRrXQo=
=vxnr
-----END PGP SIGNATURE-----



Reply to: