Page 1 of 1

[SOLVED] Falkon as system default web browser

PostPosted: May 8th, '21, 05:10
by twigboy
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
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.

Re: Falkon as system default web browser

PostPosted: May 8th, '21, 11:18
by doktor5000
Hi there, which manual are you referring to? But in general yes, that should work.

Re: Falkon as system default web browser

PostPosted: May 8th, '21, 17:23
by twigboy
Thanks. This manual
Screenshot_2021-05-08_11-21-46.png
Screenshot_2021-05-08_11-21-46.png (46.12 KiB) Viewed 1606 times

Re: Falkon as system default web browser

PostPosted: May 8th, '21, 18:44
by twigboy
Checking the results, using
Code: Select all
for i in application/x-extension-html application/x-extension-shtml application/x-extension-xhtml application/xhtml+xml text/html; do
   xdg-mime query default $i
 done


produces some firefox results
Code: Select all
firefox.desktop
firefox.desktop


So, the .html, .shtml, .xhtml, .html files or links (?) would open in Firefox and not Falkon. Confirmed by opening a saved test.html file.

Re: Falkon as system default web browser

PostPosted: May 8th, '21, 18:53
by twigboy
Whoops. I remembered about the Default Applications app. I found all instances of Firefox being used and changed those to Falkon. Now the test html file opens in Falkon and the results from the above for loop code are
Code: Select all
org.kde.falkon.desktop
org.kde.falkon.desktop


I'm happy now.
Thanks.

Re: Falkon as system default web browser

PostPosted: May 8th, '21, 19:27
by isadora
Please, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead. ;)

Re: [SOLVED] Falkon as system default web browser

PostPosted: May 8th, '21, 22:44
by twigboy
Done. Thanks again. Much appreciated. I'm liking this Mageia (on a 2007 era Gateway w/ AMD Turion64X2 w/ only 2 GB shared RAM/video) as 32-bit OS. A little slower system but Falkon helps very much there, and this is now good enough for the garage/hobby workbench. I've tried the 64-bit system but this 32-bit system leaves more RAM available at startup (I did testing with same config). About 75 to 100 mb difference between the two Mageias, and less than other distributions that I liked also.