From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 2/2] profiles: Add xdg-mime-database hook. Date: Tue, 02 Feb 2016 14:11:46 +0100 Message-ID: <87k2mngstp.fsf@gnu.org> References: <1454241798-14243-1-git-send-email-iyzsong@gmail.com> <1454241798-14243-2-git-send-email-iyzsong@gmail.com> <87fuxe53pj.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQalB-0007Ps-7a for guix-devel@gnu.org; Tue, 02 Feb 2016 08:13:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQakG-0008Ue-Bf for guix-devel@gnu.org; Tue, 02 Feb 2016 08:12:45 -0500 In-Reply-To: <87fuxe53pj.fsf@member.fsf.org> (=?utf-8?B?IuWui+aWh+atpiIn?= =?utf-8?B?cw==?= message of "Sun, 31 Jan 2016 20:32:56 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) 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 'mime.cache' database, > it's the shared mime-info database used to decide the MIME type for > files. OK, thanks for explaining. Could you put it as comments in the source? Ludo=E2=80=99.