Determining default browser on Linux
Posted: Tue Jun 06, 2017 10:08 am
By chance, noticed that Slimjet (maybe Chromium too?) uses the 'xdg-settings' command to determine if Slimjet is the default browser.
This is a hideously clunky script which, on my desktop system, takes about 0.8 seconds to execute. Maybe not much, but presumably stops Slimjet loading further until it finishes. Short of 'fronting' xdg-settings with a faster script, could Slimjet have an option not to bother looking to see if it is the default browser? Does it really need to know?
This is a hideously clunky script which, on my desktop system, takes about 0.8 seconds to execute. Maybe not much, but presumably stops Slimjet loading further until it finishes. Short of 'fronting' xdg-settings with a faster script, could Slimjet have an option not to bother looking to see if it is the default browser? Does it really need to know?
