[opensuse-factory] /etc/mailcap still needed?
Hi, I got a bug report about xine in /etc/mailcap (842938). IMO it's wrong to have things like xine or realplay(!) hardcoded in there. Maybe we should ship that file empty or not at all anymore. Any opinions? cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 17.10.2013 09:03, schrieb Ludwig Nussel:
Hi,
I got a bug report about xine in /etc/mailcap (842938). IMO it's wrong to have things like xine or realplay(!) hardcoded in there. Maybe we should ship that file empty or not at all anymore. Any opinions?
I haven't checked for a while but I'm pretty sure that mailcap is still the lowest fallback for Firefox and Thunderbird to check for external helper applications for example. So I would keep it available for users to modify it but probably strip obsolete/legacy stuff out of it. Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, 17 Oct 2013 09:06, Wolfgang Rosenauer <wolfgang@...> wrote:
Am 17.10.2013 09:03, schrieb Ludwig Nussel:
Hi,
I got a bug report about xine in /etc/mailcap (842938). IMO it's wrong to have things like xine or realplay(!) hardcoded in there. Maybe we should ship that file empty or not at all anymore. Any opinions?
I haven't checked for a while but I'm pretty sure that mailcap is still the lowest fallback for Firefox and Thunderbird to check for external helper applications for example. So I would keep it available for users to modify it but probably strip obsolete/legacy stuff out of it.
Wolfgang
+1 Other Mail-apps (e.g. alpine, mutt) and Browsers (esp. lynx, w3m) also use it for fall-back and/or system-wide defaults. IMHO, a clean-up, a few '#' (remarked) examples would be the way to go. Maybe use generic tools e.g. /usr/bin/xdg-open to handle most of it. - Yamaban. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Oct 17, 2013 at 09:03:07AM +0200, Ludwig Nussel wrote:
Hi,
I got a bug report about xine in /etc/mailcap (842938). IMO it's wrong to have things like xine or realplay(!) hardcoded in there. Maybe we should ship that file empty or not at all anymore. Any opinions?
Hi, Can't be /etc/mailcap generated from /usr/share/applications/? It'd be easier than patching old good nix apps to support .desktop files and we can have mailcap consistent with system settings. The uber cool thing would be to sync ~/.local/applications to ~/.mailcap. The same might be for /etc/mime.types, which seems to be generatable from /usr/share/mime. Why this did not appear before hackweek? Regards Michal Vyskocil
Michal Vyskocil wrote:
On Thu, Oct 17, 2013 at 09:03:07AM +0200, Ludwig Nussel wrote:
I got a bug report about xine in /etc/mailcap (842938). IMO it's wrong to have things like xine or realplay(!) hardcoded in there. Maybe we should ship that file empty or not at all anymore. Any opinions?
Can't be /etc/mailcap generated from /usr/share/applications/? It'd be easier than patching old good nix apps to support .desktop files and we can have mailcap consistent with system settings. The uber cool thing would be to sync ~/.local/applications to ~/.mailcap.
Looks like /usr/bin/suse-update-mime-defaults does something very similar to that. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Ludwig Nussel <ludwig.nussel@suse.de> [2013-10-17 13:39]:
Michal Vyskocil wrote:
On Thu, Oct 17, 2013 at 09:03:07AM +0200, Ludwig Nussel wrote:
I got a bug report about xine in /etc/mailcap (842938). IMO it's wrong to have things like xine or realplay(!) hardcoded in there. Maybe we should ship that file empty or not at all anymore. Any opinions?
Can't be /etc/mailcap generated from /usr/share/applications/? It'd be easier than patching old good nix apps to support .desktop files and we can have mailcap consistent with system settings. The uber cool thing would be to sync ~/.local/applications to ~/.mailcap.
Looks like /usr/bin/suse-update-mime-defaults does something very similar to that.
Similar may be, but there are two important differences, handlers are desktop-specific and the Exec key as described in the desktop entry spec supports a number of filed codes that do not have equivalents in the mailcap format. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Guido Berhoerster
-
Ludwig Nussel
-
Michal Vyskocil
-
Wolfgang Rosenauer
-
Yamaban