Solved

setting up firefox in centos 5.x /gnome

Posted on 2009-07-08
6
942 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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux redhat 7.2 10 90
Oracle 10g standard edition server with 4 processors 3 69
error log using ftp 7 56
ignore other .htaccess 2 59
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

820 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