[SOLVED] Falkon as system default web browser
Posted: May 8th, '21, 05:10
I recently installed Falkon, so my old machine can take advantage of the smaller footprint than Firefox. It is not fully the system's default web browser. For instance, the manual still opens in Firefox. I managed to get it to be the default browser for the "Web Browser" menu item by editing the Launcher object in the xfce4-panel. I found this mention https://wiki.mageia.org/en/User:Doktor5 ... me_handler and was about to run it with an exchange of "google-chrome.desktop" with "falkon.desktop" such as
Will this do the trick?
Thanks.
- Code: Select all
browser="falkon.desktop"
xdg-settings set default-web-browser $browser
xdg-settings set default-url-scheme-handler http $browser
xdg-settings set default-url-scheme-handler https $browser
xdg-mime default $browser x-scheme-handler/http
xdg-mime default $browser x-scheme-handler/https
xdg-mime default $browser x-scheme-handler/about
for i in application/x-extension-html application/x-extension-shtml application/x-extension-xhtml application/xhtml+xml text/html; do
xdg-mime default $browser $i
done
Will this do the trick?
Thanks.