• Unable to create io-slave. klauncher said: Unknown protocol 'mailto'.

    From Grimble@2:250/1 to All on Thu Feb 16 12:17:27 2023
    I get this error when clicking on e.g. a "contact us" button in Google
    Chrome, expecting an email screen. Google shows it's a persistent
    problem, and a solution seems to involve adding a Mimetype statement
    such as
    MimeType=application/x-xdg-protocol-mailto;x-scheme-handler/mailto
    to ~/.local/share/applications/thunderbird.desktop
    However, this doesn't work for me. Any suggestions?
    Thanks,
    --
    Grimble
    Machine 'Haydn' running Plasma 5.20.4 on 5.15.88-desktop-1.mga8 kernel.
    Mageia release 8 (Official) for x86_64

    --- MBSE BBS v1.0.8.2 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Thu Feb 16 17:11:38 2023
    Subject: Re: Unable to create io-slave. klauncher said: Unknown protocol
    'mailto'.

    On Thu, 16 Feb 2023 07:17:27 -0500, Grimble <grimble@nomail.afraid.org> wrote:

    I get this error when clicking on e.g. a "contact us" button in Google Chrome, expecting an email screen. Google shows it's a persistent
    problem, and a solution seems to involve adding a Mimetype statement
    such as
    MimeType=application/x-xdg-protocol-mailto;x-scheme-handler/mailto
    to ~/.local/share/applications/thunderbird.desktop
    However, this doesn't work for me. Any suggestions?
    Thanks,

    See "man xdg-settings" which shows how to set the mailto value as one of the examples.

    Regards, Dave Hodgins

    --- MBSE BBS v1.0.8.2 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Grimble@2:250/1 to All on Sat Feb 18 15:39:59 2023
    Subject: Re: Unable to create io-slave. klauncher said: Unknown protocol
    'mailto'.

    On 16/02/2023 17:11, David W. Hodgins wrote:
    On Thu, 16 Feb 2023 07:17:27 -0500, Grimble <grimble@nomail.afraid.org> wrote:

    I get this error when clicking on e.g. a "contact us" button in Google
    Chrome, expecting an email screen. Google shows it's a persistent
    problem, and a solution seems to involve adding a Mimetype statement
    such as
    MimeType=application/x-xdg-protocol-mailto;x-scheme-handler/mailto
    to ~/.local/share/applications/thunderbird.desktop
    However, this doesn't work for me. Any suggestions?
    Thanks,

    See "man xdg-settings" which shows how to set the mailto value as one of
    the
    examples.

    Regards, Dave Hodgins
    Thanks for the pointer Dave, but further help needed.
    $xdg-settings --list
    Known properties:
    default-url-scheme-handler Default handler for URL scheme
    default-web-browser Default web browser
    So, nothing for mail.

    $ xdg-settings set default-url-scheme-handler mailto Thunderbird.desktop [graeme@haydn Scripts]$ echo $?
    4
    Action failed, but why?

    Thunderbird.desktop exists in ~/.local/share/applications/
    Thunderbird is the default Email Client in System Settings/Applications/
    Also ~/.local/share/applications/mimeapps.list contains
    [Default Applications]
    x-scheme-handler/mailto=Thunderbird.desktop
    which I created after searching around.
    --
    Grimble
    Machine 'Haydn' running Plasma 5.20.4 on 5.15.88-desktop-1.mga8 kernel.
    Mageia release 8 (Official) for x86_64


    --- MBSE BBS v1.0.8.2 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Sat Feb 18 22:45:10 2023
    Subject: Re: Unable to create io-slave. klauncher said: Unknown protocol
    'mailto'.

    On Sat, 18 Feb 2023 10:39:59 -0500, Grimble <grimble@nomail.afraid.org> wrote:
    Thanks for the pointer Dave, but further help needed.
    $xdg-settings --list
    Known properties:
    default-url-scheme-handler Default handler for URL scheme
    default-web-browser Default web browser
    So, nothing for mail.

    $ xdg-settings set default-url-scheme-handler mailto Thunderbird.desktop [graeme@haydn Scripts]$ echo $?
    4
    Action failed, but why?

    Not sure why it's failing.

    Thunderbird.desktop exists in ~/.local/share/applications/
    Thunderbird is the default Email Client in System Settings/Applications/
    Also ~/.local/share/applications/mimeapps.list contains
    [Default Applications]
    x-scheme-handler/mailto=Thunderbird.desktop
    which I created after searching around.

    Might be easier to just edit ~/.config/mimeapps.list directly.

    [dave@x3 ~]$ grep -e '^\[' -e mailto ~/.config/mimeapps.list
    [Added Associations] x-scheme-handler/mailto=kde4-kmailservice.desktop;exo-mail-reader.desktop;thunderbird.desktop;
    [Default Applications]
    x-scheme-handler/mailto=thunderbird.desktop
    [dave@x3 ~]$ xdg-settings check default-url-scheme-handler mailto thunderbird.desktop
    yes

    Note the x-scheme-handler line is all one line, not two if the mail reader wraps it.

    Regards, Dave Hodgins

    --- MBSE BBS v1.0.8.2 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)