May I ask why you are running a version of Ubuntu that has been
end-of-life for 11 months?  You aren't getting any security/bug
patches and should upgrade to 12.04 if you want to stay patched and on
the newest LTS release.  Only the server version of 10.04 is still
supported.

On Wed, Mar 26, 2014 at 1:37 PM, paul g <pj.world at hotmail.com> wrote:
> What ended up more or less solving this dilema for me was the following.
>
> /etc/profile --------> systemwide initialization profile file.
>
> Added the following line.
>
> export PATH=$PATH:/opt/firefox
>
> gnome-terminal window and going to Edit / Profiles - select the Default
> profile and click the Edit button. On the Title and Command tab, click the
> check box for Run command as a login shell. Your .bash_profile file should
> be sourced the next time you open a gnome-terminal.
>
> Was not necessary this time.
>
> Now Alt+F2 -------->firefox works!
> entering 'firefox' in the terminal also works.
>
> I think it's kindof neat to be running Ubuntu 10.04 with the latest version
> of firefox installed.
>
> The 'updatedb' command is obviously very important.
>
> Thanks for all your help.
>
>
>
>
>
>
>
> ________________________________
> From: pj.world at hotmail.com
> To: tclug-list at mn-linux.org
> Date: Tue, 25 Mar 2014 19:51:51 -0500
> Subject: Re: [tclug-list] About Firefox 28 on Ubuntu 10.04
>
> Thank you again for so much help.
>
> So the line added to /etc/bash.bashrc should be deep system wide approach
> once added (I just noticed that there is no) ---> .bashrc file in /home/paul
>
> Instead the file is located in /etc/bash.bashrc <--------Ubuntu? correct?
> (fresh locate just performed)
>
> no--------> export Path=$PATH:/opt/firefox <-------lowercase letters in path
> is not going to work.
> yes-------> export PATH=$PATH:/opt/firefox
>
> correct?
>
> Thanks,
>
>
>
>
>
> ________________________________
> Date: Tue, 25 Mar 2014 19:07:28 -0500
> From: chapinjeff at gmail.com
> To: tclug-list at mn-linux.org
> Subject: Re: [tclug-list] About Firefox 28 on Ubuntu 10.04
>
> Replies inline
>
>
> On Tue, Mar 25, 2014 at 6:58 PM, paul g <pj.world at hotmail.com> wrote:
>
> Thank you Jeff and Mike
>
> To ask another question if I may?
>
> Does it matter if no existing PATH entry is seen in /home/paul/.bashrc at
> this time?
>
>
> No, it does not matter. The example I gave you appends to the existing
> values, so it is safe to use in this case.
>
>
>
>
> Where do 'echo $PATH' varibles come from are they built into bash upon
> installation of the OS?
>  -------->
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> <--------
>
>
>
> These are likely provided by either /etc/bashrc or /etc/profile, since these
> are the default values for all users on that machine.
>
>
>
> Will placing 'export Path=$PATH:/opt/firefox' in the '/home/paul/.bashrc'
> file at the bottom of the .bashrc file or top or middle matter?
>
>
> No. If there were other export PATH lines in the file, the positions
> relative to each other would matter, but if there is nothing there already,
> it does not matter.
>
>
>
> Allow me to not get the 'firefox not installed use apt-get to install'
> message when I try to load firefox from the bash terminal?
>
>
> I believe that this is Ubuntu's way of saying that it could not find firefox
> when it searched PATH -- so yes, this should fix that.
>
>
>
> Does it matter if Path-PATH is lower case or upper case at the beginning of
> the string?
>
>
>
> Yes. PATH is a variable name, and variable names are case sensitive.
> PATH=$PATH:/something/ simply means "set the variable PATH equal to the
> current value of PATH plus the string ':/something/'"
>
> VARIABLE= sets a variable.
> $VARIABLE returns the contents of that variable.
>
> Jeff
>
>
> Thanks,
>
> ________________________________
> Date: Tue, 25 Mar 2014 17:11:03 -0500
> From: chapinjeff at gmail.com
>
> To: tclug-list at mn-linux.org
> Subject: Re: [tclug-list] About Firefox 28 on Ubuntu 10.04
>
> Replies inline.
>
>
> On Tue, Mar 25, 2014 at 3:58 PM, paul g <pj.world at hotmail.com> wrote:
>
> You have helped tremendously
>
> paul at paul-desktop:~$ sudo updatedb
> paul at paul-desktop:~$ locate -b firefox
> /home/paul/.cache/mozilla/firefox
> /home/paul/.mozilla/firefox
> /home/paul/.mozilla/firefox/bkbapzwn.default/extensions/firefox at ghostery.com.xpi
> /home/paul/.mozilla/firefox/bkbapzwn.default/jetpack/firefox at ghostery.com
> /home/paul/Downloads/tor-browser_en-US/.mozilla/firefox
> /home/paul/Downloads/tor-browser_en-US/App/Firefox/firefox
> /home/paul/Downloads/tor-browser_en-US/App/Firefox/firefox-bin
> /opt/firefox
> /opt/firefox/firefox
> /opt/firefox/firefox-bin
> /usr/share/app-install/desktop/firefox-greasemonkey.desktop
> /usr/share/app-install/desktop/firefox-launchpad-plugin.desktop
> /usr/share/app-install/desktop/firefox-ubuntu-it-menu.desktop
> /usr/share/app-install/desktop/firefox-webdeveloper.desktop
> /usr/share/app-install/desktop/firefox.desktop
> /usr/share/app-install/icons/firefox-greasemonkey.xpm
> /usr/share/app-install/icons/firefox-installer.png
> /usr/share/app-install/icons/firefox-launchpad-plugin.xpm
> /usr/share/app-install/icons/firefox-themes-ubuntu.xpm
> /usr/share/app-install/icons/firefox-ubuntu-it-menu.png
> /usr/share/app-install/icons/firefox-webdeveloper.xpm
> /usr/share/icons/firefox.jpg
> /usr/share/ubuntu-docs/common/prepare-firefox-startpage-translations
> /usr/share/ubuntu-docs/libs/img/firefox-3.5.png
> paul at paul-desktop:~$
>
> paul at paul-desktop:~$ echo $PATH
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>
> Obviously /usr/opt is not shown in the above output.
>
> paul at paul-desktop:~$ sudo updatedb
> paul at paul-desktop:~$ locate -b bash
> /bin/bash
> /bin/rbash
> /etc/bash.bashrc
> /etc/bash_completion
> /etc/bash_completion.d
> /etc/apparmor.d/abstractions/bash
> /etc/bash_completion.d/bash-builtins
> /etc/bash_completion.d/gvfs-bash-completion.sh
> /etc/bash_completion.d/pk-completion.bash
> /etc/skel/.bash_logout
> /etc/skel/.bashrc
> /home/paul/.bash_history
> /home/paul/.bash_logout
> /home/paul/.bashrc
>
> to add the entire following line----> export Path=$PATH:/opt/firefox
>
> Do I include the word 'export'?
>
>
> Yes. PATH is simply a variable used to hold the list of directories. You
> *can* do just 'PATH=$PATH:/usr/opt', but including the export is a better,
> more recommended way to do it. This will immediately change the value for
> the currently logged in shell session *only*
>
>
> For a deep system wide approach would '/home/paul/.bashrc' be the correct
> file to edit in this case that sticks for all sessions?
>
>
> Editing '/home/paul/.bashrc'  would be *account* wide -- all *new* shell
> sessions you open will have the updated value -- but not the existing ones.
> This should also include the shell used in Alt-F2, but I don't use that
> feature, so I am not sure.
>
> To go 'system wide' you would usually edit /etc/bashrc or add a new script
> to /etc/profile.d/ with the changes you want. These correspond to .bashrc
> and .bash_profile -- the .bashrc in your home directory will *include*
> /etc/bashrc, so these changes will appear for all users. Various
> distrobutions handle these two files differently. I am used to Red Hat based
> systems, and I have always been told use the bashrc files for functions and
> aliases, and .bash_profile for environmental variables -- but I tend to put
> everything in .bashrc anyway.
>
> These two files behave slightly differently, and rather than explain it
> myself, I am going to refer you to a resource I found via my good friend
> Google:
> http://www.joshstaiger.org/archives/2005/07/bash_profile_vs.html
>
> Jeff
>
>
>
> I am not seeing a '.bash_profile' file after using 'locate -b bash' I read
> you said I could edit either of the 2 files. Maybe the .bash_profile file is
> on different distro's I do not know yet.
>
>
>
>
>
> Thanks
>
>
>
>
>
>> Date: Tue, 25 Mar 2014 12:54:39 -0500
>> From: mbmiller+l at gmail.com
>> To: tclug-list at mn-linux.org
>> Subject: Re: [tclug-list] About Firefox 28 on Ubuntu 10.04
>
>>
>> On Tue, 25 Mar 2014, Jeff Chapin wrote:
>>
>> > On Mon, Mar 24, 2014 at 5:45 PM, paul g <pj.world at hotmail.com> wrote:
>> >
>> >> why when I do a 'locate firefox' in terminal many entries show up? A
>> >> few more than listed below but this is the just of it.
>> >
>> > The 'locate' command uses a pre-created database of file names. If you
>> > have not re-run 'updatedb' after creating a file, 'locate' will not know
>> > about it. Locate will return any file that matches the pattern you gave
>> > it.
>>
>> Also, with "locate", the default is to match any pattern in the entire
>> path to a file or directory. Example:
>>
>> locate bin | less
>>
>> The name of the file or directory itself, excluding parent directories in
>> its path, is called its basename. There is an option in "locate" to
>> search only the basename. From "man locate":
>>
>> -b, --basename
>> Match only the base name against the specified patterns. This
>> is the opposite of --wholename.
>>
>> -w, --wholename
>> Match only the whole path name against the specified patterns.
>> This is the default behavior. The opposite can be specified
>> using --basename.
>>
>> I have a lot of small files on my system, but I still see a very dramatic
>> drop in the number of matches when I use the -b option:
>>
>> $ locate bin | wc -l
>> 28241
>>
>> $ locate -b bin | wc -l
>> 4826
>>
>>
>> It's not quite relevant to the question about "locate", but I'll mention
>> that there is a program called "basename" (and another called "dirname"):
>>
>>
>> Usage: basename NAME [SUFFIX]
>> or: basename OPTION
>> Print NAME with any leading directory components removed.
>> If specified, also remove a trailing SUFFIX.
>>
>> --help display this help and exit
>> --version output version information and exit
>>
>> Examples:
>> basename /usr/bin/sort Output "sort".
>> basename include/stdio.h .h Output "stdio".
>>
>>
>>
>> Usage: dirname NAME
>> or: dirname OPTION
>> Print NAME with its trailing /component removed; if NAME contains no /'s,
>> output `.' (meaning the current directory).
>>
>> --help display this help and exit
>> --version output version information and exit
>>
>> Examples:
>> dirname /usr/bin/sort Output "/usr/bin".
>> dirname stdio.h Output ".".
>> _______________________________________________
>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>> tclug-list at mn-linux.org
>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
>
>
>
> --
> Jeff Chapin
> President, CedarLug, retired
> President, UNIPC, "I'll get around to it"
> President, UNI Scuba Club
> Senator, NISG, retired
>
> _______________________________________________ TCLUG Mailing List -
> Minneapolis/St. Paul, Minnesota tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
>
>
>
> --
> Jeff Chapin
> President, CedarLug, retired
> President, UNIPC, "I'll get around to it"
> President, UNI Scuba Club
> Senator, NISG, retired
>
> _______________________________________________ TCLUG Mailing List -
> Minneapolis/St. Paul, Minnesota tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
> _______________________________________________ TCLUG Mailing List -
> Minneapolis/St. Paul, Minnesota tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>