From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [ART] Background image for GRUB Date: Sat, 08 Nov 2014 23:04:28 +0100 Message-ID: <87d28xwdqr.fsf@gnu.org> References: <54594B40.9040008@openmailbox.org> <545951BE.5080301@gnu.org> <87tx2d6aog.fsf@gnu.org> <545A2FAF.3030103@gnu.org> <87ppd12yjm.fsf@gnu.org> <545A9679.50503@openmailbox.org> <87ioismz01.fsf@gnu.org> <545B9D25.4030207@openmailbox.org> <87ioisgsky.fsf@gnu.org> <545BCA6F.3030907@openmailbox.org> <87tx29zsa9.fsf@gnu.org> <545E67D1.4090308@openmailbox.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]:41562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnE7Z-0004pj-IF for guix-devel@gnu.org; Sat, 08 Nov 2014 17:04:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnE7U-00050D-3y for guix-devel@gnu.org; Sat, 08 Nov 2014 17:04:37 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:50847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnE7T-000502-T3 for guix-devel@gnu.org; Sat, 08 Nov 2014 17:04:32 -0500 In-Reply-To: <545E67D1.4090308@openmailbox.org> ("Felipe \=\?utf-8\?Q\?L\=C3\=B3\?\= \=\?utf-8\?Q\?pez\=22's\?\= message of "Sat, 08 Nov 2014 13:58:25 -0500") 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: Felipe =?utf-8?Q?L=C3=B3pez?= Cc: guix-devel@gnu.org Felipe L=C3=B3pez skribis: > On 08/11/14 09:22, Ludovic Court=C3=A8s wrote: [...] >> 1. I didn=E2=80=99t know how to get the screen=E2=80=99s aspect ratio = so that grub.cfg >> would load the right image. Any ideas? >>=20 > > I thought that maybe you could access a platform-specific default > resolution from a helper script using the GRUB helper library > (grub-mkconfig) and then set the background image with an appropriate > aspect ratio. [1] But I haven't written any script for GRUB before, so I > don't know. I was looking for something like a run-time function. There=E2=80=99s =E2=80=98vbeinfo=E2=80=99, but it=E2=80=99s not really usable for that. I= =E2=80=99d need to check whether/how other distros handle it. > You can use these values: > > color_normal=3Dlight-gray/black > color_highlight=3Dcyan/black > > I tried them in this computer and they are pretty much the same colors I > used in the mock-up. Oh, right. I=E2=80=99ve just fixed that, and that=E2=80=99s good. > I'll try to provide a GRUB theme [2] when I read a bit more about how > they work. So, maybe not for Guix 0.8. Yeah, it doesn=E2=80=99t even seem necessary for this theme. Thanks, Ludo=E2=80=99.