Open help files with external viewer

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
whatbug
Level 3
Level 3
Posts: 67
Joined: Sun Mar 14, 2010 4:49 am

Open help files with external viewer

Post by whatbug »

Hi guys,

When a wine-program opens a helpfile, wine automatically launches an internal viewer. However, not all chm-files are correctly displayed this way. I installed xCHM in ubuntu and enjoy correctly displayed help-files now. Unfortunately wine is always using its own viewer. Is there a way to tell wine to use this external application instead? Pressing the F1-button in a program running inside wine always brings up the wine-helpfile-viewer.

Thanks in advance for help.
whatbug
Level 3
Level 3
Posts: 67
Joined: Sun Mar 14, 2010 4:49 am

Re: Open help files with external viewer

Post by whatbug »

Nobody?
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Open help files with external viewer

Post by doh123 »

you could try associating chm files in Wine with winebrowser.exe... it should try to pass the file on to whatever your default program associated with chm files is in your OS.
whatbug
Level 3
Level 3
Posts: 67
Joined: Sun Mar 14, 2010 4:49 am

Re: Open help files with external viewer

Post by whatbug »

Winebrowser seems to be a firefox inside wine. I'm afraid with opening a chm-file in there, the association is only valid for firefox then.

How about replacing hh.exe with a symlink somehow? Would it work? I mean, it's an .exe-file.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Open help files with external viewer

Post by doh123 »

whatbug wrote:Winebrowser seems to be a firefox inside wine. I'm afraid with opening a chm-file in there, the association is only valid for firefox then.

How about replacing hh.exe with a symlink somehow? Would it work? I mean, it's an .exe-file.
I don't know how it works for you... but any file I pass to winebrowser.exe opens in my default program set for it... at least on OS X. if I pass a pdf file, it opens in Preview... if I pass a .txt file, it opens in TextEdit... etc... I think it was originally designed to pass URLs to a browser, but can do more. I've never tried it on Linux though, but I think it works the same way.

Even this says it can open a file in KWrite...

http://wiki.winehq.org/winebrowser
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Open help files with external viewer

Post by dimesio »

http://wiki.winehq.org/FAQ#head-bc5b677 ... 1b2341cb98

If help files aren't being correctly displayed in Wine's viewer in the current development release, you should file a bug.
Locked