FS#259 - mozilla 1.5 lacks intelligent launching script

Attached to Project: Arch Linux
Opened by Kurt Erickson (kurt) - Thursday, 06 November 2003, 06:54 GMT
Last edited by Dale Blount (dale) - Thursday, 18 December 2003, 13:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dale Blount (dale)
Architecture All
Severity Very Low
Priority Normal
Reported Version 0.6 Widget
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Debian unstable's mozilla package includes a script that lives at /usr/bin/mozilla, in place of the actual binary (/usr/lib/mozilla/mozilla-bin.) This script allows mozilla to tell if it's already running, and if it is, to launch a new window instead of launching another mozilla process. The current mozilla package stupidly spawns a new mozilla process every time, thus presenting the user with a profile dialog instead of a usable browser window if mozilla already happens to be open. The script also handles URLs (and decides whether to open mozilla and load the URL or to load the URL in a new mozilla window, depending on whether mozilla is already open), dynamically configures several different variables, and automatically selects the correct mozilla dsp (artsdsp, esddsp, oss, or null) depending on what sound servers the user might be using. It really helps the usablilty of mozilla. If you're interested, I can provide a version customized for arch linux, and/or the orginal debian unstable version. It's a simple bash script. I'm unfamiliar with the mozilla-firebird package; does it provide similar functionality?
(application/octet-stream)    mozilla-1.5 (5.8 KiB)
(application/octet-stream)    mozilla-firebird (0.4 KiB)
This task depends upon

Closed by  Dale Blount (dale)
Friday, 16 January 2004, 14:42 GMT
Reason for closing:  Implemented
Comment by Judd Vinet (judd) - Sunday, 16 November 2003, 03:24 GMT
Passing to Dale
Comment by Dale Blount (dale) - Sunday, 16 November 2003, 14:12 GMT
sure, please provide you're customized script and we'll decide between that script and modification of the mozilla-firebird script (already quite a bit smarter than mozilla's).
Comment by Dale Blount (dale) - Wednesday, 03 December 2003, 17:08 GMT
kurt? still interested?
Comment by Kurt Erickson (kurt) - Wednesday, 03 December 2003, 22:48 GMT
Yeesh. Sorry about that, I lost track of it. I don't actually have Arch installed at the moment, so that may make it a little difficult for me the fix the script.
Why don't you just go with the firebird script, and if I ever get around to fixing the mozilla script I'll open a new bug and attach it. But until that happens, just go ahead. I can't imagine that they're really all that different anyway.
I am curious though, so if you wouldn't mind attaching the firebird script so I can read it, I'd appreciate it. Again, I apologize for the wait.
Comment by Dale Blount (dale) - Thursday, 04 December 2003, 05:11 GMT
Attached mozilla-firebird script.
Comment by Kurt Erickson (kurt) - Thursday, 04 December 2003, 05:34 GMT
Meh. The mozilla script has more features. I'll start porting the mozilla script shortly after dec 14th. Maybe we can just wait until mozilla 1.6 to include it, (it's due sometime in late december, early january) if everything pans out? Until then, please use the firebird one, it's much better than nothing.
Comment by Dale Blount (dale) - Thursday, 18 December 2003, 13:25 GMT
  • Task details edited
Yes, 1.6 will be the target for the script's addition.
Comment by Dale Blount (dale) - Friday, 16 January 2004, 14:42 GMT
looks like the script was pulled from the rpm build directory of the mozilla tarball... I'll provide this in the 1.6 package.

closing bug, thanks for the report.

Loading...