- 2005-04-09 (Sat) 23:02
- 備忘録
Linux版のAdobe Reader 7.0が使えるようになった!というわけで、
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/720acrobat7.html
に書いてある手順でインストールしたら、無事にAdobe Readerが
使えるようになったのですが、今までブラウザ内(firefox)で表示されていたPDFを
見ることができなくなってしまいました。
Adobe Readerが立ち上がってくれたらもっといいのですが、
いろいろ試しているうちに、プラグインのように表示する方法は見つかりました。
以下のファイルを mozpluggerrc という名前で保存して、
ホームディレクトリに .netscape というディレクトリを作って、そこに
保存すればいい感じでPDFが見られるようになりました。
# Configure file for MozPlugger 1.6
# Commands which are not installed on your system will not be used.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
#######################
### Documents ###
#######################
application/pdf: pdf: PDF file
application/x-pdf: pdf: PDF file
text/pdf: pdf: PDF file
text/x-pdf: pdf: PDF file
repeat swallow(Adobe) fill: acroread -openInNewWindow "$file"