Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #165787
| From | Sven Arvidsson <sa@whiz.se> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: User's bin path not recognised in login script |
| Date | 2016-03-21 19:30 +0100 |
| Message-ID | <rfcKu-14J-17@gated-at.bofh.it> (permalink) |
| References | <rfcAO-Zv-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Mon, 2016-03-21 at 18:03 +0000, 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 ~/.profile, together > with a ~/.bash_profile which sources ~/.profile. I've no idea > whether > all these are necessary - they do work to search my bin in a script > run > in the Mate terminal but not in the login script. It's not a big deal > as > I can prepend the absolute path in the login script, although I > assume > this means also doing it in sourced scripts within the login script, > so > I'd like to know if there's a clean way to set this up. If you are using gdm to launch X, /etc/gdm3/Xsession sources ~/.profile other display managers probably do something similar. -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 6FAB5CD5
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-21 19:20 +0100
Re: User's bin path not recognised in login script Sven Arvidsson <sa@whiz.se> - 2016-03-21 19:30 +0100
Re: User's bin path not recognised in login script David Christensen <dpchrist@holgerdanske.com> - 2016-03-22 03:40 +0100
Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-22 19:40 +0100
Re: User's bin path not recognised in login script The Wanderer <wanderer@fastmail.fm> - 2016-03-22 20:00 +0100
Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-22 23:50 +0100
Re: User's bin path not recognised in login script The Wanderer <wanderer@fastmail.fm> - 2016-03-23 03:50 +0100
Re: User's bin path not recognised in login script David Wright <deblis@lionunicorn.co.uk> - 2016-03-24 01:30 +0100
Re: User's bin path not recognised in login script The Wanderer <wanderer@fastmail.fm> - 2016-03-24 01:40 +0100
Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-24 09:30 +0100
Re: User's bin path not recognised in login script Seeker <seeker5528@comcast.net> - 2016-03-22 21:20 +0100
Re: User's bin path not recognised in login script Russell Gadd <russ.mail.lists@gmail.com> - 2016-03-22 23:50 +0100
Re: User's bin path not recognised in login script Seeker <seeker5528@comcast.net> - 2016-03-22 22:10 +0100
Re: User's bin path not recognised in login script Seeker <seeker5528@comcast.net> - 2016-03-22 22:30 +0100
Re: User's bin path not recognised in login script seeker5528@comcast.net - 2016-03-22 22:50 +0100
Re: User's bin path not recognised in login script Lisi Reisz <lisi.reisz@gmail.com> - 2016-03-23 00:00 +0100
csiph-web