Talk:Default applications

From ArchWiki
Jump to: navigation, search

Wildcards in mailcap

[Moved from Talk:XDG MIME Applications#Wildcards in mailcap. --Larivact (talk) 11:48, 24 April 2018 (UTC)]

Seems the ~/.mailcap example is wrong. According to mailcap(4), wildcards are only supported for the subtype, not for (main) type.


*/*; xdg-open "%s"

might be wrong, while e.g.

application/*; xdg-open "%s"

is correct (but of course does not cover all types). At least alpineAUR interprets mailcap that way. Checked it in the source of alpineAUR, took me 2 hours to figure this out.

Hitn (talk) 13:36, 22 April 2017 (UTC)

Spent a while on this and finally realized that mutt does ignores a */* entry as well. Djmoch (talk)

Resolved it.--Larivact (talk) 12:29, 24 April 2018 (UTC)

Ambiguity about compatibility with the Shared MIME database specification

Which programs are compatible with the Shared MIME database specification? I assume that all of them are, but it isn't clear.

--James Ray (talk) 06:39, 4 May 2018 (UTC)

Do you mean what programs register their MIME types according to the Shared MIME database specification? I'd say most but not all. You can check using pacman -Ql pkg | grep mime.--Larivact (talk) 06:52, 4 May 2018 (UTC)
OK, thanks, that's what I meant. I wanted to know because of cross-platform compatibility, or at least across Linux distros. --James Ray (talk) 07:12, 4 May 2018 (UTC)