Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
Re: [opensuse] Where is default browser set?
L A Walsh composed on 2017-06-13 12:34 (UTC-0700):

Let me rephrase a previous Q --
.
When some program tries to show a URL, it invokes
your "default browser". How does it know what your
default browser is and where is that set?
.
Is it a symlink somewhere in your home directory,
or a text file with the browser name in it? Or what?
.
IMO, looks like, unless you are using Plasma, in which case Knurpht already
answered for it specifically, a good starting point is here:
https://wiki.archlinux.org/index.php/Default_applications
which indicates WRT XDG compliant DEs/WMs:

~/.config/mimeapps.list is for user overrides
/etc/xdg/mimeapps.list is for global overrides
/usr/share/applications/mimeapps.list is for distro defaults

e.g., for Chrome web browser to override de/distro/global HTML file default of
Firefox:

file:
~/.local/share/applications/mimeapps.list
content:
[Default Applications]
text/html=google-chrome.desktop
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References