Re: User's bin path not recognised in login script

2016-03-24 Thread Russell Gadd
On 24/03/16 00:30, David Wright wrote: ... I don't know what you mean by "login" script because you haven't yet told us (I believe) what your machine is configured to do when you boot it up. If you've installed some sort of Desktop Environment, then the DE has the responsibility of selecting

Re: User's bin path not recognised in login script

2016-03-23 Thread The Wanderer
On 2016-03-23 at 20:23, David Wright wrote: > On Tue 22 Mar 2016 at 22:35:32 (+), Russell Gadd wrote: > >> On 22/03/16 19:00, The Wanderer wrote: >>> Also, at least on my system, ~/.bashrc is invoked only by being >>> sourced from ~/.profile or ~/.bash_profile. Unless your system is >>> conf

Re: User's bin path not recognised in login script

2016-03-23 Thread David Wright
On Tue 22 Mar 2016 at 22:35:32 (+), Russell Gadd wrote: > On 22/03/16 19:00, The Wanderer wrote: > >... > > > >How did you test? By launching a new terminal (with bash set as your > >default shell), by running the command 'bash' in an existing terminal, > >by logging all of the way out (to the

Re: User's bin path not recognised in login script

2016-03-22 Thread The Wanderer
On 2016-03-22 at 18:35, Russell Gadd wrote: > On 22/03/16 19:00, The Wanderer wrote: >> How did you test? By launching a new terminal (with bash set as >> your default shell), by running the command 'bash' in an existing >> terminal, by logging all of the way out (to the main login prompt, >> if

Re: User's bin path not recognised in login script

2016-03-22 Thread Lisi Reisz
On Tuesday 22 March 2016 21:42:11 seeker5...@comcast.net wrote: > See if this gets through, my WiFi got flaky, which seems like it cause some > issue with imap between Thunderbird and Comcast. Thunderbird claims the > message was sent twice, but I never got a copy in my inbox. I got two earlier co

Re: User's bin path not recognised in login script

2016-03-22 Thread Russell Gadd
On 22/03/16 20:20, Seeker wrote: ... Create '~/.xprofile' and put your export commands and extra non-desktop specific stuff you always want to run there. https://wiki.archlinux.org/index.php/xprofile Later, Seeker Thanks. I might try this later.

Re: User's bin path not recognised in login script

2016-03-22 Thread Russell Gadd
On 22/03/16 19:00, The Wanderer wrote: ... How did you test? By launching a new terminal (with bash set as your default shell), by running the command 'bash' in an existing terminal, by logging all of the way out (to the main login prompt, if not to a full reboot) and then logging back in, or b

Re: User's bin path not recognised in login script

2016-03-22 Thread seeker5528
See if this gets through, my WiFi got flaky, which seems like it cause some issue with imap between Thunderbird and Comcast. Thunderbird claims the message was sent twice, but I never got a copy in my inbox. Here we go again, from the webmail this time. ;) On 3/22/2016 11:20 AM, Russell Gad

Re: User's bin path not recognised in login script

2016-03-22 Thread Seeker
On 3/22/2016 1:11 PM, Michael Fothergill wrote: On 22 March 2016 at 19:59, Dan Ritter > wrote: On Tue, Mar 22, 2016 at 05:13:43PM +, Michael Fothergill wrote: > On 22 March 2016 at 16:24, Andrew McGlashan < > andrew.mcglas...@affinityvision.com.a

Re: User's bin path not recognised in login script

2016-03-22 Thread Seeker
On 3/22/2016 11:20 AM, Russell Gadd wrote: Thanks for the export point which I have now used. However it doesn't solve the problem. I experimented by adding the following line into ~/.bash_profile, ~/.profile and ~/.bashrc: echo "This is " &>>/tmp/out.txt Neither of the profile files trigger

Re: User's bin path not recognised in login script

2016-03-22 Thread Seeker
On 3/22/2016 11:20 AM, Russell Gadd wrote: Thanks for the export point which I have now used. However it doesn't solve the problem. I experimented by adding the following line into ~/.bash_profile, ~/.profile and ~/.bashrc: echo "This is " &>>/tmp/out.txt Neither of the profile files tri

Re: User's bin path not recognised in login script

2016-03-22 Thread The Wanderer
On 2016-03-22 at 14:20, Russell Gadd wrote: > On 22/03/16 02:40, David Christensen wrote: >> Did you remember the 'export' in .profile? >> >> export PATH=$PATH:$HOME/bin >> >> >> It might help to add echo's in the various scripts to check the >> order in which they run -- e.g. verify that .b

Re: User's bin path not recognised in login script

2016-03-22 Thread Russell Gadd
On 22/03/16 02:40, David Christensen wrote: ... Did you remember the 'export' in .profile? export PATH=$PATH:$HOME/bin It might help to add echo's in the various scripts to check the order in which they run -- e.g. verify that .bash_profile runs before your bash login script, so that PAT

Re: User's bin path not recognised in login script

2016-03-21 Thread David Christensen
On 03/21/2016 11:03 AM, Russell Gadd wrote: The bash login script I have added in to my startup programs does not recognise /home/user/bin as part of the path, whereas it used to when I was running Linux Mint (I'm a recent refugee). I've got PATH="$HOME/bin:$PATH" in ~/.bashrc and also in ~/.prof

Re: User's bin path not recognised in login script

2016-03-21 Thread Sven Arvidsson
On Mon, 2016-03-21 at 18:03 +, Russell Gadd wrote: > The bash login script I have added in to my startup programs does > not  > recognise /home/user/bin as part of the path, whereas it used to when > I  > was running Linux Mint (I'm a recent refugee). I've got  > PATH="$HOME/bin:$PATH" in ~/.ba

User's bin path not recognised in login script

2016-03-21 Thread Russell Gadd
The bash login script I have added in to my startup programs does not recognise /home/user/bin as part of the path, whereas it used to when I was running Linux Mint (I'm a recent refugee). I've got PATH="$HOME/bin:$PATH" in ~/.bashrc and also in ~/.profile, together with a ~/.bash_profile which