From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SQDuj-0003EQ-0i for garchives@archives.gentoo.org; Fri, 04 May 2012 08:30:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2364EE080A; Fri, 4 May 2012 08:30:43 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 9E95FE07AD for ; Fri, 4 May 2012 08:29:08 +0000 (UTC) Received: by yhjj72 with SMTP id j72so3136044yhj.40 for ; Fri, 04 May 2012 01:29:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Frs2KricFQ+4ypAUMRF2TZzlwRQBiaFHX1D1/rmFpT8=; b=0w3T61IQz/nUf4rmqkQxLV+PZKUL0jiDvQVqRVbP2SZMO3PmcNwB2jsTSK0S1APivY FlkPYDHM4Uu2uFP5aRRfqQOtPa4F3oogoe9Jv1WLzH0bvz1Ihfd+Gd+rFwQvat76p8no oqsBrn6ORdSdzV9UmUrfrSIs/zFWBx/T727OqPSEmlnzMUdsPGYfShO2uqBS/lN2u/No tHPjIJq2Z1ckJBTTjkbo9WCcTDsfQy128mg7SvVtFryR7VhU5XunsHNyquiPzlke9IjN mdTZo6kWWKjuDI/nm8D/dzGftypXBMmSkDA0IZQ5of3OhegWNyKl2z4AjaogjqPL0ImV b/eQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.236.76.35 with SMTP id a23mr6655264yhe.125.1336120148101; Fri, 04 May 2012 01:29:08 -0700 (PDT) Received: by 10.100.93.11 with HTTP; Fri, 4 May 2012 01:29:08 -0700 (PDT) In-Reply-To: <1336119093.14058.1@numa-i> References: <1336119093.14058.1@numa-i> Date: Fri, 4 May 2012 03:29:08 -0500 Message-ID: Subject: Re: [gentoo-user] Gnome mimeinfo cache From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 457a19b8-f671-4ffe-a385-e1cc5cee45a5 X-Archives-Hash: 4993af9a05d1616a8fb0378d6f306592 On Fri, May 4, 2012 at 3:11 AM, Helmut Jarausch wrote: > Hi, > > I don't know Gnome but I use some applications, like the mail-client/bals= a. > It opens suitable applications for given mime types (in attachments). > The application invoked is read from =C2=A0/usr/share/applications/mimein= fo.cache > . > Unfortunately, that file is rebuild after each emerge of a related packag= e. > E.g., having reinstalled media-gfx/gimp it places gimp at the front of th= e > list of > packages suitable for viewing a postscript file. > Currently I am only able to modify /usr/share/applications/mimeinfo.cache= by > changing > the order of coresponding applications. > > Is there a more elegant (persistent) way? Edit $HOME/.local/share/applications/mimeinfo.cache? It takes precedence over the system one. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico