SmolPatches / my-nixos

0 stars 0 forks source link

Add Mime Types in Home Manager #1

Open SmolPatches opened 9 months ago

SmolPatches commented 9 months ago

Configure default programs using mime types. Configure one for file manager Make desktop entries for applications in home manager. https://rycee.gitlab.io/home-manager/options.html#opt-xdg.mimeApps.defaultApplications https://unix.stackexchange.com/questions/364997/open-a-directory-in-the-default-file-manager-and-select-a-file https://www.iana.org/assignments/media-types/media-types.xhtml According to archwiki

Missing desktop entry

A desktop entry is required in order to associate an application with a MIME type. Ensure that such an entry exists and can be used to (manually) open files in the application. https://wiki.archlinux.org/title/XDG_MIME_Applications#selectdefaultapplication

SmolPatches commented 9 months ago

https://wiki.archlinux.org/title/Desktop_entries