1 |
On 3/22/06, Boris Fersing <kernelsensei@g.o> wrote: |
2 |
.. |
3 |
> Hi, |
4 |
> |
5 |
> ~x86 means that this package is marked as unstable because it needs |
6 |
> some testing, if you want to test it (don't worry, I've my whole |
7 |
> system in ~x86 and it's quite stable), just unmask it this way : |
8 |
> |
9 |
> echo "net-www/mozplugger ~x86" >> /etc/portage/package.keywords |
10 |
> |
11 |
> You'll have to create /etc/portage/ if it's the first time you use the |
12 |
> /etc/portage/* files ... |
13 |
> |
14 |
> regards, |
15 |
> |
16 |
> Boris. |
17 |
.. |
18 |
|
19 |
I have acroread (adobe) and "document viewer" installed, either of |
20 |
which can read PDF files. prior to emerging mozplugger firefox would |
21 |
launch acroread as a seperate application. Currently, |
22 |
"edit=>preferences=>downloads" in firefox doesn't show an action for |
23 |
PDF files. Yet, when clicking on a PDF file link from firefox, the |
24 |
complete URL, ending with ".pdf", loads--only it's a blank page. |
25 |
|
26 |
|
27 |
|
28 |
localhost ~ # |
29 |
localhost ~ # |
30 |
localhost ~ # |
31 |
localhost ~ # whoami |
32 |
root |
33 |
localhost ~ # ls -hal /home/thufir/.mozilla/ |
34 |
total 20K |
35 |
drwxr-xr-x 4 thufir users 4.0K Mar 23 10:40 . |
36 |
drwxr-xr-x 22 thufir users 4.0K Mar 23 10:57 .. |
37 |
-rw-r--r-- 1 thufir users 335 Mar 21 17:48 appreg |
38 |
drwxr-xr-x 3 thufir users 4.0K Mar 23 10:54 firefox |
39 |
drwxr-xr-x 2 thufir users 4.0K Mar 22 13:55 plugins |
40 |
localhost ~ # ls -hal /home/thufir/.mozilla/firefox/ |
41 |
total 24K |
42 |
drwxr-xr-x 3 thufir users 4.0K Mar 23 10:54 . |
43 |
drwxr-xr-x 4 thufir users 4.0K Mar 23 10:40 .. |
44 |
drwx------ 5 thufir users 4.0K Mar 23 10:55 dif1d0z2.default |
45 |
-rw------- 1 thufir users 4.3K Mar 23 10:54 pluginreg.dat |
46 |
-rw-r--r-- 1 thufir users 94 Mar 21 17:47 profiles.ini |
47 |
localhost ~ # rm /home/thufir/.mozilla/firefox/pluginreg.dat -v |
48 |
removed `/home/thufir/.mozilla/firefox/pluginreg.dat' |
49 |
localhost ~ # ls -hal /home/thufir/.mozilla/firefox/ |
50 |
total 16K |
51 |
drwxr-xr-x 3 thufir users 4.0K Mar 23 10:58 . |
52 |
drwxr-xr-x 4 thufir users 4.0K Mar 23 10:40 .. |
53 |
drwx------ 5 thufir users 4.0K Mar 23 10:55 dif1d0z2.default |
54 |
-rw-r--r-- 1 thufir users 94 Mar 21 17:47 profiles.ini |
55 |
localhost ~ # exit |
56 |
logout |
57 |
thufir@localhost ~ $ whoami |
58 |
thufir |
59 |
thufir@localhost ~ $ firefox |
60 |
No running windows found |
61 |
|
62 |
Usage: /usr/bin/acroread [options] [list of files] |
63 |
|
64 |
Options: |
65 |
--display=<DISPLAY> |
66 |
This option specifies the host and display to use. |
67 |
--screen=<SCREEN> |
68 |
X screen to use. Use this options to override the |
69 |
screen part of the DISPLAY environment variable. |
70 |
--sync |
71 |
Make X calls synchronous. This slows down the program considerably. |
72 |
-geometry [<width>x<height>][{+|-}<x offset>{+|-}<y offset>] |
73 |
Size and/or location of the document windows. |
74 |
Note: this option is position dependent, and can be |
75 |
specified multiple times. The geometry specified only |
76 |
affects the list of files following it. |
77 |
-help |
78 |
Prints the common command-line options. |
79 |
-iconic |
80 |
Launches in an iconic state on the desktop. |
81 |
-setenv <var>=<value> |
82 |
Tells the main application to perform the equivalent of |
83 |
C-shell setenv <var> <value>. |
84 |
-tempFile |
85 |
Indicates files listed on the command line are temporary files |
86 |
and should not be put in the recent file list. The document |
87 |
title will be the title in the pdf document, instead of the |
88 |
filename. |
89 |
-tempFileTitle <title> |
90 |
Same as -tempFile, except the title is specified. |
91 |
-toPostScript [options] pdf_file ... [ps_dir] |
92 |
-toPostScript [options] -pairs pdf_file_1 ps_file_1 ... |
93 |
-toPostScript [options] |
94 |
Converts the given pdf_files to PostScript. |
95 |
|
96 |
In the first form, if the last file specified is a directory, |
97 |
then all preceding files will be converted to PostScript |
98 |
and the generated PostScript files will be placed into ps_dir. |
99 |
If a directory is not specified, then the PostScript files |
100 |
will be placed in the same directory as the original file. |
101 |
|
102 |
In the second form, the file list contains pairs, each |
103 |
consisting of a PDF filename and a corresponding PostScript |
104 |
filename. |
105 |
|
106 |
The third form specifies a filter, reading a PDF file from |
107 |
standard input and writing the PostScript file to standard |
108 |
output. |
109 |
|
110 |
Note: When using -toPostScript it must be the first argument |
111 |
passed in on the command line. |
112 |
|
113 |
The following are valid options for the conversion of PDF to |
114 |
PostScript: |
115 |
|
116 |
-binary - emit binary PostScript where possible |
117 |
-start <int> - identify the first page in the document to be |
118 |
converted (default is the first page of the document) |
119 |
-end <int> - identify the last page in the document to be |
120 |
converted (default is the last page of the document) |
121 |
-optimizeForSpeed - emit PostScript such that all fonts are |
122 |
emitted once at the beginning of the document. This |
123 |
results in faster transmission times and smaller |
124 |
PostScript documents but requires more PostScript printer |
125 |
virtual memory. |
126 |
-landscape - rotate the pages to print landscape |
127 |
-reverse - reverse the page order of the output |
128 |
-odd - emit only odd-numbered pages |
129 |
-even - emit only even-numbered pages |
130 |
-commentsOff - don't print comments |
131 |
-annotsOff - don't print annots |
132 |
-stampsOff - don't print stamps |
133 |
-markupsOn - print document and markups |
134 |
-level2 - emit Level 2 PostScript (level1 is not supported) |
135 |
-level3 - emit Level 3 PostScript |
136 |
-printerhalftones - use the printer default halftones. |
137 |
-saveVM - download fonts as needed to preserve printer memory |
138 |
-size - Paper size (letter,tabloid,ledger,legal,a3,a4,a5,b4,b5) |
139 |
-scale <int> - scale the pages according to the scale factor |
140 |
(default is 100 percent) |
141 |
-shrink - shrink the pages to fit the page size |
142 |
-expand - expand the pages to fit the page size |
143 |
-size <pagesize> - set the page size. The following page sizes |
144 |
are recognized: |
145 |
letter - letter size paper |
146 |
tabloid - tabloid size paper |
147 |
ledger - ledger size paper |
148 |
legal - legal size paper |
149 |
executive - executive size paper |
150 |
a3 - ISO standard A3 size |
151 |
a4 - ISO standard A4 size |
152 |
a5 - ISO standard A5 size |
153 |
b4 - ISO standard B4 size |
154 |
b5 - ISO standard B5 size |
155 |
wxh - custom size paper where w is the integer width |
156 |
in points and h is the integer height in points |
157 |
-transQuality level - set the transparency flattening level |
158 |
Value from 1-5, where 1 means rasterize everything, 5 means |
159 |
rasterize as little as possible, default is 3. |
160 |
-openInNewWindow |
161 |
The application starts normally without checking if it |
162 |
is already running. |
163 |
-version |
164 |
Print version information and quit. |
165 |
-visual <visual class> [depth=<depth>] |
166 |
-visual id=<visual id> |
167 |
-visual best |
168 |
-visual default |
169 |
Specifies a visual. |
170 |
|
171 |
In the first form, the visual class (specified by either |
172 |
its name or number) with an option depth determine the |
173 |
visual to use. |
174 |
|
175 |
In the second form, the visual id is specified. The prefix |
176 |
0x must be used for hexadecimal numbers. |
177 |
|
178 |
The third form uses an internal algorithm based on depth |
179 |
and visual class. |
180 |
|
181 |
The fourth form simply uses the default visual. |
182 |
|
183 |
Note that PseudoColor visuals of depth greater than 8, |
184 |
and DirectColor visuals are not supported. |
185 |
thufir@localhost ~ $ ls -hal /home/thufir/.mozilla/ |
186 |
total 20K |
187 |
drwxr-xr-x 4 thufir users 4.0K Mar 23 10:40 . |
188 |
drwxr-xr-x 22 thufir users 4.0K Mar 23 10:57 .. |
189 |
-rw-r--r-- 1 thufir users 335 Mar 21 17:48 appreg |
190 |
drwxr-xr-x 3 thufir users 4.0K Mar 23 10:58 firefox |
191 |
drwxr-xr-x 2 thufir users 4.0K Mar 22 13:55 plugins |
192 |
thufir@localhost ~ $ ls -hal /home/thufir/.mozilla/firefox/ |
193 |
total 24K |
194 |
drwxr-xr-x 3 thufir users 4.0K Mar 23 10:58 . |
195 |
drwxr-xr-x 4 thufir users 4.0K Mar 23 10:40 .. |
196 |
drwx------ 5 thufir users 4.0K Mar 23 10:59 dif1d0z2.default |
197 |
-rw------- 1 thufir users 4.3K Mar 23 10:58 pluginreg.dat |
198 |
-rw-r--r-- 1 thufir users 94 Mar 21 17:47 profiles.ini |
199 |
thufir@localhost ~ $ date |
200 |
Thu Mar 23 11:00:09 GMT 2006 |
201 |
thufir@localhost ~ $ |
202 |
|
203 |
|
204 |
It doesn't matter which application opens the PDF, but I'd like either |
205 |
"document viewer" or "acroread" to work with mozplugger. |
206 |
|
207 |
Is there something I'm not seeing? Should I re-emerge firefox and |
208 |
mozplugger? Seems a bit drastic. |
209 |
|
210 |
|
211 |
|
212 |
thanks, |
213 |
|
214 |
Thufir |
215 |
|
216 |
-- |
217 |
gentoo-user@g.o mailing list |