How to set browser?

edited October 2014 in How To...

Firefox is convinced it's the default browser on my machine (which is running Ubuntu 13.10/LXDE) and Preferred Applications agrees, but when I do a Find in Reference or run a JS-mode sketch, Processing insists on opening Chrome instead (which says it can't tell what the default browser is).

I can't seem to find a setting for this within Processing, or any reference to one, but I'm obviously missing something. Does anyone know what?

Tagged:

Answers

  • Go to internet settings in control panel and change. Or go to chrome, tools, internet options, then select the set as default browser or something similar. Hope it helps.

  • Answer ✓

    do you have xdg-open? try running xdg-open on an html file and see what it does.

    processing version?

    i'm on 1.5.1 and have a ~/.processing/preferences.txt file which mentions xdg-open as the linux.launcher. i think later versions move this preferences file. either way, the default seems to be to use xdg-open. this should use the system default browser.

  • edited October 2014 Answer ✓

    If you can't tame "xdg-open", simply choose another 1 as launcher= within "preferences.txt"!

    • launcher=firefox
    • launcher=chromium-browser
    • launcher=/usr/share/iron/iron
    • launcher=opera
    • launcher=firefox
    • launcher=midori
    • launcher=qupzilla

    Warning: changing launcher=xdg-open to something else will make Processing open everything w/ that specified program! :-&

  • launcher=firefox works for me! Thanks a lot. xdg-open does seem to open things in Firefox, so I don't know why Processing wasn't respecting that. Oh well!

  • Yeah, glad I could help.

Sign In or Register to comment.