Re: [PATCH 2/2] profiles: Add xdg-mime-database hook.

2016-02-02 Thread Ludovic Courtès
iyzs...@member.fsf.org (宋文武) skribis: > The xdg-desktop-database hook rebuilds the 'mimeinfo.cache' database > from desktop files of applications, which then is used to decide the > "Default Application" (in thunar, nautilus, etc.) for a MIME type. > > The xdg-mime-database hook rebuilds the

Re: [PATCH 2/2] profiles: Add xdg-mime-database hook.

2016-02-02 Thread Ludovic Courtès
宋文武 skribis: > * guix/profiles (xdg-mime-database): New function. > (%default-profile-hooks): Add it. [...] > + (update-mime-database (string-append > + #+shared-mime-info > +

[PATCH 2/2] profiles: Add xdg-mime-database hook.

2016-01-31 Thread 宋文武
* guix/profiles (xdg-mime-database): New function. (%default-profile-hooks): Add it. --- guix/profiles.scm | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/guix/profiles.scm b/guix/profiles.scm index 38e2730..84bcbd2 100644 ---

Re: [PATCH 2/2] profiles: Add xdg-mime-database hook.

2016-01-31 Thread 宋文武
The xdg-desktop-database hook rebuilds the 'mimeinfo.cache' database from desktop files of applications, which then is used to decide the "Default Application" (in thunar, nautilus, etc.) for a MIME type. The xdg-mime-database hook rebuilds the 'mime.cache' database, it's the shared mime-info