Closed Rikj000 closed 5 months ago
I'm guessing the issue is more KDE related :thinking:
Since today the default Web Browser got reset back to ungoogled-chromium-bin
again..
Even though ungoogled-chromium-bin
has not / did not receive an update
since I've opened this issue / applied above described possible solutions.
Is this Plasma 6 specific perhaps? ah I only now saw the version
hm not sure if i can do anything here
Closing this issue since I'm rather certain that it's KDE related by now.
I have this issue, and I'm not using KDE. It seems to reset itself to the default browser on startup.
Issue Description
Since a recent update
ungoogle-chromium-bin
started setting itself as the default browser after each update (on KDE Plasma).It quickly gets very annoying to always go to: Settings => Applications => Default Applications => Toggle Web browser back to what was manually configured before the update.
I already reported this here: https://aur.archlinux.org/packages/ungoogled-chromium-bin#comment-959023
Possible solutions
I did some digging and can present x3 possible solutions,
but I still have to monitor if they will stick after next update.
1. Disable policy
DefaultBrowserSettingEnabled
By disabling the
DefaultBrowserSettingEnabled
policy,we should be able to stop Chromium from ever attempting to set itself as default.
Sources:
Policy Description: Setting the policy to True has Google Chrome always check whether it's the default browser on startup and,
if possible, automatically register itself.
Setting the policy to False stops Google Chrome from ever checking if it's the default and turns user controls off for this option.
2. Set
--no-default-browser-check
runtime flagBy setting the
--no-default-browser-check
runtime flag,we should be able to stop Chromium from prompting to be set as the default browser
Runtime Flag Description: Disable the default browser check, do not prompt to set it as such
Sources:
chromium.desktop
file:Exec
line and save:3. Set
default_browser_infobar_last_declined
to a high valueBy altering
default_browser_infobar_last_declined
to a high value,we should hopefully be able to stop Chromium from ever asking to be set as default.
Sources:
Preferences
filedefault_browser_infobar_last_declined
value to99999999999999999
and saveEnvironment