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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-12-2007, 11:42 PM
|
#1
|
LQ Newbie
Registered: Jan 2007
Posts: 2
Rep:
|
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
|
|
|
01-13-2007, 12:34 AM
|
#2
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
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.
|
|
|
01-13-2007, 12:48 AM
|
#3
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
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.
|
|
|
01-13-2007, 01:02 AM
|
#4
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
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.
|
|
|
01-13-2007, 01:06 AM
|
#5
|
LQ Newbie
Registered: Jan 2007
Posts: 2
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|