When I open the blender help at the top menu, blender opens up the wrong internet browser and locks up. Is there a way I can tell blender to open up a different browser? I looked through the menus and could not find anything. Thanks.
blender uses the webbrowser python module to start your web browser
http://python.org/doc/2.3.5/lib/module-webbrowser.html
it ought to use your default browser
here is the code from one of the scripts [I probably ought to include the license, but this is only 4 lines]
import Blender, webbrowser
version = str(Blender.Get('version'))
webbrowser.open('http://www.blender3d.org/Help/?pg=GettingStarted&ver=' + version)
It tries to open up galeon but crashes and I dont use that. I use opera and mozilla or firefox. I have never had galeon set as my default browser, kinda weird?
Anyway, what do I have to do to get blender to use Opera? I dont know anything about python. I found the script but it is missing the middle line version = str(Blender.Get(‘version’))
What part of the script do I edit to enable blender to use a different browser?
Thanks.
if you can find webbrowser.py in your python lib folder you can edit the following line there [I guess]
# X browsers have more in the way of options
if os.environ.get("DISPLAY"):
_tryorder = ["galeon", "skipstone", "mozilla", "netscape",
"kfm", "grail"] + _tryorder
… in my python version it is line 278
changing this would have a better effect than editing each individual script with each blender release
I could’ve sworn linux had some kind of default browser it would try… I guess not
Thanks, That did it. I substituted galeon with opera. Thanks again.