LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2007, 06:48 AM   #1
ada892
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
help for wine


I installed wine by rpm successfully.

But there are errors when I try to run *.exe.

wine C:\\Program\ Files\\Adobe\\Acrobat6.0\\Reader\\AcroRd32.exe


wine: creating configuration directory '/home/ada/.wine'...
6556: assertion failed "(*(const char*)_DBUS_FUNCTION_NAME) != '_'" file "dbus-connection.c" line 2877 function _dbus_connection_read_write_dispatch
Failed to open the service control manager.

I don't know how to solve this.

Thanks very much for any help.
 
Old 03-08-2007, 01:46 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Is it with all .exe files you're trying, or just some of them? Does, for example, a regular Windows notepad.exe work (not the one that comes with Wine, but one you've copied from a Windows install)? You should know that not (nearly) every Windows program works with Wine, quite a many of them simply cause an error and don't run. Wine's website at winehq.org should give more information about that matter. And have you tried changing the Windows version to emulate for that specific .exe file, by running winecfg?
 
Old 03-08-2007, 01:55 PM   #3
budword
Member
 
Registered: Apr 2003
Location: Wisconsin
Distribution: Switched to regualr Ubuntu, because I don't like KDE4, at all. Looks like vista on crack.....
Posts: 675

Rep: Reputation: 31
I'm afraid I'm not a wine guru, but have you tried any linux native pdf viewers ? What distro are you using ? There might be an easier way to get the job done, unless you MUST run the windows version.

Let us know what distro you are using, and maybe there is a pain free way to do it.

David
 
Old 03-09-2007, 09:04 PM   #4
ada892
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Original Poster
Rep: Reputation: 0
It is with all the *.exe files. I got the same error when I tried to run winecfg.

I am sorry that I forgot to tell you the environment. It is FC5 + wine-0.9.30-1.

I have to use some of the .exe , so I have to ...
 
Old 03-09-2007, 10:08 PM   #5
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 32
You can use the linux version of acrobat or any pdf reader version you want. I use evince with FF win32.
1. First save the registry entries into a file pdf.reg
2. regedit pdf.reg
3. Save the script file as wine_read_pdf_sh.exe to your home folder. Make sure it is executable.
4. Next time you open the browser it will prompt you to use your desired pdf application and launch it.

If you want this for ies4linux see this
http://www.tatanka.com.br/ies4linux/...pic.php?t=1027

**************
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Classes\.pdf]
@="AcroExch.Document"
"Content Type"="application/pdf"

[HKEY_LOCAL_MACHINE\Software\Classes\.pdf\OpenWithList]
@="H:\\wine_read_pdf_sh.exe"

[HKEY_LOCAL_MACHINE\Software\Classes\.pdf\OpenWithList\AcroRd32.exe]

[HKEY_LOCAL_MACHINE\Software\Classes\AcroExch.Document]
@="URL:Acrobat Protocol"
"URL Protocol"=""

[HKEY_LOCAL_MACHINE\Software\Classes\AcroExch.Document\DefaultIcon]

[HKEY_LOCAL_MACHINE\Software\Classes\AcroExch.Document\shell\open\command]
@="h:\\wine_read_pdf_sh.exe \"%1\""

*******************
#!/bin/bash
#file name:wine_read_pdf_sh.exe
#place it in the home folder
cd $HOME
echo "***** Input String *****"
echo $1
echo "$1">pdf-file
file=$(sed -e 's@\\@/@g' -e 's@[cC]:/windows@.wine/drive_c/windows@g' -e 's@[a-zA-Z]:/@\ @g' pdf-file)
echo "$file">pdf-file
file=$(sed 's/^[ \t]*//' pdf-file)
echo "***** Output String *****"
echo "$file"
# I use evince but you can use whatever you want (acrobat)
/usr/bin/evince "$file"
rm -f pdf-file
 
  


Reply



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
Trouble running wine from src wine:error while loading shared libraries: libwine.so.1 brynjarh Linux - Newbie 2 05-28-2013 10:59 AM
Wine: How do I input into a running Wine Program with Cyrillic Characters? Riddick Linux - Software 3 08-16-2009 11:58 AM
A wine question: Theming wine or changing wine's colour scheme PatrickMay16 General 8 12-17-2006 06:53 AM
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 07:53 AM
wine: chdir to /tmp/.wine-tom/server-306-33fca : No such file or directory Kinstonian Linux - Software 19 06-21-2003 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:43 PM.

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
Open Source Consulting | Domain Registration