From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Suggest add FAQ documents about integrating with other linux distribution. Date: Mon, 25 May 2015 16:33:03 +0200 Message-ID: <874mn03exs.fsf@gnu.org> References: <38338fb2.bfb6.14d8a5dde4c.Coremail.tumashu@163.com> 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]:54541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwtRG-0006lK-1z for guix-devel@gnu.org; Mon, 25 May 2015 10:33:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwtRC-0000dO-SP for guix-devel@gnu.org; Mon, 25 May 2015 10:33:09 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwtRC-0000dK-PM for guix-devel@gnu.org; Mon, 25 May 2015 10:33:06 -0400 In-Reply-To: <38338fb2.bfb6.14d8a5dde4c.Coremail.tumashu@163.com> (Feng Shu's message of "Mon, 25 May 2015 17:18:37 +0800 (CST)") 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: Feng Shu Cc: guix "Feng Shu" skribis: > I use guix to build my own version of emacs-snapshot and sawfish, and > find some integrate-issue, and suggest add a FAQ to deal with, > for example: > > 1. How to use fonts which is outside guix? > 2. How to use fonts config which is outside guix? > 3. How to use gtk or qt theme similar with outside guix? > 4. .... Good questions! I drafted a section on how to use Guix on another GNU/Linux distro, and these are the typical things that need to be answered in that section: http://lists.gnu.org/archive/html/guix-devel/2015-05/msg00282.html Regarding fonts, most GUIs do X11 client-side rendering and rely on Fontconfig. So to get fonts working in a GTK+ or Qt application, for instance, you need to install packages such as =E2=80=98gs-fonts=E2=80=99 a= nd =E2=80=98font-dejavu=E2=80=99; then you need to =E2=80=98guix package -i fo= ntconfig=E2=80=99 and run =E2=80=98fc-cache -f=E2=80=99 to update the font cache. I suspect this may= have the property of unregistering fonts that were installed on the host distro. Could you report about it? I don=E2=80=99t know about #3. Anyone? Thanks, Ludo=E2=80=99.