Jump to content

PDF links in firefox [solved]


coverup
 Share

Recommended Posts

I have identical versions of firefox (ver 1.0) installed on two PCs One is running 9.2, another is running 10.1. If I click a link to a PDF file on the 9.2 machine, the window opens asking me whether I want to save the file or open it with acroread. Clicking the same link on 10.1 causes the firefox to hang... I wonder why?

Edited by coverup
Link to comment
Share on other sites

coverup, what you say does make sense about the two versions, but Firefox in each is done with different libraries. Firefox file associations are controlled by gnome, you may want to check in the gnome-control-center.

Things even more interesting than I thought... It turns out that some links to PDF work as expected - a window pops out asking what I want to do, and everything works Ok. And on some other links firefox and mozilla freeze. I tried starting FF from the CLI. First, I see some activitiy in the status bar, then the FF freezes and the following messages appear in the terminal

 

Usage: /usr/bin/acroread [options] [list of files]

Options:
   --display=<DISPLAY>
       This option specifies the host and display to use.
   --screen=<SCREEN>
       X screen to use. Use this options to override the
       screen part of the DISPLAY environment variable.
   --sync
       Make X calls synchronous. This slows down the program considerably.
   -geometry [<width>x<height>][{+|-}<x offset>{+|-}<y offset>]
       Size and/or location of the document windows.
       Note: this option is position dependent, and can be
       specified multiple times. The geometry specified only
       affects the list of files following it.
   -help
       Prints the common command-line options.
   -iconic
       Launches in an iconic state on the desktop.
   -setenv <var>=<value>
       Tells the main application to perform the equivalent of
       C-shell setenv <var> <value>.
   -tempFile
       Indicates files listed on the command line are temporary files
       and should not be put in the recent file list.  The document
       title will be the title in the pdf document, instead of the
       filename.
   -tempFileTitle <title>
       Same as -tempFile, except the title is specified.
   -toPostScript [options] pdf_file ... [ps_dir]
   -toPostScript [options] -pairs pdf_file_1 ps_file_1 ...
   -toPostScript [options]
       Converts the given pdf_files to PostScript.

       In the first form, if the last file specified is a directory,
       then all preceding files will be converted to PostScript
       and the generated PostScript files will be placed into ps_dir.
       If a directory is not specified, then the PostScript files
       will be placed in the same directory as the original file.

       In the second form, the file list contains pairs, each
       consisting of a PDF filename and a corresponding PostScript
       filename.

       The third form specifies a filter, reading a PDF file from
       standard input and writing the PostScript file to standard
       output.

       Note: When using -toPostScript it must be the first argument
       passed in on the command line.

       The following are valid options for the conversion of PDF to
       PostScript:

       -binary - emit binary PostScript where possible
       -start <int> - identify the first page in the document to be
          converted (default is the first page of the document)
       -end <int> - identify the last page in the document to be
          converted (default is the last page of the document)
       -optimizeForSpeed - emit PostScript such that all fonts are
          emitted once at the beginning of the document.  This
          results in faster transmission times and smaller
          PostScript documents but requires more PostScript printer
          virtual memory.
       -landscape - rotate the pages to print landscape
       -reverse - reverse the page order of the output
       -odd - emit only odd-numbered pages
       -even - emit only even-numbered pages
       -commentsOff - don't print comments
       -annotsOff - don't print annots
       -level2 - emit Level 2 PostScript  (level1 is not supported)
       -level3 - emit Level 3 PostScript
       -printerhalftones - use the printer default halftones.
       -saveVM - download fonts as needed to preserve printer memory
       -size - Paper size (letter,tabloid,ledger,legal,a3,a4,a5,b4,b5)
       -scale <int> - scale the pages according to the scale factor
          (default is 100 percent)
       -shrink - shrink the pages to fit the page size
       -expand - expand the pages to fit the page size
       -size <pagesize> - set the page size.  The following page sizes
          are recognized:
             letter - letter size paper
             tabloid - tabloid size paper
             ledger - ledger size paper
             legal - legal size paper
             executive - executive size paper
             a3 - ISO standard A3 size
             a4 - ISO standard A4 size
             a5 - ISO standard A5 size
             b4 - ISO standard B4 size
             b5 - ISO standard B5 size
             wxh - custom size paper where w is the integer width
                in points and h is the integer height in points
       -transQuality level - set the transparency flattening level
          Value from 1-5, where 1 means rasterize everything, 5 means
          rasterize as little as possible, default is 3.
   -openInNewWindow
       The application starts normally without checking if it
       is already running.
   -version
       Print version information and quit.
   -visual <visual class> [depth=<depth>]
   -visual id=<visual id>
   -visual best
   -visual default
       Specifies a visual.

       In the first form, the visual class (specified by either
       its name or number) with an option depth determine the
       visual to use.

       In the second form, the visual id is specified. The prefix
       0x must be used for hexadecimal numbers.

       The third form uses an internal algorithm based on depth
       and visual class.

       The fourth form simply uses the default visual.

       Note that PseudoColor visuals of depth greater than 8,
       and DirectColor visuals are not supported.

 

Also, when I start FF from the CLI, an error appears

 LoadPlugin: failed to initialize shared library /usr/lib/mozilla/plugins/rpnp.so [/usr/lib/mozilla/plugins/rpnp.so: undefined symbol: __pure_virtual]

The version of Mozilla seems to be the only difference between 10.1 install and 9.2 installs...

could that be the reason?

Edited by coverup
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...