Developer Tools
|
Office Productivity Applications
|
Enterprise Solutions
|
|||||||||||||||||||||||||||
In this article, I will show you the steps to install Gnostice Free PDF Reader in Ubuntu 10.04 a.k.a. Lucid Lynx. In other GNU/Linux distributions, you can follow similar steps.
Free PDF Reader is a Java application. It needs Sun Java Runtime in your Linux installation.

sudo mkdir /usr/java
sudo cp ~/Downloads/jre*.bin /usr/jav
cd /usr/java
sudo sh ./jre*.bin
sudo ln -s /usr/java/jre*/bin/java /usr/bin/java
You can check your Java installation by typing the command java -version. Some Linux distributions do not have the sudo facility. If that's the case with your installation, then run the shell with root privileges and omit
Get Free PDF Reader download file to your desktop. Extract the contents of the zip file to some location, say, your home directory. This will create a directory named freepdfreader. In this folder, you will find a file named FreePDFReader.jar. This is the main executable of Free PDF Reader.
Right-click on the desktop and select Create Launcher option from the context menu. In the Create Launcher window, click the Browse button and select the FreePDFReader.jar in the freepdfreader directory. This will enter the full path of the jar file in the Command box. That's not all. Prefix the command with java -jar. On my computer, I have the command as:
java -jar /home/subuntu/freepdfreader/FreePDFReader.jar

In the above command, replace the /home/subuntu/freepdfreader/ with the path of the directory that contains FreePDFReader.jar and other Free PDF Reader files. (Tip: To obtain the path of the installation folder, open the folder in Nautilus and perform the Ctrl+L keyboard shortcut. You will then be able to copy the path of the folder from the Location box.)
Free PDF Reader does not ship with a good icon for Linux. In Ubuntu, I find the icon at /usr/share/icons/gnome/scalable/apps/accessories-dictionary.svg appropriate for Free PDF Reader.
Right-click a PDF file and select the context menu option Properties. In the properties dialog box, select the Open with tabl. Here, click the Add button. This will bring up an Add Application dialog. In the Use a custom command box, enter the command you had created earlier for the linker. Finally, close all the dialogs. After you do these steps, you can click any PDF document and have it opened in Free PDF Reader.
When you make Free PDF Reader the default PDF application, there is one side effect. The context menu for PDF files will have the default option set to an uncool "java" instead of "Free PDF Reader."
If you would rather have a regular context menu option that says "Open with Free PDF Reader" for PDF files, as shown below, then need to install Nautilus Actions Configuration from your Linux repository.

In Nautilus Actions Configuration, I created create a new "Nautilus Action":

java -jar /home/subuntu/freepdfreader/FreePDFReader.jar and %M in Parameters.

*.pdf in the Filenames, unchecked Match Case, and entered application/pdf in Mimetypes.

Java applications are expected to have a very low memory footprint. This can cause Free PDF Reader to fail when loading huge PDF documents. To enable Free PDF Reader to load big PDF files, you need to add two extra parameters to the java command - to increase the minimum and maximum heap size allocated to the Java Virtual Machine.
java -jar -Xms32m -Xmx128m [installation folder]/FreePDFReader.jar
| Privacy | Legal | Feedback | Newsletter | © 2002-2010 Gnostice Information Technologies Private Limited. All rights reserved. |
This site is best viewed on a screen with minimum resolution of 1152 x 864 pixels. Windows users are advised to use Microsoft ClearType Tuning for optimal experience. Linux and other users can enable font smoothing, as supported by their OS. Also, please use the latest version of a standards-compliant browser such as Opera, FireFox, Chrome or Safari.