Click to See Complete Forum and Search --> : mozilla profile manager problems


bs_texas
02-03-2004, 12:52 AM
On my Red Hat 8 machine, somehow, and I now can't remember, but I was able to have Mozilla running, click the icon and start another instance without seeing that STUPID profile manager. Also, then, when I clicked on a URL link from within Ximian Evolution it would just happily start a new instance of Mozilla for that link just clicked.

Well, today I upgraded to Mozilla 1.6 and now, of course, I am back to the age old problem of the STUPID Mozilla Profile Manager. I thought I had posted how I was able to solve the issue previously but I can' find it. I looked over at linuxquestions also, to no avail.
I'm missing some parameter in the Icon preferences or something. Crap, I wish I had reviewed that before I upgraded.

It is very frustrating now to click on a link in an email and not be able to start a new instance of Mozilla.

Also, I know that there is the argument that more than one instance of Mozilla uses more resources and to just click on File/New Window or New Tab, but that does not in any way help with launching a URL from an email. I screwed around with the /usr/bin/gnome-default-applications-whatever file but that also produced that STUPID profile manager when I clicked on the link.

Thanks for any help to get me back...

bs_texas
02-03-2004, 12:57 AM
One of the reasons I upgrade to 1.6 was to maybe eliminate these code errors I am seeing now at the top of many justlinux pages.

Parse error: parse error in /www1/linewbie/linewbie/forum/global.php(344) :
eval()'d code on line 12

Warning: Cannot add header information - headers already sent by
(output started at /www1/linewbie/linewbie/forum/global.php(344) : eval()'d code:12)
in /www1/linewbie/linewbie/forum/admin/functions.php on line 1712


I don't know why in the heck these started happening. Does anybody else get these at this site?

But, first, I need a solution to my first post up there. ;)

JohnT
02-03-2004, 01:26 AM
Here's what your wanting.....I think.


http://www.mozilla.org/unix/remote.html

bs_texas
02-03-2004, 02:29 AM
Originally posted by JohnT
Here's what your wanting.....I think.
http://www.mozilla.org/unix/remote.html

Hey JohnT... Thanks for the help.

I remember that page now, vaguely.
So, on the little red mozilla icon in my task bar I right clicked and went to preferences/execute and made this the command:
'/usr/local/mozilla/mozilla' -remote "openurl (, new-window)"

Now, that works to open a new window if mozilla is already running, but the icon will no longer start the initial instance of mozilla. :(
There's something else that needs to done, since I was able to use the same icon before to start mozilla and then start some more mozilla instances.

As for Evolution, although I am runing KDE, I ran that /usr/bin/gnome-default-applications-properties command and set the Custom Web Browser part to:
/usr/local/mozilla/mozilla
Now that gives me a new instance of mozilla if mozilla is not already running, but if it is already running, I get the Profile Manager.
So, I set that to '/usr/local/mozilla/mozilla' -remote "openurl (, new-window)" Now, same as above, if mozilla is running, clicking on a link will start a new window, but it won't open a new window if mozilla isn't already running.

It has be a setting somewhere else that I just haven't found yet.

It's a Catch-22!!

Thanks for any more pointers...

bs_texas
02-03-2004, 02:51 AM
Well, I paid a little more attention to the evolution issue and discovered that clicking on a link in an email while running:
/usr/local/mozilla/mozilla
in /usr/bin/gnome-default-applications-properties
opens a new mozilla window if none are already open, but it goes to my home page instead of to the page that I clicked the link for.
If I make it:
/usr/local/mozilla/mozilla "%s"
I get:
http://home.earthlink.net/~bennies1/JL_errors.jpg

:confused:

(Time for bed tonight!)

JohnT
02-03-2004, 02:57 AM
OK..here's a patch...before and after of running more than one instance of the browser. You would have to replace/modify mozilla.sh. I'd do a back up if you experimented with this. Check all your "paths'.


http://bugzilla.mozilla.org/show_bug.cgi?id=122698



Another source (promising)http://kingant.net/?p=mss

JohnT
02-03-2004, 03:17 AM
OK...the last script I posted..is doable..just make the changes as prescribed and correct your paths.

JohnT
02-03-2004, 04:10 AM
BTW......your pic shows Moz needs some help in the font area.
You can get an XFT build ...the latest is 1.6a...look at the attched SS and you can tell the difference.

j79zlr
02-03-2004, 04:23 AM
**cough** Firebird **cough**

JohnT
02-03-2004, 05:52 AM
Originally posted by j79zlr
**cough** Firebird **cough**


**cough** Got it**cough** Use it**cough** Still like Mozilla**cough** :o **cough**

hammer123
02-03-2004, 06:07 AM
when I ran redhat I overwrote the mozilla startup script with the MSS one once I knew it worked. Try passing it %s at the command line first though. %u may be it too.

JohnT
02-03-2004, 06:33 AM
%s does it here. I can open more than one instance from the same icon...of course the consecutive ones will open onto blank pages, but ................:p

Doergn
02-03-2004, 04:22 PM
Hi,

this:

My hacks (http://www.lehmannet.de/hacks.html)

works fine for me. It opens Firebird if it does not run and opens a new tab if it does run.

Hope thats helps..


Regards

Doergn

bs_texas
02-03-2004, 09:47 PM
Originally posted by JohnT
OK..here's a patch...before and after of running more than one instance of the browser. You would have to replace/modify mozilla.sh. I'd do a back up if you experimented with this. Check all your "paths'.

http://bugzilla.mozilla.org/show_bug.cgi?id=122698


It's been a long day and that link is making me dizzy.. ;)

Does it want me to do something with this:
http://bugzilla.mozilla.org/attachment.cgi?id=89959&action=view
Maybe download it and rename it to run-mozilla.sh?

That's quite old too, although I don't know if it was Jul 2, 2002 or Feb 7, 2002.

Edit: Oh, wait... there's a link to 'Patch 5' there also.
(Hey, that one must be Dec 12, 2002 ;) ) Maybe I need to download that and rename or something. ??

Also, is this something that everybody does? Or do people just not open links in email with mozilla?

Also, I'll take a look at Doergn's link soon.

And... **cough** Firebird **cough** ... doesn't help at all, unless Firebird doesn't have a Profile Manager to worry about.

All I want is to be able to open Mozillas until my memory catches on fire and to open the browser from links in emails.

hammer123
02-03-2004, 09:51 PM
make applications pass mozilla the %s flag or else overwrite the /bin/mozilla file with MSS

bs_texas
02-03-2004, 10:07 PM
Originally posted by hammer123
make applications pass mozilla the %s flag

By 'applications' do you mean Ximian Evolution, which is the issue here? And as I stated above, when I used %s in the gnome-default-applications-properties app, which changes the behavior of mozilla from evolution, it gave me those errors.

However today I've tried:
/usr/local/mozilla/mozilla %s
/usr/local/mozilla/mozilla '%s'
/usr/local/mozilla/mozilla "%s"
'/usr/local/mozilla/mozilla' %s
'/usr/local/mozilla/mozilla' '%s'
'/usr/local/mozilla/mozilla' "%s"
"/usr/local/mozilla/mozilla" %s
"/usr/local/mozilla/mozilla" '%s'
"/usr/local/mozilla/mozilla" "%s"

Well, ok, I didn't try them all, but all that I did try gave me the STUPID profile manager again.

or else overwrite the /bin/mozilla file with MSS

I have no idea what MSS is...

hammer123
02-03-2004, 10:12 PM
there was a link on this thread

bs_texas
02-03-2004, 10:24 PM
Originally posted by hammer123
there was a link on this thread

Oh, sorry. Missed that one. I'll take a look at that too.

Seems like a whole lot of extra effort just to get a properly working browser, eh? delete a file, edit a file, fix a path, test some stuff, stand on one leg, close one eye, jump up and down, chant, spit, cuss, ..... ;)

And my other question remains, have the thousands of people who use mozilla made these hacks in order to be able to click a link in an email, or is there a more elegant solution?

thanks...

hammer123
02-03-2004, 10:26 PM
its because mozilla binaries do this. use the one for your distro or fix this. dunno how you did this before

$mozilla %s %u

JohnT
02-03-2004, 11:39 PM
It's this one....
http://kingant.net/?p=mss

Just place the script in your Moz folder...name it anything you want, with the ".sh" extension and link your icon in properties to it.

bs_texas
02-04-2004, 09:34 PM
Originally posted by JohnT
It's this one....
http://kingant.net/?p=mss

Just place the script in your Moz folder...name it anything you want, with the ".sh" extension and link your icon in properties to it.

Ok, cool, done. Works for the icon. I put this in there:
sh /home/bsl1/download/MSS.sh
(I'll be moving it into the /usr/local/mozilla folder.)
I guess opening a blank window is better than no window. Probably that hack can be hacked to open to the home page, or something, but hey, blank is fine for this.

Now, how can I get evolution to open to the correct window when I click on an email link? Mozilla's action from within evolution is determined by that ./gnome-default-applications-properties. If I set the 'Custom Web Browser' command to:
sh /home/bsl1/download/MSS.sh
it will open a new window, but it will be blank. It needs to open the web page of the link that was clicked on.

Oh, and I just wanted to type this again: STUPID profile manager. :D

JohnT
02-04-2004, 10:17 PM
Don't know...experiment..I only give out one free script per post:D Just kidding..haven't got time to research it tonight...on the way to work but if this post is still alive tomorrow...maybe.:p

JohnT
02-04-2004, 10:31 PM
Just now found this...try it tonight and let me know if you can get it to work.....ya gotta have python though.

http://www.mail-archive.com/expert@linux-mandrake.com/msg80038.html

bs_texas
02-04-2004, 11:40 PM
Originally posted by JohnT
Don't know...experiment.. :p
:eek:
I've tried every combination of
/usr/local/mozilla/mozilla with quotes, no quotes, double quotes, %s, %u, and MSS!!

:D

I'll try out that python thing tomorrow. Oh, I still need to check out Doergn's hacks as well.
Time is limited these days since I've been working on a project up in Richardson. (65 miles from here)

Originally posted by JohnT
on the way to work

Where do you work? More importantly, are they hiring?!?! :)

JohnT
02-04-2004, 11:52 PM
Originally posted by bs_2003
:eek:
I've tried every combination of
/usr/local/mozilla/mozilla with quotes, no quotes, double quotes, %s, %u, and MSS!!

:D

I'll try out that python thing tomorrow. Oh, I still need to check out Doergn's hacks as well.
Time is limited these days since I've been working on a project up in Richardson. (65 miles from here)


Where do you work? More importantly, are they hiring?!?! :)

No...I'm fortunate to have the one I have. Do you live south of the DFW metroplex?

bs_texas
02-05-2004, 12:07 AM
Originally posted by Doergn
... My hacks (http://www.lehmannet.de/hacks.html) works fine for me. It opens Firebird if it does not run and opens a new tab if it does run.


I tried that. I created mozilla-remote.sh
#!/bin/sh
gnome-moz-remote --remote='openurl('$1', new-tab)' || /usr/local/mozilla/mozilla $1 &

Then ran gnome-control-center. And in my red hat 8, the Gnome Control Center has two options on the left, Preferences and Extras. Clicked on Extras and found Preferred Applications and that launches gnome-default-applications-properties.
In there I tried:
/home/bsl1/mozilla-remote.sh "%s"
and also
sh /home/bsl1/mozilla-remote.sh "%s"

It won't work without the sh in front. And, it will launch mozilla if mozilla is not running, but if it is already running, it opens the STUPID profile manager. (sorry, can't help myself there ;) )

bs_texas
02-05-2004, 12:10 AM
Originally posted by JohnT
No...I'm fortunate to have the one I have. Do you live south of the DFW metroplex?

Yes, I am currently near Cedar Creek Lake.

http://home.earthlink.net/~bennies1/home.jpg

And, no, I'm not writing any manifestos. ;)

JohnT
02-05-2004, 12:53 PM
Originally posted by bs_2003
Yes, I am currently near Cedar Creek Lake.

http://home.earthlink.net/~bennies1/home.jpg

And, no, I'm not writing any manifestos. ;)


Thats near Gun-Barrel City, where I download a lot of my Windows software from Tucows (a mirror):D