个人工具

“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...)
 
第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/pdf/rd_linux.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 [https://help.ubuntu.com/community/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://www.foxitsoftware.com/foxitreader/FoxitReaderLinux.tar.gz
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Unzip the archive ===
 
=== Unzip the archive ===
 
<pre><nowiki>
 
<pre><nowiki>
 
tar -xvzf FoxitReaderLinux.tar.gz
 
tar -xvzf FoxitReaderLinux.tar.gz
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Move the executable to a universal location ===
 
=== Move the executable to a universal location ===
 
<pre><nowiki>
 
<pre><nowiki>
第28行: 第19行:
 
sudo mv ReaderLinux /opt/foxit/
 
sudo mv ReaderLinux /opt/foxit/
 
</nowiki></pre>
 
</nowiki></pre>
 
 
=== Make the executable universally available ===
 
=== Make the executable universally available ===
 
<pre><nowiki>
 
<pre><nowiki>
第34行: 第24行:
 
</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
第40行: 第29行:
 
rm FoxitReaderLinux.tar.gz
 
rm FoxitReaderLinux.tar.gz
 
</nowiki></pre>
 
</nowiki></pre>
 
 
== Problems ==
 
== 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:
 
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:
第58行: 第46行:
 
username@ubuntu:~$  
 
username@ubuntu:~$  
 
</nowiki></pre>
 
</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".
 
== Another advanced PDF application ==
 
== Another advanced PDF application ==
 
 
[[UbuntuHelp:PDFedit]] is also a popular advanced PDF program.
 
[[UbuntuHelp:PDFedit]] is also a popular advanced PDF program.
 
 
----
 
----
 
[[category:CategoryDocumentation]]
 
[[category:CategoryDocumentation]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 17:21的版本

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://www.foxitsoftware.com/foxitreader/FoxitReaderLinux.tar.gz

Unzip the archive

tar -xvzf FoxitReaderLinux.tar.gz

Move the executable to a universal location

sudo mkdir /opt/foxit
sudo mv ReaderLinux /opt/foxit/

Make the executable universally available

sudo ln -s /opt/foxit/ReaderLinux /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 FoxitReaderLinux.tar.gz

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:

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:~$ 

The X Error messages can be corrected by commenting few lines in the X conf file. However it doesn't remove the "Segmentation fault".

Another advanced PDF application

UbuntuHelp:PDFedit is also a popular advanced PDF program.