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