Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-18-2006, 06:44 AM   #1
LQ Newbie
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Question Using native Linux apps from within WINE

I am yet another Linux newbie...

Okay, not totally. I've used RedHat 6, Mandrake 9 and now I have Mandriva 2006. This time though, it's not just for a week before I format and go back to Windows!

In the enterprise where I work, we are using Lotus Notes as our e-mail system. I've managed to get it running very well under Wine 0.9.5, and I'm quite happy with the performance and stability and all that jazz.

My question is, can I use Linux apps to view the attachments from the mail software, or do I have to go and install all of the things like Adobe Acrobat Reader and some image viewers into Wine now?

I can't imagine installing MS Office into Wine if I already have OpenOffice.Org in native Linux.

Any advise would be very cool. I've tried the WineHQ and googled to my wit's end...
Old 01-18-2006, 08:26 AM   #2
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 363

Rep: Reputation: 33
Linux can look at any files from WINE, as WINE stores locally on ~/.wine
Old 01-19-2006, 12:15 AM   #3
LQ Newbie
Registered: Jan 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I figured that one out already, but the question is HOW?

Since WINE is a Windows Environment emulator, it means the apps think they're in Windows too. So they check the file associations in the Registry to see which app should be used to open an attachment. How do I tell WINE which app to use?

Edit the WINE registry? How do I call a Native Linux app from within WINE?
Old 01-19-2006, 01:15 AM   #4
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
I don't use an automated method... ie I save attachments or doc in wine to a common folder the then open them separately with a linux app... I know you can get linux associations to open wine apps, but I haven't tried to do t the other way to be honest...
Old 01-19-2006, 01:27 AM   #5
LQ Newbie
Registered: Jan 2006
Posts: 3

Original Poster
Rep: Reputation: 0
One important thing I left out: I'm using KDE...

Anyway, I just figured out how to do it. The answer is a script. First, modify the WINE registry...

@="C:\\windows\\command\\start.exe kdestart.exe \"%1\""

Then create a link called kdestart.exe to the following script:

i=`winepath -u "$*"`
kfmclient exec "$i"

She is wekking!


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
wine: native windows DLLs simeandrews Linux - General 11 07-03-2005 08:15 AM
SSH, forwarding native windows apps to linux. alunduil Linux - General 4 07-02-2005 01:10 PM
native dll in wine (without config-file) Nightfrost Linux - Software 3 01-04-2005 04:00 PM
wine: sharing apps between windows and linux muff Linux - Software 6 05-14-2004 06:53 AM
KDE 3.2 menu system for non native apps down? Outabux Debian 24 05-11-2004 06:18 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:27 AM.

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