On Monday, March 5, 2012 8:52:18 AM UTC-8, John H Palmieri wrote: > > > > On Monday, March 5, 2012 8:40:48 AM UTC-8, Jim wrote: >> >> I am running Sage 4.8 on Mac OS X 10.6.8. >> >> I have been using Safari as my default browser, but I am getting >> discouraged because Safari crashes frequently. >> >> All of my bookmarks and ways of browsing the web are in Safari, so I want >> to keep Safari as my default browser, >> but I am switching to Firefox when using Sage. >> >> According to the Sage document >> http://www.sagemath.org/doc/reference/sagenb/notebook/notebook_object.html >> I can override the default browser by putting export >> SAGE_BROWSER="firefox" >> > > When I do this and then start the notebook, I see > > .../local/bin/sage-native-execute: line 8: firefox: command not found > > This works for me: > > export SAGE_BROWSER='open -a /Applications/Firefox.app' > > (Change this to the path to the firefox app, if necessary.) The > documentation apparently needs to be fixed, at least as far as OS X is > concerned. >
Oh, a few more things, in case people are reading this who aren't that familiar with the Terminal app and bash: you can give the command export SAGE_BROWSER='open -a /Applications/Firefox.app' at the shell prompt and it will have immediate effect, so you can test it right away. Second, if you instead change .bashrc, you should start a new terminal window for the changes to take effect. You can test whether it has done anything by typing 'export' and seeing if SAGE_BROWSER is listed with the appropriate setting. -- John -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
