There seems to be a problem with how the mozilla-launcher script and Adobe Reader 7 interact as far as Adobe Reader invoking the browser to open a URL in the file being viewed. If I setup my browser as /usr/bin/mozilla under Adobe 7 it won't launch mozilla unless I already have mozilla running. Adobe Reader sends along two arguments to the web browser, $1 is -remote and $2 is "openurl("http://www.someurl.com)" . I'm using mozilla-launcher 1.30 and mozilla 1.7.6-r1. I just don't know enough about how the script works to come up with a good fix. Reproducible: Always Steps to Reproduce: 1.Open a pdf in adobe reader 7 with a hyperlink it with no mozilla open. 2.Click the link. 3.Mozilla doesn't open. Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#2, Feb 8 2005, 01:37:41)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r1, 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -mmmx -msse -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -mmmx -msse -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.noved.org/ http://mirrors.tds.net/gentoo http://adelie.polymtl.ca/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow X aac acpi alsa apm arts avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl dvd dvdr emboss encode esd faad fam flac font-server foomaticdb fortran gdbm gif gimpprint gnome gphoto2 gphoto3 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg junit kde kdefinal libclamav libg++ libwww mbox mikmod milter mmx motif mozilla moznocompose moznoirc mp3 mpeg ncurses nls nptl nvidia oggvorbis opengl oss pam pda pdflib perl png postgres ppds python qt quicktime readline samba sasl scanner sdl slang spell sqlite sse ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts usb xine xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
It seems Adobe Reader is kind of dumb in that it just throws out the -remote flag as $1 no matter what browser is filled in for the weblink. If you put in say konqueror is still sends the -remote flag even though I don't see where konquere even supports this.
Another note is that here is the output when acoread is run from the command line and a hyperlink is clicked on. kurt@cheech kurt $ acroread Trying to use an existing instance of the browser. mozilla-bin No running windows found Error: No running window found. mozilla-bin exited with non-zero status (2)
Ok, I guess adobe covered their rears with: Web Browser Support PDF files may be viewed within the following browsers: o Mozilla 1.7.3, 1.8 o Netscape 7 o Firefox 1.0 as far as browsers go.
Ok, after looking at the different mozilla command line options I'm thinking mozilla-launcher is fine and that Adobe Reader is just dumb because it assumes a browswer windows is already open since it uses the -remote flag. So this one may not worth trying to fix, but I will leave that call up to the devs.
acroread is binary-only so we can't fix it in their code. They don't have a public bugzilla so we can't report the bug. Yuck. I'm working on an experimental version, I'll make it available for you to try soon.
Kurt, could you try this: wget http://gentoo.org/~agriffis/misc/mozilla-launcher-1.33-test1 mv mozilla-launcher-1.33-test1 /usr/libexec/mozilla-launcher chmod +x /usr/libexec/mozilla-launcher Then try using acroread and let me know how it goes.
Ok, this bug report appears to be bogus. Adobe Reader 7 allows you to set a browser executable under Weblink in Preferences. I set it simply to "firefox". When clicking on a link in the Adobe Reader, it attempts to use -remote first. If that doesn't work, it attempts to start the browser. In other words, it works fine with the current mozilla-launcher
It seems to work better with firefox, but it still doesn't work right with Mozilla. I don't know if you bothered to try it with Mozilla or not but it still doesn't work.
We can't fix proprietary products like Acrobat Reader, closing.