LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2010, 11:56 PM   #1
ahtoot
LQ Newbie
 
Registered: Jun 2005
Posts: 22

Rep: Reputation: 1
Opening files with Wine from desktop


'm trying to get wine to open .pdf files with Foxit.

I have no problems running the following command in terminal
wine "C:\\Program Files\\Foxit Reader\\Foxit Reader.exe" file.pdf

The following is the desktop entry file for pdf files.
[Desktop Entry]
Type=Application
Name=Foxit Reader
Exec=wine "C:\\Program Files\\Foxit Reader\\Foxit Reader.exe" %F
NoDisplay=true

When I try to open pdf files from desktop, I get a dialog box about how to invoke the exe file. How do I get the exe to register the list of files properly?

Also, how would I pass command line parameters for Foxit in the desktop entry file?
 
Old 09-11-2010, 02:45 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,702

Rep: Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886Reputation: 886
Try this:
Run winecfg and set it in the Desktop Integration tab. Put parameters between the 'e' of exe and the closing "
 
Old 09-11-2010, 06:39 PM   #3
youarefunny
Member
 
Registered: Mar 2010
Distribution: Arch Linux, FreeBSD
Posts: 31

Rep: Reputation: 0
Quote:
Originally Posted by ahtoot View Post
I'm trying to get wine to open .pdf files with Foxit.
I don't know if you are aware that foxit has a native Linux version.
http://www.foxitsoftware.com/downloads/index.php
 
Old 09-13-2010, 10:11 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,871
Blog Entries: 18

Rep: Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340Reputation: 3340
Why not just use one of the many existing Linux programs, such as Okular (for KDE) or xpdf or Document Viewer (for Gnome)?

Most Linux distros comes with several PDF readers included; Okular (used to be KPDF) is my personal favorite.

I do like Foxit. If I have to read a PDF on Windows, Foxit is my first choice.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Photoshop CS2: Error when opening files (Wine 1.1.8, Ubuntu Intrepid x86_64) amphibioustoaster Linux - Software 6 09-01-2009 07:38 AM
Opening a .exe file with Wine? KaylaJo96 Linux - Newbie 7 01-22-2009 02:48 PM
Having trouble opening a disk from program running in WINE mrzack Linux - Software 2 08-08-2006 12:52 AM
Wine not opening applications. KidMW14 Linux - Newbie 4 03-12-2004 12:02 AM
Opening WINE Problems.. Shinigami Linux - Software 3 09-18-2003 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration