?
Solved

setting up firefox in centos 5.x /gnome

Posted on 2009-07-08
6
Medium Priority
?
951 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 30

Accepted Solution

by:
Kerem ERSOY earned 2000 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
Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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.
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

762 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