Red Hat Bugzilla – Bug 135311
gnome-moz-remote should support --newtab
Last modified: 2007-11-30 17:10:51 EST
gnome-moz-remote --help lists
--newwin Show the given URL in a new window
which is fine, but only lets you open a new window (akin to mozilla
-remote "openURL($url,new-window)"). Would be nice to have a --newtab
option (e.g.) which does the equivalent of
mozilla -remote "openURL($url,new-tab)"
Version-Release number of selected component (if applicable):
gnome-libs is deprecated so not eligible for new features; the new
thing is gnome-vfs-open or something.
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
Re. comment #2: Still an issue for FC3:
Re. comment #1: There is no mention in the --help documentation for
gnome-moz-remote that it is deprecated in any way. There is no man page for this
command nor does /usr/share/doc/gnome-libs-22.214.171.124.90/README mention it.
I did find a command "gnome-open" (libgnome) which honors my selection of Web
Browser in Preferred Applications prefs, which I currently have set to a custom
wrapper script reading roughly
/usr/bin/firefox -remote "openURL($1,new-tab)"
for lack of anything more convenient that I can find. The Web Browser prefs only
has a built-in option "Firefox" which runs "firefox %s" which does not suffice -
it uses the currently focussed window/tab. You need to use -remote to request a
new tab. (I do have Firefox prefs under Tabbed Browsing set to "Open links from
other applications in... a new tab in the most recent window" but this is
apparently not enough - it uses an existing tab if you just run "firefox FILE".)
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
I believe a --newtab option is still needed. I am running FC5 with all updates
(so, gnome-libs-126.96.36.199.90-49). gnome-moz-remote --help is not working at the
moment so it is hard to check:
$ gnome-moz-remote --help
Usage: gnome-moz-remote [OPTION...]
--disable-sound Disable sound server usage
--enable-sound Enable sound server usage
*** buffer overflow detected ***: gnome-moz-remote terminated
======= Backtrace: =========
======= Memory map: ========
2001-08-04 Martin Baulig <firstname.lastname@example.org>
* libgnome/gnome-moz-remote.c, gnome-moz-remote2.c: Removed.
* libgnome/vroot.h: Removed.
* libgnome/gnome-remote.[ch]: Removed.
which is odd since gnome-libs-188.8.131.52.90-49.src.rpm still includes it
libgnome/gnome-moz-remote.c. Anyway, that source file indeed shows --newwin as
an option, but nothing about tabs.
A note: the Tab Mix Plus extension for Firefox obviates the need for this option
since you can select "New tab" for the option "Open links from other
applications in:" under the "Links" section of T.M.P. options.
gnome-libs and gnome 1.x is now removed from FC6. Closing.