.bash_profile not run when using graphical login

Erik Bågfors Zindar at gmail.com
Tue Oct 5 18:40:20 UTC 2004


On Tue, 5 Oct 2004 13:33:26 -0500, Martin Maney <ubuntu at two14.net> wrote:
> On Tue, Oct 05, 2004 at 11:50:43AM +1000, Rob Weir wrote:
> > On Mon, Oct 04, 2004 at 05:07:06PM +0100, Andy said
> > > So I'd like to know if other people think it would be a good idea for
> > > .bash_profile to be run if you log in graphically and then open a
> > > terminal windows.
> >
> > If you make your terminals "login" terminals then it will be sourced by
> > bash.  "xterm -ls", for example.
> 
> Ah, here's that thread!  As I was looking for something else, I came
> across a setting that seems relevant.  Now, where was it hiding?
> 
> <login, rummage about...>
> 
> Ah, yes, in the registry\\\\\\\ GConf editor, under Apps /
> gnome-terminal / profiles / Default, and item called "login_shell"
> appears to set this, presumably for all instances of gnome-terminal.

or, edit profile -> title and command -> run command as a login shell
should be the same I think.
 
> And now I remember what I was loking for in vain - a way to get
> gnome-terminal to scroll without using the wheel on the mouse.  It's
> not that I don't like scroll wheels, but when I'm using a terminal my
> hadn is not usually on the mouse, so being forced to reach for it for
> this is annoying.
>

shift pgup

/Erik




More information about the ubuntu-users mailing list