auto start program
Charlie Kravetz
cjk at teamcharliesangels.com
Tue Oct 9 15:06:53 UTC 2007
On Tue, 2007-10-09 at 10:32 -0300, Derek Broughton wrote:
> Andrew Glen-Young wrote:
>
> > On 09/10/2007, August <tan.august at gmail.com> wrote:
> >> add commands/programs in ~/.bashrc to start when user log in system
> >
> > My apologies, I missed the start of this thread. I would like to
> > comment that using '~/.bashrc' will run the command whenever the
> > user's bash shell is run. If you want to run the command only once per
> > session then you should probably use '~/.bash_profile' instead (or
> > more accurately - when a login shell is run).
>
> or ~/.xsession (once per X session), or KDE has a per-user Autostart folder
> and I would have thought Gnome would too.
> --
> derek
>
>
Gnome uses /etc/gdm/PostLogin/Default
Any commands entered will be run as soon as the user logs in. $HOME,
$LOGIN and such will all be set appropriately and this script is run as
root. This seems about as close to KDE per-user Autostart folder that I
have found.
--
--
Charlie Kravetz
http://keepingdreams.com
Linux Registered User Number 425914
Never let anyone steal your DREAM
More information about the ubuntu-users
mailing list