Hi,

I recently came across home-xdg-mime-applications-service-type while
looking for a declarative way to manage mimeapps.list.

The service is available in:

(use-modules (gnu home services xdg))

and provides:

   -

   home-xdg-mime-applications-service-type
   -

   home-xdg-mime-applications-configuration
   -

   xdg-desktop-entry

I found the service quite useful, but I couldn't find much documentation or
examples explaining how to use it. In particular, it would be helpful to
have documentation covering:

   -

   setting default applications for MIME types and URI schemes;
   -

   adding and removing associations;
   -

   defining .desktop files with xdg-desktop-entry;
   -

   combining MIME associations and custom desktop entries in the same
   service.

For example, I was previously creating mimeapps.list manually with
home-xdg-configuration-files-service-type and plain-file, but the dedicated
service allows this to be expressed much more cleanly.

It would also be nice to have an up-to-date online version of the Home
Services documentation, ideally tracking current master (or at least
clearly indicating which Guix release it corresponds to). I am currently
using a recent master revision (7199c7089454b31518683fd6bc7dc002ad611a13),
so some features are easier to discover from the source than from the
online documentation.

I think adding a few examples for these services would make them much
easier to discover and use.

Thanks!

Reply via email to