个人工具

“UbuntuHelp:Foxit”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第8行: 第8行:
 
=== Download Foxit ===
 
=== Download Foxit ===
 
<pre><nowiki>
 
<pre><nowiki>
wget -c http://www.foxitsoftware.com/foxitreader/FoxitReaderLinux.tar.gz
+
wget -c http://mirrors.foxitsoftware.com/pub/foxit/reader/desktop/unix/1.x/1.0/enu/FoxitReader10_Linux_enu_i386.tar.bz2
 
</nowiki></pre>
 
</nowiki></pre>
 
=== Unzip the archive ===
 
=== Unzip the archive ===
 
<pre><nowiki>
 
<pre><nowiki>
tar -xvzf FoxitReaderLinux.tar.gz
+
tar -jxvf FoxitReader10_Linux_enu_i386.tar.bz2
 
</nowiki></pre>
 
</nowiki></pre>
 
=== Move the executable to a universal location ===
 
=== Move the executable to a universal location ===
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo mkdir /opt/foxit
 
sudo mkdir /opt/foxit
sudo mv ReaderLinux /opt/foxit/
+
sudo mv Foxit /opt/foxit/
 
</nowiki></pre>
 
</nowiki></pre>
 
=== Make the executable universally available ===
 
=== Make the executable universally available ===
 
<pre><nowiki>
 
<pre><nowiki>
sudo ln -s /opt/foxit/ReaderLinux /usr/bin/foxit
+
sudo ln -s /opt/foxit/Foxit/FoxitReader /usr/bin/foxit
 
</nowiki></pre>
 
</nowiki></pre>
 
Now, the command ''foxit'' should launch the application.
 
Now, the command ''foxit'' should launch the application.
第27行: 第27行:
 
After you test out that Foxit is working properly, you can remove the original .tar.gz file you downloaded with the first command
 
After you test out that Foxit is working properly, you can remove the original .tar.gz file you downloaded with the first command
 
<pre><nowiki>
 
<pre><nowiki>
rm FoxitReaderLinux.tar.gz
+
rm FoxitReader10_Linux_enu_i386.tar.bz2
 
</nowiki></pre>
 
</nowiki></pre>
== Problems ==
 
The binary seems to "work" when you launch the program, but once you open an actual .pdf from within the program, the program crashes. This is the terminal output:
 
<pre><nowiki>
 
username@ubuntu:~$ foxit
 
X Error: BadDevice, invalid or uninitialized input device 169
 
  Extension:    145 (XInputExtension)
 
  Minor opcode: 3 (X_OpenDevice)
 
  Resource id:  0x0
 
Failed to open device
 
X Error: BadDevice, invalid or uninitialized input device 169
 
  Extension:    145 (XInputExtension)
 
  Minor opcode: 3 (X_OpenDevice)
 
  Resource id:  0x0
 
Failed to open device
 
Segmentation fault (core dumped)
 
username@ubuntu:~$
 
</nowiki></pre>
 
The X Error messages can be [http://ubuntuforums.org/showthread.php?t=212025 corrected] by commenting few lines in the X conf file. However it doesn't remove the "Segmentation fault".
 
According to FoxIt Tech support one must be sure the Qt4 libraries are installed to avoid this Seg Fault.
 
I have not yet tried to see if that solution solves the problem.
 
Source: http://www.foxitsoftware.com/bbs/showthread.php?t=5796
 
 
== Another advanced PDF application ==
 
== Another advanced PDF application ==
 
[[UbuntuHelp:PDFedit|PDFedit]] is also a popular advanced PDF program.
 
[[UbuntuHelp:PDFedit|PDFedit]] is also a popular advanced PDF program.
 
----
 
----
[[category:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年5月12日 (二) 16:53的版本

Warning: this program is not known to work

Why Foxit?

Even though Ubuntu comes with a lot of great applications for working with PDFs, some functionality is not available in the programs installable through the standard repositories, and sometimes people just prefer something other than Evince, Kpdf, or Adobe Reader. Foxit is one of those programs.

How to Install Foxit

Paste these commands into the|terminal:

Download Foxit

wget -c http://mirrors.foxitsoftware.com/pub/foxit/reader/desktop/unix/1.x/1.0/enu/FoxitReader10_Linux_enu_i386.tar.bz2

Unzip the archive

tar -jxvf FoxitReader10_Linux_enu_i386.tar.bz2 

Move the executable to a universal location

sudo mkdir /opt/foxit
sudo mv Foxit /opt/foxit/

Make the executable universally available

sudo ln -s /opt/foxit/Foxit/FoxitReader /usr/bin/foxit

Now, the command foxit should launch the application.

Remove the original archive

After you test out that Foxit is working properly, you can remove the original .tar.gz file you downloaded with the first command

rm FoxitReader10_Linux_enu_i386.tar.bz2

Another advanced PDF application

PDFedit is also a popular advanced PDF program.