Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 18 Dec 2014, 20:44
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to replace Mozilla 1.8x beta with stable Mozilla 1.7x?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [44 Posts]   Goto page: 1, 2, 3 Next
Author Message
Glitchman
Guest


PostPosted: Sat 20 Aug 2005, 01:49    Post subject:  How to replace Mozilla 1.8x beta with stable Mozilla 1.7x?  

Is it easy to uninstall the beta Mozilla that comes with Puppy? Do I just need to delete some directories? The main reason I prefer to go back to Mozilla 1.7x (or Firefox) is that the image manager actually works, which is essential on dial-up. Thanks.
Back to top
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Sat 20 Aug 2005, 03:11    Post subject:  

The quick answer to that is no it is not easy. Use Firefox.
The reason is to do with dependency. To keep Puppy small, Barry makes use of code for several purposes. So you may need Mozilla for bits of Puppy when you least expect it.

I would use Firefox.

Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Sat 20 Aug 2005, 06:14    Post subject: current  

What seems to be wrong with the beta of mozilla???

edit= okay, thanks for telling me. Also, thanks to the guest with the installer links.
I uninstalled my mozilla and replaced it with the installer one and it seems to be quicker
than BK's no offense. It also has a couple other things I personally like so thanks!!!

_________________
Heaven is on the way, until then let's get the truth out!

Last edited by klhrevolutionist on Sun 21 Aug 2005, 18:24; edited 1 time in total
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Sat 20 Aug 2005, 06:41    Post subject:  

you can install Mozilla 1.7 and/or Firefox and/or Thunderbird and/or Opera without uninstalling Puppy's Mozilla

just download the tar.gz package, unzip it, and run
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.11/mozilla-i686-pc-linux-gnu-1.7.11.tar.gz

or the installer
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.11/
Back to top
Glitchman
Guest


PostPosted: Sat 20 Aug 2005, 23:54    Post subject: Getting rid of the broken beta Mozilla permanently  

I appreciate the replies so far. The main reason I hadn't yet tried downloading another version is because I had heard of issues with sharing the same Netscape / Mozilla / Firefox profile across multiple versions (if the versions are similar enough.) Personally, I'd rather not have a browser installed that I never use (beta Mozilla), which is the same reason why I uninstall IE from Windows with LitePC.com.

klhrevolutionist wrote:
What seems to be wrong with the beta of mozilla???


Everything. For starters, the beta version completely ignores my image preferences. Try disabling images altogether. Everything still loads. For me, this is unacceptable on dial-up, as loading ads (especially shockwave flash) are a waste of time. I prefer having complete control over my browser.

Previous versions of Puppy bundled a stable release of Mozilla, which was fine with me, as all the features worked as expected. I am determined to delete all traces of the beta Mozilla, even if it breaks other apps, considering that the beta Mozilla is already a broken app....
Back to top
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7099
Location: Perth, Western Australia

PostPosted: Sun 21 Aug 2005, 01:04    Post subject: Re: Getting rid of the broken beta Mozilla permanently  

Glitchman wrote:
For me, this is unacceptable on dial-up, as loading ads (especially shockwave flash) are a waste of time.


Well that's easy to fix in Mozilla, just remove the Flash plugin file from /usr/lib/mozilla/plugins directory.

To screen out other images, there is a external image blocker, I forget its name.
Back to top
View user's profile Send private message Visit poster's website 
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Sun 21 Aug 2005, 14:46    Post subject:  

Here is a rough outline of how I replace it.

delete the directory mozilla-1.8b1.4

delete ~./.mozilla (if nothing you need is there)

install the other mozilla

locate the various symlinks used by the old mozilla. modify or delete them as need be. you have to see where they point and what they do in order to determine how to handle each one

modify etc/profile and have the MOZILLA_FIVE_HOME point to the mozilla you installed.

note: there might be some lib file used by the orginal mozilla that is no longer availabe for some app like gaim. i don't know any specifics and I've not had problems, but then again there are many apps I don't use.
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Sun 21 Aug 2005, 14:52    Post subject: Re: current  

klhrevolutionist wrote:
What seems to be wrong with the beta of mozilla???


Not much but enough for me to replace it.

* The option to not load remote images doesn't work.

* There is no spell checker in the composer

FWIW: When I install the other Mozilla I do a custom install and don't install the email client, because I use Thunderbird for email.
Back to top
View user's profile Send private message 
Glitchman
Guest


PostPosted: Sun 21 Aug 2005, 15:26    Post subject:  

Thanks for the info. I will give this a try.
Back to top
Glitchman
Guest


PostPosted: Sun 21 Aug 2005, 20:16    Post subject: No dice yet  

Well, this has proven to be quite an adventure. In short, it does not work... yet. Here is what I did:

1. I deleted the directory mozilla-1.8b1.4. This also appeared to remove the symbolic link "mozilla" which pointed to mozilla-1.8b1.4.
2. I deleted the directory ~/.mozilla .
3. I downloaded and installed Opera via PupGet since I want to have this browser around anyway.
4. I downloaded the Mozilla 1.7.11 installer file with Opera.

(Fast forward at least an hour of the two big browser downloads):
5. Opening the installer from ROX only gave the following error:
Quote:
No run action specified for files of this type (application/x-compressed-tar)

and so on.
6. After a few minutes I eventually figured out that I needed to open TkZip first (since it rhymes with PKZip.) Wink
7. After decompressing, I opened the README, then launched the mozilla-installer. Simple enough so far...
8. I chose Custom install, noting that it would install to /usr/local/mozilla/ by default.
9. Now the fun begins. I notice that Opera changed the symbolic links of mozilla, firefox, and netscape inside /usr/local/bin/ to launch Opera. So I renamed mozilla to something else temporarily.
10. Launching mozilla from /usr/local/mozilla now does nothing, rather than launching Opera. I even tried copying /usr/local/mozilla/mozilla to /usr/local/bin/mozilla. No dice. Even running it from a console window gives the following, despite the fact that mozilla is in the directory:
Quote:
mozilla: No such file or directory


At this point I am stumped. How do I get Mozilla to launch?
Back to top
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Sun 21 Aug 2005, 21:07    Post subject:  

> 1. I deleted the directory mozilla-1.8b1.4. This also appeared to remove the symbolic link "mozilla" which pointed to mozilla-1.8b1.4.

The symlink is on the same level as mozilla-1.8b1.4 therefore it should not have deleted it, but depends on how you deleted it.

In any event that links goes dead when mozilla-1.8b1.4, so you make a new link pointing to where you installed the other mozilla.

> 2. I deleted the directory ~/.mozilla .

Okay

> 3. I downloaded and installed Opera via PupGet since I want to have this browser around anyway.

Okay

> 4. I downloaded the Mozilla 1.7.11 installer file with Opera.

Okay

(Fast forward at least an hour of the two big browser downloads):
> 5. Opening the installer from ROX only gave the following error:
Quote:
No run action specified for files of this type (application/x-compressed-tar)and so on.

Okay

> 6. After a few minutes I eventually figured out that I needed to open TkZip first (since it rhymes with PKZip.) Wink

What I do is: tar xzvf nameof.tar.gz in a temporary directory

> 7. After decompressing, I opened the README, then launched the mozilla-installer. Simple enough so far...

> 8. I chose Custom install, noting that it would install to /usr/local/mozilla/ by default.

/usr may not be the best place but that's another story.

> 9. Now the fun begins. I notice that Opera changed the symbolic links of mozilla, firefox, and netscape inside /usr/local/bin/ to launch Opera. So I renamed mozilla to something else temporarily.

Opera did that? That's why I didn't suggest what how to fix-up the symlinks - use yer best judgment I guess.

10. Launching mozilla from /usr/local/mozilla now does nothing, rather than launching Opera. I even tried copying /usr/local/mozilla/mozilla to /usr/local/bin/mozilla. No dice. Even running it from a console window gives the following, despite the fact that mozilla is in the directory:

That won't work. The file mozilla has to be in the same directory as it was in order to work.

There are dozens of ways to fix this. A lot depends on what you want to happen when those particular symlinks in /usr/bin are called.

Some suggestions:

Go to the mozilla directory in ROX, with the mouse drag and drop the PROPER mozilla file to the desktop, not the one you copied. Its probably a gear with the word mozilla under it. You can give it your own icon by right clicking on it and select the change icon. Drag and drop an icon on it from ROX. Mozilla has icons in a subdirectory of the parent directory.

You can edit your window manager menu and have it point directly to the /mozilla/mozilla file. (not the best way and not necessary if you symlinks are in order)

I make an alias in bash like this: alias moz='/mnt/hda6/shared/mozilla/mozilla &'

This way I just type moz on the command line and it runs.

What I suggested in the parent post was this: "locate the various symlinks used by the old mozilla. modify or delete them as need be. you have to see where they point and what they do in order to determine how to handle each one"

That's what I do. I can't tell you specifically what to do because the orginal symlinks have been changed and I don't know what they were. Also, they can change by installing other browsers link Links and as I've just learned Opera.

I just checked my /usr/bin/mozilla symlink and this is what it does:

mozilla -> /mnt/hda6/shared/mozilla/mozilla

I guess that is what I wanted it to do.

> Quote:
> mozilla: No such file or directory


> At this point I am stumped. How do I get Mozilla to launch?

I hope the above helps you.
Back to top
View user's profile Send private message 
klhrevolutionist


Joined: 08 Jun 2005
Posts: 1124

PostPosted: Sun 21 Aug 2005, 21:17    Post subject: reply  

When I installed the installer one, from the link given from post above I did this.
Of course if you have deleted the old mozilla with bruce b. instructions, we will move right along
You have installed the mozilla from links above let's say the installer.
It created a folder in /usr/local named mozilla
okay, now go to root/my-applications/bin/
and right click and create new script, inside of script it will
have #!/bin/sh
now go below that and simply put these lines in there

cd /usr/local/mozilla/
sh run-mozilla.sh


then file->save as whatever you want to name it???
now drag to the desktop and enjoy!!!
now if you want your flash plugins and such they go into the plugins folder in /usr/local/mozilla/

and yes this will remember your settings and all!!!

_________________
Heaven is on the way, until then let's get the truth out!
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Sun 21 Aug 2005, 22:11    Post subject: Re: reply  

klhrevolutionist wrote:

have #!/bin/sh
now go below that and simply put these lines in there

cd /usr/local/mozilla/
sh run-mozilla.sh


One should be able to run mozilla from any directory on the system, by symlinking directly to mozilla. Your script the failsafe way of doing it.

---------------------

It might be best if he did it your way, if he didn't change MOZILLA_FIVE_HOME. I said to do it. Maybe he didn't, and maybe that is part of the problem.

If you run the executable file mozilla like it was intended, it will look for the variable MOZILLA_FIVE_HOME and honor it if it is there without additional error checking. And if MOZILLA_FIVE_HOME is not changed it is pointing to an incorrect location.

--------------

So by changing directories to where mozilla is and bypassing mozilla altogether and running run-mozilla.sh from the current directory it will work.

---------------

Edit addition:

The technique you described works, the reason it works is because by by passing mozilla, the MOZILLA_FIVE_HOME check is bypassed.

For those wishing to replace the default Mozilla, I think I should also mentiond that, the file 'mozilla' does more than this one check and decision. Among other things, it sets up the enviroment its programmers think is needed to make the mozilla-bin binary work.

Simply stated: In bypassing mozilla, mozilla-bin is running without the variables mozilla would have otherwise exported to the environment.
Back to top
View user's profile Send private message 
Glitchman
Guest


PostPosted: Mon 22 Aug 2005, 01:17    Post subject: More strangeness  

I think I have fixed it... sort of.

1. I deleted the /usr/local/mozilla/ directory that the Mozilla installer defaulted to.
2. This time, I re-installed to /usr/lib/mozilla-1.7.11/ instead, with a symbolic link pointing to that at /usr/lib/mozilla (since that's where the beta Mozilla is initially linked on the live-CD.)
3. Now I can launch Mozilla, but only from /usr/lib/mozilla-1.7.11/mozilla. The original file that launched the beta Mozilla was /usr/local/bin/mozstart, not mozilla, which I should have noticed before. Ordinarily I would be content with this, but...

This workaround isn't without its glitches:

1. The icon in the upper left just has a generic red X, rather than the Mozilla icon. Fine with me, or so I thought. This leads to...
2. Full-screen mode is no longer full-screen at all. Basically, the main title bar of the window remains intact, rather than going out of bounds above the top of the screen, like it should. The window remains the same size. Something definitely isn't right, since previous versions of Puppy correctly displayed full-screen mode back when Mozilla 1.7x was bundled.
3. Launching a second copy of Mozilla causes the profile manager to come up. This is definitely not the expected behavior, so I must be doing something out of the ordinary.
4. Fonts are rather weird. I cannot seem to find the same fonts that used to be bundled by default (back when previous versions of Puppy included the stable Mozilla 1.7x.)

Aside from all this strangeness going on, Mozilla 1.7x runs circles around the 1.8 beta in terms of speed, now that I have control over images once again. I think if I can get the mozstart launcher fixed, this might take care of some issues. If I launch mozstart from a console, I get the following error:
Quote:
# mozstart
/usr/lib/mozilla/mozilla-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory


That file, libmozjs.so, is there. Thanks again to anyone who can point me in the right direction.

P.S. Is there anything I need to change in ~/.etc/profile, now that I changed the install path of Mozilla?
Back to top
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Mon 22 Aug 2005, 02:27    Post subject:  

Yes you must edit ~/.etc/profile's variable MOZILLA_FIVE_HOME, I thought you did, it was in the orginal outline.

When you deleted the first Mozilla directory, the variable became false and the symlinks went dead. The procedure is delete the directory, install the other Mozilla, make the varible MOZILLA_FIVE_HOME true and fix the symlinks.

There is only one variable and a few symlinks you got to fix.

The symlinks you have to work out yourself.

About mozstart. It is something Barry probably wrote, a short script. It seems the purpose of mozstart is to prevent two instances of Mozilla. If something happens that would call a new instance, mozstart will run the -remote command and execute the command within the the existing instance.

You have to determine what your symlinks are doing. Make them do what you want. If you want to use mozstart then open mozstart with your editor and see what it is doing.

Hint: it is executing /usr/lib/mozilla/mozilla-bin

The old symlink is at /usr/lib went dead or maybe you deleted it. It doesn't matter because it went bad the instant the first Mozilla was deleteted.

On the command line I would

# cd /usr/lib
# ln -s mozilla-1.7.11 mozilla

This will fix the link. It it reports that it didn't because there is already a file or directory then investigate what it is and delete in accordingly. It is probably the dead link.

# ln -sf mozilla-1.7.11 mozilla (would force an overwrite of an existing file or link)

Now mozstart will find what it is looking for because it has a true link.

Then make profile's variable true.

PS I don't use mozstart, I just direct link to mozilla. But it would probably be better to use it.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [44 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1059s ][ Queries: 12 (0.0049s) ][ GZIP on ]