Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

setting up firefox in centos 5.x /gnome

Posted on 2009-07-08
6
Medium Priority
?
953 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
Technology Partners: 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!

 
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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

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 show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

618 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