[sylpheed:37106] Re: open attach

Ingo Strauch <[email protected]> Tue, 24 May 2022 15:41:28 +0200
Newsgroups gmane.mail.sylpheed.general
Message-ID <[email protected]>
Hi Richard!

I have a setup with a ".mailcap" file in my home directory (opensuse
LEAP 15.3) and that works. Looking a the source code of sylpheed (file
procmime.c) it should merge the entries if both files are present.

> it should use "mirage" as mentionned in /etc/mailcap:
> 
> image/jpeg; mirage %s; test=test -n "$DISPLAY"
> image/jpg; mirage %s; test=test -n "$DISPLAY"
> 
> Anyone a hint to tell Sylpheed to use program x or y?

Comparing what works for me with your example I could imagine one of
these things to try/check

- use the full path to mirage
- try without the "test"
- check if it works with a "~/.mailcap" file

I doubt it's one of the last two but just in case...

Hope that helps,
Ingo

-- 
"What're quantum mechanics?"
"I don't know. People who repair quantums I suppose."
                                     --Rincewind, Terry Pratchett "Eric"
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQTeyBsSlXNr53qZwz+AnIwsdy5moQUCYozgiAAKCRCAnIwsdy5m
ofSZAJ9sK7CEVIO04KPV15Yaq+YSO+lOZACgrmvTG90YTA1v64VX9QMzLBvED68=
=fPSf
-----END PGP SIGNATURE-----