个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/Foxit}} {{Languages|UbuntuHelp:Foxit}} '''Warning: this program is not known to work''' == Why Foxit? == Even though Ubuntu comes with a lot o...)
 
 
(未显示同一用户的9个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/Foxit}}
 
{{From|https://help.ubuntu.com/community/Foxit}}
 
{{Languages|UbuntuHelp:Foxit}}
 
{{Languages|UbuntuHelp:Foxit}}
 
 
 
'''Warning: this program is not known to work'''
 
'''Warning: this program is not known to work'''
 
 
== Why Foxit? ==
 
== 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. [http://www.foxitsoftware.com/downloads/index.php Foxit] is one of those programs.
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. [http://www.foxitsoftware.com/pdf/rd_linux.php Foxit] is one of those programs.
+
 
+
 
== How to Install Foxit ==
 
== How to Install Foxit ==
 
+
Paste these commands into [[UbuntuHelp:UsingTheTerminal#head-2fa31364ee2acb07982a2fd5f52c983130565f8f|the|terminal]]:
Paste these commands into [https://help.ubuntu.com/community/UsingTheTerminal#head-2fa31364ee2acb07982a2fd5f52c983130565f8f the terminal]:
+
 
+
 
=== 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.
 
 
=== Remove the original archive ===
 
=== 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
 
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>
 
 
 
== Another advanced PDF application ==
 
== Another advanced PDF application ==
 
+
[[UbuntuHelp:PDFedit|PDFedit]] is also a popular advanced PDF program.
[[UbuntuHelp:PDFedit]] is also a popular advanced PDF program.
+
 
+
 
----
 
----
[[category:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 22:25的最新版本

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.