[SOLVED] Falkon as system default web browser

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Falkon as system default web browser

Postby twigboy » 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
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.
Last edited by twigboy on May 8th, '21, 22:36, edited 2 times in total.
twigboy
 
Posts: 6
Joined: May 6th, '21, 06:08

Re: Falkon as system default web browser

Postby doktor5000 » May 8th, '21, 11:18

Hi there, which manual are you referring to? But in general yes, that should work.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16728
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Falkon as system default web browser

Postby twigboy » May 8th, '21, 17:23

Thanks. This manual
Screenshot_2021-05-08_11-21-46.png
Screenshot_2021-05-08_11-21-46.png (46.12 KiB) Viewed 188 times
twigboy
 
Posts: 6
Joined: May 6th, '21, 06:08

Re: Falkon as system default web browser

Postby twigboy » May 8th, '21, 18:44

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.
twigboy
 
Posts: 6
Joined: May 6th, '21, 06:08

Re: Falkon as system default web browser

Postby twigboy » May 8th, '21, 18:53

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.
twigboy
 
Posts: 6
Joined: May 6th, '21, 06:08

Re: Falkon as system default web browser

Postby isadora » May 8th, '21, 19:27

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. ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2681
Joined: Mar 25th, '11, 16:03
Location: Amsterdam, the Netherlands

Re: [SOLVED] Falkon as system default web browser

Postby twigboy » May 8th, '21, 22:44

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.
twigboy
 
Posts: 6
Joined: May 6th, '21, 06:08


Return to Advanced support

Who is online

Users browsing this forum: isadora and 1 guest