sean finney on 29 Mar 2007 10:40:49 -0000 |
On Wed, 2007-03-28 at 15:00 -0400, Art Alexion wrote: > I know I can put a link to /opt/firefox-2/program/mozilla-firefox > in /usr/local/bin, but how do I adjust my path so that the executable > in /usr/local/bin runs before /usr/bin? What about programs that launch > firefox with a hard-coded reference to the full /usr/bin path? first question: echo 'PATH=/usr/local/bin:$PATH' >> $HOME/.bashrc (or similar) second question: i'd like to see an example of a program that launches firefox from its hard-coded path. for the generalized version of this problem i'm sure that there are cases where something like this happens, but from my experience it's fairly rare. in most cases (i.e. your startup menu) you can just change the path if it's fully-qualified. sean Attachment:
signature.asc ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|