Solved

setting up firefox in centos 5.x /gnome

Posted on 2009-07-08
6
939 Views
Last Modified: 2013-12-15

The centos package came with 3.05.. I downloaded the 3.5 archive from the net and "tar jxf firefox.tar.bz2" as a user (not root) and then am able to launch it from the folder with "./firefox"  I understand that this means that this is only available for the current user

What I'd like to do on the gnome desktop is to create links (with the firefox icon) that launches this new 3.5 version.  Creating a link on the firefox creates a shortcut that doesnt quite seem to know that it needs to run (it keeps asking that question).  Also how do I associate an icon with the shortcut link on the desktop and also modify the link from the launcher menu on top of the screen under applications-->internet.  Its also not clear how to remove icons from these menus (unlike those on the bar that have an option).  How does one uninstall firefox 3.05 and make this 3.5 the default for all users (unlike what I did just now)


answers to these basic GUI queries welcome..
0
Comment
Question by:nsriram
  • 4
  • 2
6 Comments
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 500 total points
ID: 24809498
Hi,

What CentOS does is:
- installs the binaries under /usr/lib/firefox-<version>  (for 32 bit system) and
/usr/lib/firefox-<version>      (for 64 bit systems)
/usr/lib64/firefox-<version>

Then copies a script in /usr/bin/firefox.

This script is called  when you launch firefox. Just edit it and you will see references to firefox-<version>

Just install the binaries under say : /usr/lib/firefox-3.5.0 as root and  then edit the script file called /usr/bin/firefox and replace all references to firefox-3.0.5 to firefox-3.5.0. Save exit and you will be launching firefox 3.5.0 globally from now on.

Cheers,
K.


0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24809507
BTW CentOS 5.3 currently supplies  3.0.11 and it seems that you're not getting updates in timely fashion. 3.0.5 is what comes with the default installation. Try to use

yum update

from time to fime.

Cheers,
K.
0
 

Author Closing Comment

by:nsriram
ID: 31601404
thanks. yum wasnt working because the dns setting wasnt done.. hopefully yum update will do the trick.. Is it the case that the top bar gnome menu structure is fixed (or is only editable by messing around with config files)
0
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24811567
Well in fact it will require you to edit the menu contents. But it is likely that it will revert back to default settings through yum updates even if you did or you need to disable update of gnome menu update from repository.
another method would be to add the new FireFox icon over your menu bar.

Cheers,
K.
0
 

Author Comment

by:nsriram
ID: 24812846
I did the update first.. so it put 3.0.11.. and then redid the launcher script.. it worked.  hopefully the next update doesnt go back.

my question was manually editing the menu bar contents..
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 24813250
Yeah I was referring to if. Since menu items are created by CentoS they will be overwritten by any update that modifies the Menu. It only keeps non standard times and overwrites any system items. I believe it would add a new Firefox button if you've deleted the old or restores to factory default if you've modified it.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now