Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #172314
| From | Liam O'Toole <liam.p.otoole@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: permanently add dir to $PATH |
| Date | 2016-09-16 19:50 +0200 |
| Message-ID | <si5qW-7Rv-27@gated-at.bofh.it> (permalink) |
| References | <si202-5IX-13@gated-at.bofh.it> <si202-5IX-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2016-09-16, Greg Wooledge <wooledg@eeg.ccf.org> wrote: > On Fri, Sep 16, 2016 at 10:01:39AM -0400, Tony Baldwin wrote: >> The other problem is trying to permanently add $HOME/bin to the $PATH. >> >> I have in .bash_profile >> PATH=$PATH:$HOME/bin >> export PATH >> >> But every time I boot I have to manually add it again. > > This is probably because you are logging in with a display manager > instead of ssh or a Linux console. The display managers do not launch > a login shell, so your login shell configuration files are never read. > > (This is why I never use a display manager. Well, one of the reasons.) > > You need to identify which display manager you're using, and then try > to figure out how to configure it as a user. Good luck. I've found > that most of them have absolutely ZERO documentation about this. > > gdm sources the login scripts, whereas lightdm does not. In the latter case, do the necessary PATH munging in ~/.xsessionrc. -- Liam
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
permanently add dir to $PATH Tony Baldwin <tonybaldwin@gmx.com> - 2016-09-16 16:10 +0200
Re: permanently add dir to $PATH Greg Wooledge <wooledg@eeg.ccf.org> - 2016-09-16 16:10 +0200
Re: permanently add dir to $PATH Liam O'Toole <liam.p.otoole@gmail.com> - 2016-09-16 19:50 +0200
Re: permanently add dir to $PATH "der.hans" <deb-user@LuftHans.com> - 2016-09-16 16:30 +0200
csiph-web