Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Making Unity open HTML files & URLs with a native Linux browser. #17

Closed
Pendrokar opened this issue Jul 22, 2014 · 3 comments
Closed

Making Unity open HTML files & URLs with a native Linux browser. #17

Pendrokar opened this issue Jul 22, 2014 · 3 comments

Comments

@Pendrokar
Copy link
Contributor

This tutorial is not enough - http://www.webupd8.org/2010/03/how-to-make-wine-open-links-in-your.html

This is probably due to installing IE8 which changes keys in the registry.

After doing the steps described in the above tutorial on keys "htmlfile", "http" and "https" you also will need to delete or rename the "ddeexec" keys found under keys "open"/"opennew", otherwise Wine throws an error without launching your browser.

@Pendrokar
Copy link
Contributor Author

Doing 'wineboot' the equivalent of Windows rebooting is not required. Whatever changes you do with regedit are instantly recognized by other Wine applications even ones already running.

I guess a script can be made for this...

@Pendrokar
Copy link
Contributor Author

Done... didn't find a way of renaming keys instead of deleting, so backup your registry files for your wineprefix. They are beside "drive_c".

https://github.com/Unity3D-Wine-Support/Unity3D-on-Wine/blob/master/nativebrowsers.reg

Ways to import:

  • Open regedit with 'wine regedit' with the appropriate WINEPREFIX and then use Registry -> Import Registry File.
  • Or do 'wine regedit ~/Downloads/nativebrowsers.reg' with the appropriate WINEPREFIX

Note this does not affect the Asset Store, which uses its own browser.

Pendrokar referenced this issue Jul 23, 2014
…ult browsers with which to open HTML files and URLs, uses Wine's 'winebrowser' command
@jurf
Copy link
Contributor

jurf commented Jul 25, 2014

Little note here: to avoid multiple files while installing Unity (such as .reg files), reg.exe can be used.

For exampler wine reg add. I've used it in both PoL and Winetricks installation scripts.

Documentation: http://technet.microsoft.com/en-us/library/cc742162.aspx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants