browse by category or date

I like Foxit Reader very much. It’s fast, small and give you pretty much everything you need for a PDF Reader. Although they have the Linux version, I don’t really like it because I don’t seem to be able to automatically open a PDF file with a single click from Nautilus (although I already set ReaderLinux as the default Application).

Before we proceed, I am assuming you already have Wine up & running, and have installed the Windows version of Foxit Reader. What we need to do next is to associate the PDF file to Foxit Reader through Wine in Nautilus (or other File Manager that you have). If you have not install Wine, you could read the tutorial HERE.

After you have Wine up and running, download the Windows version of Foxit Reader HERE. Install it using the default settings.

First save the following script as in your home directory

# Purpose: To convert Linux-style filename to Windows-style to pass as an argument
# to wine when starting Foxit Reader
#assuming you use the default installation folder for Foxit in Wine
App='eval wine "C:\Program Files\Foxit Software\Foxit Reader\Foxit Reader.exe" "'$Filename'"'

Use as the Default Application for PDF File (select any PDF file in Nautilus, Right-Click -> Properties -> Open With -> Click [+ Add] Button -> Browse for located in your home folder.

Voila! Foxit Reader is now the default application for your PDF documents.

(Disclaimer: This post was based on 64-bit Ubuntu Gutsy Gibbon and Foxit Reader 2.1 Build 2023)


GD Star Rating
a WordPress rating system
Foxit Reader on Ubuntu Linux (through Wine), 4.3 out of 5 based on 3 ratings

About Hardono

Hi, I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

51 comments so far

Add Your Comment
  1. Hi Hardono,

    Your script works well on my Fedora14 x86_64,

    A question here:
    When I already open one pdf file using Foxit, can I open another by “double click” ?
    (It seems cant work like this, I get a pop-up window showing “Setup.exe Could not open file. File not found”.)

    ( somethings need to say : The way in which I “wine” the foxit is a little strange. It do not need to click several “next step” to install, I have never saw “next step” when “wine”ing Foxit )

  2. Your script works well under Arch Linux x64 🙂 Cheers for sharing!

  3. I use that script:
    for arg
    wine “/home/…/.wine/drive_c/Program Files/Foxit (…)/Foxit Reader.exe” ${ROOT_DRIVE}$(echo $arg | sed ‘s////g’)

    and placed it in ~/bin and added the bin folder to PATH via:
    # set PATH so it includes user’s private bin if it exists
    if [ -d ~/bin ] ; then

    If you use GNOME/KDE then place the last code sample into ~/.gnomerc (~/.kderc) otherwise ~/.xsessionrc is a good place.

  4. I am also using Foxit Reader to open file PDF, it is easy to use. Thanks for guiding the way to associate the PDF file to Foxit Reader through Wine in Nautilus.