From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?RmVsaXBlIEzDs3Bleg==?= Subject: Re: [ART] Background image for GRUB Date: Sat, 08 Nov 2014 13:58:25 -0500 Message-ID: <545E67D1.4090308@openmailbox.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> 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]:44995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnB5n-00059w-Rs for guix-devel@gnu.org; Sat, 08 Nov 2014 13:50:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnB5j-0003KN-Lp for guix-devel@gnu.org; Sat, 08 Nov 2014 13:50:35 -0500 In-Reply-To: <87tx29zsa9.fsf@gnu.org> 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?THVkb3ZpYyBDb3VydMOocw==?= Cc: guix-devel@gnu.org On 08/11/14 09:22, Ludovic Court=C3=A8s wrote: > Felipe L=C3=B3pez skribis: >=20 >> Done. The SVG is in the repository now. >=20 > Thanks! >=20 > Commit 99ae9ce does preliminary integration. I tested it on VMs as wel= l > as raw hardware, and it works well. :-) >=20 > There are a couple of shortcomings: >=20 > 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. > 2. =E2=80=98set color_normal=E2=80=99 and similar only allow the use = of color names > (see color.c in GRUB), so I wasn=E2=80=99t able to specify the rig= ht colors > for the menu items and border. >=20 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. > Apparently there=E2=80=99s a CSS-like theme format. Would you be = able to > come up with the right incantation? >=20 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. [1] https://www.gnu.org/software/grub/manual/grub.html#gfxmode [2] https://www.gnu.org/software/grub/manual/grub.html#Theme-file-format --=20 Luis Felipe L=C3=B3pez Acevedo http://sirgazil.bitbucket.org/