LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2003, 10:09 PM   #1
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 7 prior Red Hat User
Posts: 473

Rep: Reputation: 30
Mozilla


Hi yall,

I just downloaded the newest Mozilla. I'm running rh9 with the quick launch buttons. I installed Mozilla in a directory called Mozilla which is located in the root directory because I didn't really know where else to put it.

I don't know where to find the path to the executable to launch the program. I found a shell script called mozilla-installer.sh but that points to the wrong place because everytime I click the quick launch button, the setup runs every time.

So, does someone know where the executable resides once the program is installed? Thanks.
 
Old 09-17-2003, 10:42 PM   #2
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Hi,

If you open a term emulator and type 'mozilla' the program should start.

If it does, type 'which mozilla' and it will give you the exact path of the mozilla file.

Hope this helps.

>Craig
 
Old 09-18-2003, 01:05 AM   #3
SiriusAB
Member
 
Registered: Feb 2003
Location: S_AB
Distribution: FC4; FC3; RH 9.0; XP
Posts: 86

Rep: Reputation: 15
Re: Mozilla

Quote:
Originally posted by scottpioso
I don't know where to find the path to the executable to launch the program. I found a shell script called mozilla-installer.sh but that points to the wrong place because everytime I click the quick launch button, the setup runs every time.
There should be 2 folders, <<mozilla>> and <<mozilla-installer>>. I can launch mozilla by executing a mozilla shell script inside the <<mozilla>> folder.

My problem is that I can't figure out how to change the mozilla command default to trigger 1.4. I didn't install 1.2.1 because rpm -e told me there were numerous dependencies based on 1.2.1.

My question is whether or not the system *can* house both versions of mozilla and trigger the new version, rather than the old. I would imagine it must be possible, since one could theoretically run mozilla and firebird, galeon, opera, etc.

Hopefully, someone can help me too.
 
Old 09-18-2003, 03:29 AM   #4
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
Hi SiriusAB,

You can run both versions.

Say, that 1.2 is regulary installed with a file /usr/bin/mozilla to start it, and 1.4 is installed with a file /usr/local/mozilla-1.4/mozilla.

You can create a symbolic link from /usr/bin to /usr/local/mozilla-1.4/mozilla with
ln -s /usr/local/mozilla-1.4/mozilla /usr/bin/mozilla1.4
and can - due to $PATH - start 1.4 via mozilla1.4 and 1.2 via mozilla from elsewhere.

Good luck and greets,
Clemens von Musil
 
Old 09-18-2003, 05:24 PM   #5
SiriusAB
Member
 
Registered: Feb 2003
Location: S_AB
Distribution: FC4; FC3; RH 9.0; XP
Posts: 86

Rep: Reputation: 15
Clemente:

Thanks a lot for the response!

So, would the effect be that Mozilla 1.4 would start if I typed <<mozilla1.4>> into the terminal and Mozilla 1.2 would start if I typed in <<mozilla>>?

If so, very interesting...and thanks a hell of a lot because you would have just explained the concept of symlinks to me (if I'm right).

Extending the lesson, how would I:

1.) Configure the system such that Mozilla 1.4 would start if I typed <<mozilla>> into the terminal?

2.) Change KDE's behavior to make Mozilla 1.4 launch when I click the "Browser" icon...

Any response is appreciated. I'm learning a lot.
 
Old 09-18-2003, 10:01 PM   #6
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 7 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
Hi Clemente,

Thanks for the suggestion. Can you give me a tad more help? What I mean is, a little more specifics as to how to properly do that? I've only done the symbolic link a couple of times before and I'm still kind of confused.

As I previously mentioned, the new mozilla is installed in the root directory. Can you tell me what I need to do to change the pointer from the quick launch button to point to the new executable? Thanks!
 
Old 09-19-2003, 02:48 AM   #7
Clemente
Member
 
Registered: Aug 2003
Distribution: Debian, Ubuntu
Posts: 188

Rep: Reputation: 30
Ho Scott and SiriusAB!

Sirius:
You are right. A symbolic link is very similar to the m$-windows links. You define a file that points to another file. File can be dorectories, shellscripts or whatever.
You can consider a symlink as an alias or pseudonym.

To 1)
Just rename the files towards your liking. To adapt the example from my last posting, I would

mv /usr/bin/mozilla /usr/bin/mozilla-1.2 (renames old 1.2 from mozilla into mozilla-1.2) and

ln -s /usr/local/mozilla-1.4/mozilla /usr/bin/mozilla (sets the link to 1.4, if the link is not yet set up,
mv /usr/bin/mozilla1.4 /usr/bin/mozilla (else)

If didn't mistyped, you can launch 1.4 via mozilla and 1.2 vie mozilla-1.2

To 2)
I use a german version of KDE, adapted by redhat. I try to translate, what I see...
There is a tool in the K-menu, called "command center" . Start it and select "desktop", then "control bar". Now, you can select "menu" to the right and "edit K-menu". If we are still together, you see a new window, in which you can change all settings about your application-starters.
The Quick-Start-Icons follow the settings you make here, too.

If this tool is only available in redhat, you can do the settings by hand. They are all saved in the subtree ~/.kde ...

Scott:
Maybe you did right with your symlinks, but had problems with permissions...
Installing mozilla into /root is not the best choice, for /root is the home just for the user root. Similar to /home/tomaraya would be home only for tom.
/root grants access to root and some access to members of the group root. Normal users should not have to do anything here.
If a symlink, accessible by user tomaraya points to something into /root, tomaraya has very likely not the permissions to execute/write/read that file.
A better place to put applications for all users is /usr/bin or /usr/local/bin. For real big program packages, that build up large tree structures there is /opt.
Since I don't know, what happens, if you just move mozilla, I would uninstall / reinstall mozilla.

Hope, that this one can bring you one step forward,
Clemens von Musil
 
Old 09-19-2003, 06:58 AM   #8
puppy
Member
 
Registered: Sep 2003
Distribution: Ubuntu Edgy Eft
Posts: 75

Rep: Reputation: 15
Mozzy

The installation instructions on the download page at Mozilla.org are very comprehensive and recommend you delete the previous program before installing the latest version - they also explain quite clearly where to put all the installation files and how to create the links etc.

Btw even though it is beta Mozilla 1.5B is VERY stable and a real improvement on 1.4.1. Removing the program using RPM doesn't remove your bookmarks etc so it is quite safe to use. User preferences are stored in an entirely different location to the program itself by default so an upgrade won't mean that you lose your settings....
 
Old 09-19-2003, 09:29 AM   #9
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 7 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
Hi Puppy,

Yes, you are correct only in that the instructions ask you to delete the previous versions. However, it says nothing about where specifically to create the Mozilla 1.4 directory. And if I were to delete the previous versions and not install the new version properly, I would be dead in the water.

My only problem is configuring the new mozilla to work with my quick launch buttons. Since every distro of linux is a little different, they do not explain how to do that on their site which is why I came here.

Oh and clemente, the install was not put into /root it was put into the / directory.

Last edited by scottpioso; 09-19-2003 at 09:31 AM.
 
Old 09-20-2003, 12:39 AM   #10
SiriusAB
Member
 
Registered: Feb 2003
Location: S_AB
Distribution: FC4; FC3; RH 9.0; XP
Posts: 86

Rep: Reputation: 15
True, scott, I'm having much the same problems. I can't get mozilla 1.4 to launch from the desktop. Also, mozilla.org doesn't provide any instructions for KDE. It's Gnome only, there.

Clemente, thanks for your tips. Where exactly is subtree:
~/.kde

Quote:
If we are still together, you see a new window, in which you can change all settings about your application-starters.
The Quick-Start-Icons follow the settings you make here, too.
My question is...what do I change it to? Right know the command listed in the requisite dialog box is:

mozilla %u

I wonder what this means?
In another entry, it simply says:

/usr/bin/mozilla

I know what that means.
The other problem is that the browser won't "fire" when I enter mozilla or mozilla1.4
in the term...no errors either. It's as if the system recognizes the command, but won't complete it.
 
Old 09-20-2003, 01:32 AM   #11
SiriusAB
Member
 
Registered: Feb 2003
Location: S_AB
Distribution: FC4; FC3; RH 9.0; XP
Posts: 86

Rep: Reputation: 15
OK! I fixed it.

scott, I think I can help you now. If you've gotten mozilla 1.4 running, you can query which mozilla and return the path used to deploy the app. In my case /usr/bin/mozilla.

Then, use a simlink, just as Clemente described it, adjusting the entry to your parameters--location of the working script and location of the path.

Before doing that, make sure the existing "mozilla" launcher in the path is moved or renamed. What happened to me was that I had initially copied the actual working script into /usr/bin along with another script requested when I entered mozilla into the term and a mozilla binary. When I removed these files and renamed the symlink mozilla from mozilla1.4 everything worked.
 
Old 09-20-2003, 07:45 AM   #12
scottpioso
Member
 
Registered: Jan 2003
Location: United States of America and damn proud of it!
Distribution: Windows 7 prior Red Hat User
Posts: 473

Original Poster
Rep: Reputation: 30
Hi,

Yes, I got it fixed also. What I did was simply change the path of the quick launchers like this. Right click on the launcher, go to properties, than navigate to the Execute tab where I changed the path to /usr/local/mozilla/mozilla. Now it works just fine. Thanks for the suggestions from everyone.
 
  


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
Mozilla flaws could allow attacks, data access into Firefox & Mozilla web browsers! t3gah Linux - Security 6 04-09-2006 04:00 AM
/usr/lib/mozilla-1.7.11/run-mozilla.sh: line 159: 3492 Segmentation fault behmjoe Linux From Scratch 2 11-28-2005 10:48 AM
Installing Blam: no mozilla found - I'm positive I have Mozilla installed. Strange. cillm527 Linux - Software 2 07-25-2005 04:49 PM
Segfaults in Mozilla, Mozilla Firebird, and Mozilla Thunderbird Ninja Cow Linux - Software 2 02-02-2004 01:33 AM
howto get firebird to open link in mozilla mail instead of mozilla? breadbin Linux - Software 1 09-13-2003 04:46 PM


All times are GMT -5. The time now is 08:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration