<div dir="ltr">Replies in-line.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 5:45 PM, paul g <span dir="ltr"><<a href="mailto:pj.world@hotmail.com" target="_blank">pj.world@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">I ended up downloading the latest firefox28 from the firefox site extracted the .tar and copied it into /opt/firefox<br>
<br>
Then I created a menu entry in Gnome and pointed it to /opt/firefox/firefox.sh<br>
<br>
firefox loads up with old bookmarks through the menu although:<br>
<br>
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.<br></div></div></blockquote><div><br></div><div>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.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">
<br>
/usr/share/ubuntu-docs/libs/img/firefox-3.5.png<br>
/var/lib/dpkg/alternatives/firefox-homepage<br>
/var/lib/dpkg/info/firefox-branding.list<br>
/var/lib/dpkg/info/firefox-branding.md5sums<br>
/var/lib/dpkg/info/firefox-gnome-support.list<br>
/var/lib/dpkg/info/firefox-gnome-support.md5sums<br>
/var/lib/dpkg/info/firefox-locale-en.list<br>
/var/lib/dpkg/info/firefox-locale-en.md5sums<br>
/var/lib/dpkg/info/firefox-locale-en.preinst<br>
/var/lib/dpkg/info/firefox.conffiles<br>
/var/lib/dpkg/info/firefox.list<br>
/var/lib/dpkg/info/firefox.md5sums<br>
/var/lib/dpkg/info/firefox.postinst<br>
/var/lib/dpkg/info/firefox.postrm<br>
/var/lib/dpkg/info/firefox.preinst<br>
/var/lib/dpkg/info/firefox.prerm<br>
<br>
There are even entries shown under /usr/lib and /usr/bin which I did not include here.<br><br>When I 'cd' into the /var/lib/dpkg/info and perform an 'ls -lah' no entries for firefox show up that way.<br>
<br></div></div></blockquote><div><br></div><div>This is related to my previous comment. If these have been deleted since the last time updatedb has been run, locate will still think they are there.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
Also alt+F2 no longer allows me to open firefox: Error stating file '/home/paul/firefox': No such file or directory<br>
<br>
How can I get alt+F2 to open firefox or make it system wide?<br></div></div></blockquote><div><br></div><div>You need to add the new location for firefox to your PATH variable. The PATH variable is a list of locations to look in when you do not provide the full path to a command, such as 'firefox'.<br>
<br></div><div>echo $PATH <-- shows the current value<br></div><div>export PATH=$PATH:/opt/firefox <-- would add the new location<br></div><div> <br></div><div>you need to put this in .bashrc or .bash_profile for it to stick with all new sessions.<br>
<br></div><div>You should also note, earlier you ran 'firefox.sh', but in your alt-f2 example, you ran just 'firefox', which may or may not work. I have never installed this way, so I am not sure what all comes in the tarball.<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">
<br>
I did run 'rm -r firefox' in /usr/bin after removing the old version of firefox20 via synaptic<br><br></div></div></blockquote><div><br></div><div>And that would be why you see files with 'locate' that are no longer there -- you deleted them.<br>
</div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">Thanks<br> </div></div>
<br>_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br></blockquote></div><br><br clear="all"><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
</div></div>