Solved

setting up firefox in centos 5.x /gnome

Posted on 2009-07-08
6
941 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

770 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