.bash_profile not run when using graphical login
Martin Maney
ubuntu at two14.net
Tue Oct 5 18:33:26 UTC 2004
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.
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.
--
Truth in advertising is like leaven, which a woman hid in three
measures of meal. It provides a suitable quantity of gas, with
which to blow out a mass of crude misrepresentations into a form
that the public can swallow. - Dorothy Sayers, _Murder Must Advertise_
More information about the ubuntu-users
mailing list