After instlling Google Chrome My RSS Owl is using Chrome as external browser while my system default browser is Firefox & in RSS owl Preferences standard external browser in Firefox
in "/usr/lib/rssowl/RSSOwl.ini" i have :
I have RSS Owl 2.2.0 on Ubuntu 13.04
What is the problem?
switch is for the internal browser, not the external one.
Is there any chance some software may have overridden /usr/bin/firefox?
"/usr/bin/firefox" opens firefox correctly!
How rssowl calls system browser?
I checked "gnome-open" & "xdg-open" but both of them are openning Firefox!
Is RSSOwl reading some settings from somewhere to find browser?
Can you please open RSSOwl -> Edit -> Preferences -> Browser
1) is RSSOwl configured to use the system default browser?
2) which browser is displayed in brackets in the option to use the system default browser?
The code for opening the browser can be found here: https://github.com/rssowl/RSSOwl/blob/master/org.rssowl.ui/src/org/rssowl/ui/internal/util/BrowserUtils.java#L143
RSSOwl uses Program.launch from org.rssowl.swt API which relies on libgnome and libgnomevfs(from Gnome2) for running the system default browser.
Thanks for attention
1) Yes it is
2) [Mozilla Firefox] (see attachment)
Note: selecting third option (Manual external browser) opens firefox correctly! but i want to use intrnal browser and open forefox when I click "Open in external browser"
I tried SWT's "Program.launch" in a standalone test java file to check that, is it the problem or not (With the same SWT library that RSSOwl is using); & strangly it returns false and executes nothing!!
So it seems "useDefaultBrowser" is using "openWebBrowser" and not "Program.launch" !
And more strange thing is "openWebBrowser" is using "Runtime.getRuntime().exec" to run "netscape" or "mozilla" commands while both of them are invaid in my system (I have neither of them & mozilla is not associated with firefox)
So How the hell it finds Chrome ?!
Which Desktop environment are you using?
Do gvfs-open and gnome-open start the same browser?
Is there any association in ~/.local/share/applications/mimetype.list to chrome?
Are the GConf keys
set correctly (check with gconftool or gconf-editor) ?
Since SWT relies on GTK2 this may be an issue with some gnome 2 preferences.
I'm using Unity (Ubuntu 13.04 - Gnome based).
yes both start firefox.
No; (the file doesn't exists)
Seems GConf is the problem!
/desktop/gnome/applications/browser/exec is [firefox]
are "sensible-browser %s" that opens Chrome!
changing them fixed the problem.
Thank you very much.
You could change the url-handlers in GConf to xdg-open or gnome-open so they will always be updated when you change something.