LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2007, 11:42 PM   #1
dude_man_dude
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Just installed Firefox 2 - How do I edit the Kmenu link to Firefox for all users?


My machine runs Red Hat 9 and I just finished installing FireFox 2.0.0.1. Under the root account I was able to edit the FireFox Internet button in the Kmenu to point to the newly installed FireFox 2. When I log on to the system as an ordinary user I can't change the FireFox Kmenu button to point to the newly installed FireFox 2. It says I don't have permission to change the properties of the button. I made desktop links to point to the new FireFox, but how do I accomplish updating the FireFox link in the Kmenu for all users when they launch FireFox from there?

Thanks

J
 
Old 01-13-2007, 12:34 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
You probably have this already, if not I hope it helps

Linux



First, download the latest release to your home directory with your browser or download manager.

bash$ cd ~
bash$ wget http://ftp.mozilla.org/pub/mozilla.org/.../firefox-<version>.tar.gz


Next, extract the contents with an archiving utility such as Ark or tar.

bash$ tar zxf firefox-<version>.tar.gz


Now you must select the installation directory. If you are the only user, the extracted files could stay where they are, but If this is a multi-user system, the firefox directory must be moved to a publicly accessible location such as /usr/local or /opt.

bash$ su
<password>
bash# mv firefox /usr/local
bash# chown -R root:root /usr/local/firefox


The installation is more or less complete, but it's recommended that the firefox script be available somewhere in your path to avoid the inconvenience of having to enter the full path. This can be accomplished by creating a symbolic link in the relative 'bin' directory.


For the personal installation:

bash$ mkdir bin
bash$ cd bin
bash$ ln -s ../firefox/firefox .


Or the mult-user installation (as root):

bash# cd /usr/local/bin
bash# ln -s ../firefox/firefox .


Many Linux distributions already include /usr/local/bin and ~/bin in their global environment variable path, which can easily be verified by running 'firefox' from the shell or the desktop environment's (run) menu. If execution fails (command not found), you can adjust the path by appending "/usr/local/bin:$HOME/bin" to the existing PATH variable in /etc/profile and/or /etc/bashrc.
 
Old 01-13-2007, 12:48 AM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I don't quite remember exactly what I did, I'm pretty sure I followed those instructions fairly close, but I created a new firefox desktop icon on the desktop and linked it to the folder instead of using the menu shortcut. I did this just the other day in my Mandrake, I'm in Fedora right now. Pretty sure the path I put in the icon was /usr/local/firefox/./firefox but don't quote me on that, I'll power down & re-boot Mandrake to find out for sure, and if needed, I'll post any difference.
 
Old 01-13-2007, 01:02 AM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
If I remember correctly I had to change permissions of that folder also:

chmod -R a+x /usr/local/firefox

The command path I mentioned in last post is correct.
 
Old 01-13-2007, 01:06 AM   #5
dude_man_dude
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Junior Hacker,

Thanks for going into the detail. I've got FireFox installed in -

/usr/lib/mozilla-firefox/firefox/firefox


I've made a symbolic link to Firefox inside of the -

/usr/bin

directory. I can type firefox in the console and it fires FireFox 2 right up, no matter which user I'm logged into the system as. Also, for each user I've made links on their desktop to FireFox 2 by using the "firefox %u" command under properties -> execute dialog for each users FireFox desktop link.

However, the problem I am facing is how to edit the Mozilla FireFox link under the red hat menu (start menu, kmenu) to point to the new FireFox 2. As the superuser, I can edit the FireFox red hat menu link for the superuser account, but when I'm logged into the system as an ordinary user I can't edit the FireFox links under the red hat menu... It says I don't have permission to do so.

If I knew where the kde files for the start menu were located for each user I could edit the FireFox start menu links for each user that way...but I don't know exactly where these kde start menu configuration files are.

Any ideas?


Thanks!

J

Last edited by dude_man_dude; 01-13-2007 at 01:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit Page in Firefox mickeyboa Linux - Software 1 07-23-2006 09:16 AM
firefox extension to view/edit POST data? Ynot Irucrem Linux - Software 0 05-29-2005 10:15 AM
firefox disappears from kmenu aarond_04 Linux - Newbie 0 02-14-2005 08:04 PM
Firefox searching in edit text boxes Muzzy Linux - Software 0 01-25-2005 03:14 PM
firefox saving a link tardigrade Linux - Software 3 09-02-2004 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration