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. |
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?
|
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 |
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 ... |
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 |
All times are GMT -5. The time now is 12:23 PM. |