Summary: | Mozilla start script does the wrong thing with -remote and no moz running | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Klaus Kusche <Klaus.Kusche> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED INVALID | ||
Severity: | minor | ||
Priority: | High | ||
Version: | 2004.2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Klaus Kusche
2004-11-16 07:19:05 UTC
Where are you getting your idea of how "mozilla -remote" should behave? It's like a remote control; if there's nothing to contact, the remote isn't going to make a TV magically appear. AFAICT this is the same behavior as the default mozilla.org supplied scripts. Btw, the Gentoo-supplied script does what you want if you pass a simple URL mozilla http://gentoo.org That will open a new window if there is an existing browser. If there is no existing browser then it starts a new one. However, as you've noticed, explicitly specifying -remote overrides this automatic behavior. Ok, sorry, I was wrong about what -remote should do when no browser is running. The reason why I wanted to use -remote is that I wanted to open a given URL in a new tab, not in a new window, and I didn't find a way to specify "new tab" with a simple URL argument. (intended to start Google etc. from window manager shortkeys) Any hint for that (except for writing a small script and using ping() first)? Put in your .bash_profile: export MOZILLA_NEWTYPE=tab mozilla-launcher (meaning /usr/bin/mozilla) honors that variable. |