FS#23210 - [xdg-utils] please add perl-file-mimeinfo as an optdepend
Attached to Project:
Arch Linux
Opened by Ng Oon-Ee (ngoonee) - Wednesday, 09 March 2011, 16:18 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 18 June 2011, 07:16 GMT
Opened by Ng Oon-Ee (ngoonee) - Wednesday, 09 March 2011, 16:18 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 18 June 2011, 07:16 GMT
|
Details
Description:
xdg-utils is on most systems, and used by some cross-platform apps (specifically xdg-open) to decide how to handle filetypes. Most importantly (by number of users) chromium and firefox. When not running Gnome, gnome-settings-daemon, KDE, or XFCE, the xdg-open script defaults to opening BROWSER, then to firefox. This is very rarely the desired behaviour (especially when firefox is the app calling xdg-open). Rather than patching xdg-open, having an optdepends on perl-file-mimeinfo would allow proper functionality because the xdg-open script uses mimeopen when trying to use open_generic_xdg_mime(). In fact, having mimeopen explicitly called in xdg-open tends to suggest that perl-file-mimeinfo should be a depends of xdg-utils (but optdepends is fine since those users using major DEs won't ever get to that case). https://bbs.archlinux.org/viewtopic.php?pid=733572#p733572 is an example of a thread with this issue, searching for 'xdg-open firefox' finds quite a few in our bbs. |
This task depends upon
Closed by Eric Belanger (Snowman)
Saturday, 18 June 2011, 07:16 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#20741
Saturday, 18 June 2011, 07:16 GMT
Reason for closing: Duplicate
Additional comments about closing: