On Sun, 2025-04-13 at 05:36 +0930, Tim via users wrote:
> Tim:
> > > Wouldn't this be a Thunderbird setting?  For what to do with links
> > > clicked on in one of its email?
> 
> Samuel Sieb:
> > Thunderbird should be using the system settings.
> 
> I don't have a current version of Thunderbird to try right now, but I
> seem recall it had a "what do you want to do?" kind of thing that had
> some internal choices before handing it over.
> 
> Various mail programs had options for you for clicking on links within
> the program:  Open in this browser, open in that browser, directly save
> a file, and use system default was one of the choices.

The "canonical" way is to use xdg-settings, e.g.:

$ xdg-settings --list
Known properties:
  default-url-scheme-handler    Default handler for URL scheme
  default-web-browser           Default web browser
$ xdg-settings get default-web-browser
preferred-web-browser.desktop
$ locate preferred-web-browser.desktop
/home/poc/.local/share/applications/preferred-web-browser.desktop
$ cat /home/poc/.local/share/applications/preferred-web-browser.desktop

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Firefox Web Browser
etc. etc.

See 'xdg-settings help' for more options.

Note that you probably need to set both default-web-browser and
default-url-scheme-handler. You probably have to log out and in again
to have this take effect, but I don't remember.

poc
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to