Skip to content

make gio_mime XDG-compliant #9988

@mhalano

Description

@mhalano

Summary

My idea is to add to gio_mime module support to use xdg-mime command as well, so if a system doesn't have gio available it will use xdg-mime instead.
Of course, gio should be the first choice and fallback to xdg-mime when gio isn't present.
Possible it would be necessary to change the name from gio_mime to something like just mime, but I couldn't find a module with this name, and also we could think to add other functions, like mime detection or opening a file using mime, like xdg-open or gio open.

Issue Type

Feature Idea

Component Name

gio_mime

Additional Information

Code of Conduct

  • I agree to follow the Ansible Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis issue/PR relates to a feature requestmodulemodulepluginsplugin (any type)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions