Open Bug 204621 Opened 22 years ago Updated 3 years ago

[linux] integrate with "htmlview" to launch the default applications

Categories

(Firefox :: File Handling, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: sspitzer, Unassigned)

References

Details

from bug #144828 > once we get the front end work done, we'll figure out how to properly >launch the default mailer, which will be fun. blizzard writes: The usual way to do this is to just pass the url to be loaded to a command line handler that knows how to find the right browser and launch it if required. There's also the internal route where you can use the xremoteservice to talk to an already running instance. (mozilla -remote already uses this.) Then you can launch something if it's not running. On recent Red Hat versions we just have a little program called htmlview that passes urls to the "right" browser. this is needed so that on nav only builds, we launch the default mailer. but it will also help thunderbird on linux, to launch the default browser
shuehan is windows / mac, so maybe this would be better for bz, callion, or jan?
Status: NEW → ASSIGNED
Component: Browser-General → File Handling
QA Contact: asa → cpetersen0953
And more to the point, I would like us to implement a solution that works on systems other than RedHat ones (possibly in addition to a RedHat only solution if there are very good reasons to have such in the core codebase).
the fix goes here: mozilla\uriloader\exthandler\unix\nsOSHelperAppService.cpp(1244) NS_IMETHODIMP nsOSHelperAppService::LoadUrl(nsIURI * aURL) { LOG(("-- nsOSHelperAppService::LoadUrl\n")); return NS_ERROR_NOT_IMPLEMENTED; } what about the MAILER environment variable, for mailto urls?
Assignee: shliang → blizzard
Blocks: gtk2
Status: ASSIGNED → NEW
Also see bug 33282 if you plan to hack that code.
QA Contact: chrispetersen → file-handling
Product: Core → Firefox
Version: Trunk → unspecified

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: blizzard → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.