LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-21-2006, 08:37 AM   #1
dhatcher2
LQ Newbie
 
Registered: Oct 2004
Location: Ohio, USA
Posts: 17

Rep: Reputation: 0
Wine, IE6 and Adobe Acrobat


Hi all,

I am running Ubuntu 6.06 dual booted with Windows XP. I am an insurance agent by day and the site that I have to use for my livelihood is a hardcore "IE ONLY" site. Can NOT be accessed with Firefox (even with switcher agents, etc.).

I installed Wine and IE6 which gets me onto the site just fine and I can navigate around and do whatever I need to do - (claps and cheers).

But alas I digress - I can do anything EXCEPT print customer documents (proof of insurance, receipts for payments, etc). These "open in new window" in a ".asp" file format. In Windows this equates to a pop up Adobe Acrobat file that I print and hand to the client. In Linux with Wine/IE6 nothing happens at all except I get an option to "open" or "save". If I save the file and then try to open it, it just look like gibberish code. If I open it I sit and wait and wait and nothing ever happens (kinda like working in Windows 98).

Any idea where I can find a solid written procedure for integrating the Windows version of Adobe Acrobat into Wine?
 
Old 10-21-2006, 10:11 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
I am running Ubuntu 6.06 dual booted with Windows XP. I am an insurance agent by day and the site that I have to use for my livelihood is a hardcore "IE ONLY" site. Can NOT be accessed with Firefox (even with switcher agents, etc.).
Have you tried other browsers -- Konqueror, Opera etc? A site that only works on certain browser, especially IE, is pretty much the most stupid thing I've ever heard of Maybe you should ask the webmaster to do something about it..

ASP stands, if I recall right, for "active server page". No idea why Adobe opens it, or if it's something else, but what if you saved the file and opened it in Linux' Adobe Reader (or does it need the "big" Adobe Acrobat suite?)

What you want to do sounds a bit difficult, even if you could make it work with some tape-glue-cadget thing, it's irritating in the long run. I'll say this straight: don't ask to, but make the webmaster of the site understand he's a jerk and make it clear the site ought to be changed so it can be used with every platform. It shouldn't be too difficult (especially with these user-friendly software things) to make the site create the doc in a pdf or dvi format..in fact I think it's more difficult to make the doc come out in asp format than in pdf.

Internet should be something that is not restricted to platforms, operating systems or applications; instead it should just provide information in common formats that can be used anywhere. Companies working against this are working against their customers.

Is the site private or can it be accessed publicly - i.e. can somebody else than you test the site to see if it works with something else than IE?

IE is so full of holes the size of a small planet that I really wonder who would want to use it..
 
Old 10-21-2006, 10:31 AM   #3
dhatcher2
LQ Newbie
 
Registered: Oct 2004
Location: Ohio, USA
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by b0uncer
1. but what if you saved the file and opened it in Linux' Adobe Reader (or does it need the "big" Adobe Acrobat suite?)

2. Is the site private or can it be accessed publicly - i.e. can somebody else than you test the site to see if it works with something else than IE?

3. IE is so full of holes the size of a small planet that I really wonder who would want to use it..
1. If I save the file and then open it with Adobe for Linux it is just a bunch of gibberish code.

2. The site requires a log in to enter so only a licensed and appointed agent of the company can access the site.

3. Agree 100% but I have no option in the matter. I don't know why the site is IE only but they do sign my paychecks so I have to use it... lol
 
Old 10-21-2006, 03:06 PM   #4
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 32
From what I'm reading it doesn't seen that you are downloading a pdf file. But just to let you know. You can link a linux native application and ie6. For example to link kpdf with ie6 make the following registry entries
********
[HKEY_CURRENT_USER\\Software\\Classes\\.pdf]
@="AcroExch.Document"
"Content Type"="application/pdf"

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

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

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

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

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

***********
Then I use a this very bad script. Put it in your home dir.

#!/bin/bash
#file wine_read_pdf_sh.exe
cd /home/myhome
echo "***** Input String *****"
echo $1
echo "$1">pdf-file
file=$(sed -e 's@\\@/@g' -e 's@[cC]:/windows@.ies4linux/ie6/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
/usr/bin/kpdf "$file"
rm -f pdf-file
 
Old 10-21-2006, 09:06 PM   #5
darinbolson
Member
 
Registered: Jan 2006
Distribution: multi booting whatever I feel like. Grub rocks!
Posts: 85

Rep: Reputation: 15
I may be totally wrong about this, but isn't there a way in firefox or konqueror that you can fool the site into thinking you are using IE? Pretty sure I saw that somewhere.
 
Old 10-21-2006, 09:49 PM   #6
dhatcher2
LQ Newbie
 
Registered: Oct 2004
Location: Ohio, USA
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by darinbolson
I may be totally wrong about this, but isn't there a way in firefox or konqueror that you can fool the site into thinking you are using IE? Pretty sure I saw that somewhere.
User Agent Switcher works for SOME sites but not the one I have to use, it relies heavily on ActiveX controls. I have not been able to access it and actually do my work in anything but IE6 or IE7. I am making headway with IE6 and Wine except for this nasty pdf file printing/reading issue. I will try the suggestion from above though perhaps it will work.
 
Old 11-27-2006, 11:36 AM   #7
nadavvin
Member
 
Registered: May 2006
Distribution: ubuntu
Posts: 109

Rep: Reputation: 21
Hello

Can I do one solution to all file types?

which one file open all the files.

In the script which open them I want that it check which linux program open it and execute the file with it.

like:
[HKEY_CURRENT_USER\\Software\\Classes\\.*\\OpenWithList]


Does It's posisible?
 
Old 11-27-2006, 12:00 PM   #8
nadavvin
Member
 
Registered: May 2006
Distribution: ubuntu
Posts: 109

Rep: Reputation: 21
I try to set doc file with the word software but it isn't work.

I add these lines in system.reg:
Code:
[Software\\Classes\\.doc] 1164381333
@="Word.Document.8"
"Content Type"="application/msword"

[Software\\Classes\\.doc\\Word.Document.8\\ShellNew] 1164381333
"FileName"="winword8.doc"

[Software\\Classes\\.doc\\OpenWithList]
@="Z:\\media\\Data\\nadav\\wine\\drive_c\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE"

[Software\\Classes\\Word.Document.8\\DefaultIcon]

[Software\\Classes\\Word.Document.8\\\\shell\\open\\command]
@="Z:\\media\\Data\\nadav\\wine\\drive_c\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE \"%1\""
Part of them created with the installation of office.

What is the Problem?
 
Old 11-28-2006, 02:14 AM   #9
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 32
hi
something doesn't look correct with this

[Software\\Classes\\.doc\\OpenWithList]
@="Z:\\media\\Data\\nadav\\wine\\drive_c\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE"

[Software\\Classes\\Word.Document.8\\\\shell\\open\\command]
@="Z:\\media\\Data\\nadav\\wine\\drive_c\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE \"%1\""

try

[Software\\Classes\\.doc\\OpenWithList]
@="C:\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE"

[Software\\Classes\\Word.Document.8\\shell\\open\\command]
@="C\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE \"%1\""

In my case, using linux openoffice. I added to the registry
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Classes\.doc]
@="Word.Document.8"
"Content Type"="application/msword"

[HKEY_LOCAL_MACHINE\Software\Classes\.doc\Word.Document.8\ShellNew]
"FileName"="winword8.doc"

[HKEY_LOCAL_MACHINE\Software\Classes\.doc\OpenWithList]
@="H:\\wine-scripts\\ie6\\wine_read_doc_sh.exe"

[HKEY_LOCAL_MACHINE\Software\Classes\Word.Document.8\shell\open\command]
@="H:\\wine-scripts\\ie6\\wine_read_doc_sh.exe \"%1\""

and since IE will send a windows path to openoffice I made a script to give it the correct path.
#!/bin/bash
cd /home/myhomefolder
echo "***** Input String *****"
echo $1
echo "$1">doc-file
file=$(sed -e 's@\\@/@g' -e 's@[cC]:/windows@.ies4linux/ie6/drive_c/windows@g' -e 's@[a-zA-Z]:/@\ @g' doc-file)
echo "$file">doc-file
file=$(sed 's/^[ \t]*//' doc-file)
echo "***** Output String *****"
echo "$file"
/usr/bin/openoffice.org-2.0 "$file"
rm -f doc-file

To test it, I launched IE6 from a terminal,and opened a .doc file from the net. It launched openoffice and opened the .doc file. The terminal output.
***** Input String *****
C:\windows\profiles\myhomefolder\Local Settings\Temporary Internet Files\Content.IE5\OHWZYRST\This%20is%20a%20test%20doc[1].doc
***** Output String *****
.ies4linux/ie6/drive_c/windows/profiles/myhomefolder/Local Settings/Temporary Internet Files/Content.IE5/OHWZYRST/This%20is%20a%20test%20doc[1].doc

Good Luck.
 
Old 11-28-2006, 03:41 AM   #10
bobdevis
Member
 
Registered: Nov 2006
Distribution: Ubuntu 64bit
Posts: 49

Rep: Reputation: 15
This is probably not what you want to hear, but if I were you, I would just get VMWare Workstation, install a virtual Windows and browse the site like that.

Not only will it be the final solution for ALL those IE-on-Windows only sites, but you will also be to stop bloating up your system with IE/Windows/Whatever compatabillity libraries and plugins.

You will never need to boot the real windows ever again unless you want to run windows-only 3D games/software. That is the last and only disadvatange of a virtual Windows.
 
Old 11-28-2006, 03:52 AM   #11
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Have you tried using Crossover Office?

http://www.codeweavers.com/products/cxoffice/
 
Old 11-28-2006, 03:59 AM   #12
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 32
There's no need for crossoffice in this case both IE6 and winword work fine under wine. The fix is a registry entry.
 
Old 11-29-2006, 09:50 AM   #13
nadavvin
Member
 
Registered: May 2006
Distribution: ubuntu
Posts: 109

Rep: Reputation: 21
The problem is that I installed IE with ies4linux and it use in other directory for its drive c and office install in the wine drive c.

Both run and installed with the same wine and distro.
 
Old 11-29-2006, 01:36 PM   #14
nadavvin
Member
 
Registered: May 2006
Distribution: ubuntu
Posts: 109

Rep: Reputation: 21
This is the problem:
Code:
$ ls .wine/
dosdevices  drive_c  system.reg  system.reg~  userdef.reg  user.reg
nadav@nadav-desktop:~$ ls .ies4linux/
bin  downloads  ie5  ie55  ie6  ies4linux.svg
nadav@nadav-desktop:~$ ls .ies4linux/ie6
dosdevices  drive_c  system.reg  userdef.reg  user.reg
 
Old 11-29-2006, 02:07 PM   #15
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 32
Well, you have a few options.

You can install office to the .ies4linux.

You can delete/rename .wine and then move/copy .ies4linux/ie6 to .wine. Then reinstall office as you did before.

or you can leave .wine an .ies4linux as they exist, and use the method I used to open open office, with the registry entries and script, but in your case you would open the .doc files using the script with
wine "C:\Program Files\Microsoft Office\Office\WINWORD.EXE" "$file"
 
  


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
Adobe Acrobat Pro Wine Installation AceTech Linux - Software 1 08-21-2006 07:21 AM
how to install adobe acrobat eaglesfan17 Linux - Software 9 09-28-2004 04:20 PM
Adobe acrobat and printing js72 Linux - Software 1 02-17-2003 07:02 PM
Adobe Acrobat again... markelliott101 Linux - General 9 12-05-2002 05:25 AM
Adobe Acrobat piranha Linux - General 1 01-16-2002 08:22 AM

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

All times are GMT -5. The time now is 01:38 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