FirefoxNuevaVersión

Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2005-12-08 21:58:10
Size: 7364
Editor: 241-0-136-85
Comment:
Revision 6 as of 2006-06-19 16:06:38
Size: 68
Editor: 127
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
(Este documento es una traducción del original [https://wiki.ubuntu.com/FirefoxNewVersion FirefoxNewVersion] y está incompleto.)

== Instalando Firefox desde mozilla.com ==
For some reason, the mozilla.org build of Firefox is significantly faster than the default Ubuntu one. Firefox 1.5 is even faster, and has many new features. These instructions lead you through installing Firefox 1.5 final, but should also work for 1.0.7 or any other version.
Por alguna razón, las versiones de Firefox de mozilla.com son significativamente más rápidas que las de Ubuntu. Firefox 1.5 es incluso más rápido, y tiene muchas nuevas características. Estas instrucciones le conducen para la instalación de Firefox 1.5, pero deben también funcionar para 1.0.7 o cualquier otra versión.

=== Notas ===
 * You will no longer get automatic updates through the repositories (but firefox itself has a built into auto-updater).
 * No conseguirá más actualizaciones automáticas a través de los repositorios (pero firefox tiene un auto-actualizador interno).
 * El plugin de video Totem no parece funciona con firefox 1.5. Quizá quisieras instalar en su lugar el paquete 'mozilla-player' antes de empezar.
 * Necesitas tener instalado el paquete 'libstdc++5'.
 * Si estás usando scim-1.0.2 como método de entrada, firefox fallará al inicio.
 * Podrías obtener un mensaje de error (dos veces) cada vez que inicies Firefox diciendo ''Firefox could not install this item because of a failure in Chrome Registration. Please contact the author about this problem.''. Esto es debido a [https://bugzilla.mozilla.org/show_bug.cgi?id=311480 este fallo]. Para que funcione correctamente haz lo siguiente:-{{{
sudo touch /opt/firefox/extensions/talkback@mozilla.org/chrome.manifest
}}}
=== Instalando ===
 * Primero, haz copia de seguridad de tus marcadores y configuración:
 {{{
 cd ~/.mozilla/firefox/*.default
 mkdir ~/Desktop/ffsettings
 cp bookmarks.html cert8.db cookies.txt formhistory.dat key3.db signons.txt history.dat mimeTypes.rdf ~/Desktop/ffsettings
 }}}
 * Descarga firefox-1.5.tar.gz de mozilla.com, y cambia al directorio donde lo hayas descargado.
 * Instálalo en /opt/firefox:
 {{{
 sudo cp firefox-1.5.tar.gz /opt/
 cd /opt
 sudo tar xzvf firefox-1.5.tar.gz
 sudo rm firefox-1.5.tar.gz
 }}}
 * Enlaza a tus plugins (y borra los plugins totem-mozilla ya que no parecen funcionar con Firefox 1.5):
 {{{
 cd /opt/firefox/plugins/
 sudo ln -s /usr/lib/mozilla-firefox/plugins/* .
 sudo rm libtotem_mozilla.*
 }}}
 * Renombra tu anterior perfil:
 {{{
 cd
 mv .mozilla .mozilla.ubuntu
 }}}
 * Para asegurar que es usado como versión por defecto, modifica el enlace simbólico en /usr/bin:
 {{{
 sudo dpkg-divert --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox
 sudo ln -s /opt/firefox/firefox /usr/bin/firefox
 }}}
 * Ejecuta Firefox: :-)
 {{{
 firefox
 }}}
 * Restaura tus datos:
 {{{
 cd ~/Desktop/ffsettings
 mv * ~/.mozilla/firefox/*.default
 }}}
 Si quieres mantenter el icono original de Ubuntu para firefox, intruduce este comando:
 {{{
 sudo cp /usr/share/pixmaps/firefox.xpm /opt/firefox/chrome/icons/default/default.xpm
 }}}
 Este paso sólo debe ser hecho después de ejecutar firefox al menos una vez y cerrarlo completamente.
 * Para asegurar que otros programas usen la versión 1.5 de firefox y no la anterior 1.0.7, ve a Preferences -> Preferred Applications en el menú System. En la pestaña "Web Browser", elige "Custom" y luego introduce el comando:
 {{{
 firefox %s
 }}}
 
 * Firefox 1.5 debería ahora ser instalado y funcionar correctamente. Si por cualquier razón tú no estuvieras contento con firefox con 1.5 y quisieras eliminarlo, ve a la sección "Eliminando", más abajo.

=== Restaurando Extensiones y Temas ===
Además de restaurar tu configuración, puedes restaurar tus temas y extensiones. Según lo indicado arriba, esto debería sólo ser hecho después de ejecutar firefox al menos una vez y cerrarlo completamente.

(Continuará... o que alguien continúe)

 * Backup the new profile (just in case):
 {{{
 cd ~/.mozilla/firefox
 mkdir ff1.5
 mv profiles.ini *.default ff1.5/
 }}}

 * Restore your previous profile:
 {{{
 cp ~/.mozilla.ubuntu//firefox/profiles.ini .
 cp -r ~/.mozilla.ubuntu//firefox/*.default .
 }}}

 * Start firefox and try it out.

 A dialog may appear indicating that one or more extensions and/or themes are not compatible. This is normal and firefox may be able to find updates for you.

=== Updating ===
To get firefox's own update/autoupdate to work at all, you have three choices ('''read them all and choose one'''):
 * Change the /opt/firefox directory to have 'write' permissions & ownership set for the user instead of the root. To change ownership, after installation type:
 {{{
 sudo chown -R username:username /opt/firefox
 }}}
 This is the only way to get update notification working, but doing this has security implications in a multi-user environment, and is not recommended: ''a virus or malicious program running as a user may now replace or corrupt the files in /opt/firefox'', which would affect other users of the computer.
 * An alternative to the above method is to run firefox with sudo to get the updates. That is, when there is an update available, you would run {{{sudo firefox -safe-mode}}} (the safe-mode is an extra layer of protection since it will not load any extensions while running as sudo), install the update (Help -> Check for Updates...), close firefox, and then restart firefox as a normal user. You should '''NOT''' browse other websites while you are running firefox with sudo. (The author does not know whether this method is any safer/more secure than the first method).
 * A third option, is to use method 1, ''but only for updates'': Keep the firefox folder owned by root and use it normally until you need an update, then give your user ownership: {{{sudo chown -R username:username /opt/firefox}}}. Start firefox normally and update (Help -> Check for updates...). Once the update is completed, you should restore ownership to root: {{{sudo chown -R root:root /opt/firefox}}}. Again, do '''NOT''' browse other sites while firefox has these elevated permissions. This is probably the best option although it is also the most cumbersome.

=== Removing ===
 * Restore the symbolic link:
 {{{
 sudo rm /usr/bin/firefox
 sudo dpkg-divert --rename --remove /usr/bin/firefox
 }}}
 * Restore your old profile:
 {{{
 cd
 mv .mozilla .mozilla-1.5
 mv .mozilla.ubuntu .mozilla
 }}}
 * (optional) Delete the firefox directory
 {{{
 sudo rm -r /opt/firefox
 }}}


== Installing Firefox as a debian package ==
It is nice to have a package (easier to upgrade, etc).
There is an experimental package building tool at [http://kidsquid.com/programs/ubuntu/firefox-1.5.0-0nonfree1_i386.tar.gz].
It can automatically download the i386 version of Firefox 1.5 (or you can copy in your existing Firefox download), then it will create a .deb package for it.
Follow the steps in the README to install the new package.
Please do not distribute any files created by this tool, as copying may violate the Firefox copyright.

----
Discuss this page at http://ubuntuforums.org/showthread.php?t=79283

----
CategoryDocumentation
#REFRESH 0 http://help.ubuntu.com/community/FirefoxNuevaVersi%c3%b3n

FirefoxNuevaVersión (last edited 2008-08-06 16:22:06 by localhost)