MozillaFirebird wrapper script
Tim Wunder
tim
Mon May 17 11:51:30 PDT 2004
I condigured KDE to use Firebird as the default browser, but if I clicked on
multiple links in K-Mail, I was getting prompted for a profile to use. So I
had to close the already opened Firebird to open the new link. Someone on
comp.windows.x.kde (Dennis Hansen) posted a wrapper script to get Mozilla
1.5a (about which a poster was complaining of the same problem) to not prompt
for the profile (this script is a bit simpler than what's found at
http://linux-sxs.org/internet_browsing/multimoz.html):
#!/bin/bash
MOZILLA=/usr/bin/mozilla
if ($MOZILLA -remote "ping()"); then
$MOZILLA -remote "openurl($1, new-tab)"
else
$MOZILLA $1
fi
I created a new file called /usr/bin/firebird, pasted that, changed the
MOZILLA= line to
MOZILLA=/opt/MozillaFirebird/MozillaFirebird
(which is where I installed Firebird), and made the file executable. This has
the added benefit of opening new links in new tabs. Now all is right with the
Universe again. :-)
Regards,
Tim
--
RedHat 8.0 Kernel 2.4.20-19.8, KDE 3.1.3, Xfree86 4.2.1
7:35am up 2 days, 13:33, 3 users, load average: 0.02, 0.07, 0.03
It's what you learn after you know it all that counts
More information about the Linux-users
mailing list