You've probably done what I did, set Gnome default browser to Firefox, set KDE default browser to Firefox and still, when you click on a link and Epiphany or Google Chrome comes up showing your page...
To check what "system default" is type:
$ xdg-mime query default text/html
google-chrome.desktop
then to change it, create firefox37.desktop in /usr/local/share/applications:
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=/usr/firefox37/firefox %U
GenericName[en_US]=
GenericName=
Icon=/usr/firefox37/icons/mozicon128.png
MimeType=text/html
Name[en_US]=Firefox 3.7
Name=Firefox 3.7
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Mimetype
should be set to what you intend to use it for...and set it:
$ xdg-mime default firefox37.desktop text/html
$ xdg-mime query default text/html
firefox37.desktop
happy browsing...
Struggled with this one quite a bit, but finally Notes is complying! Great post.
ReplyDeleteThanks - yet another annoying issue with Notes poor integration with the linux desktop :-(. Thanks for the fix
ReplyDeleteThank you thank you thank you!
ReplyDeleteOut of curiosity, is this really a Notes<->Linux integration problem, or a Gnome integration problem? Why does xdg-mime return chrome as the default even if one has set Firefox as the default browser in the "Preferred Applications" control panel?
I successfully switched from chrome to firefox, now whatever I do it doesn't switch back to chrome!!
ReplyDelete$xdg-mime default chromimum-browser.desktop text/html
$xdg-mime query default text/html
chromimum-browser.desktop
Even with above settings lotus notes always opens URLs in Firefox only. Anyone know how to change it back to chrome? Please let me know.
NB, Notes like the system's default browser more than the user's default browser, silly notes.
ReplyDeletehttp://ubuntuforums.org/showthread.php?p=11626516
In ArchLinux I had to modify default url-handlers for http and https using gconf-editor.
ReplyDeleteSteps:
Open gconf-editor
Go to /desktop/gnome/url-handlers/http
Change "command" from "epiphany %s" to "firefox %s"
Repeat with /desktop/gnome/url-handlers/https