[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debianly Correct place to add ~/bin to $PATH ?



On Lu, 09 dec 13, 12:15:53, Paul E Condon wrote:
> I've just done a fresh netinst of Wheezy and want to proceed with my
> personal configuring in a way that is not fighting with the Debian
> view of how things should be done. I've used Debian since Potato, I
> think, but have always hacked things until they seemed to be
> working. Now, I want to try to do things in the way the developers had
> in mind when they built the install CD images.
> 
> I see the file ~/.profile . It contains code that tests for the
> existence of ~/bin/ and adds it to $PATH , if it exists.  But it
> doesn't 'work'. After I have created my ~/bin/.  and filled it with
> some scripts, and rebooted, there is still no mention of ~/bin/ in
> $PATH . Why? 

Most display managers don't source ~/.profile (or /etc/profile). I tried 
to discuss this with developers, but there was hardly any interest so I 
settled for sourcing them in ~/.xsessionrc instead (which is sourced by 
the X startup scripts):


,----[ ~/.xsessionrc ]
| . /etc/profile
| . ~/.profile
`----

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt

Attachment: signature.asc
Description: Digital signature


Reply to: