Open in geany /usr/share/applications/mimeapps.list and append the following two lines:
Code: Select all
x-scheme-handler/http=defaultbrowser.desktop
x-scheme-handler/https=defaultbrowser.desktop
Then open /usr/share/applications/defaultbrowser.desktop in geany and change the Exec line to:
Code: Select all
Exec=/path-to/browser-exec %u
Example:
Code: Select all
Exec=/usr/local/firefox/firefox %u
Run in terminal fixmenus and restartx. Done.