unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Felipe López" <felipe.lopez@openmailbox.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [ART] Background image for GRUB
Date: Sat, 08 Nov 2014 13:58:25 -0500	[thread overview]
Message-ID: <545E67D1.4090308@openmailbox.org> (raw)
In-Reply-To: <87tx29zsa9.fsf@gnu.org>

On 08/11/14 09:22, Ludovic Courtès wrote:
> Felipe López <felipe.lopez@openmailbox.org> skribis:
> 
>> Done. The SVG is in the repository now.
> 
> Thanks!
> 
> Commit 99ae9ce does preliminary integration.  I tested it on VMs as well
> as raw hardware, and it works well.  :-)
> 
> There are a couple of shortcomings:
> 
>   1. I didn’t know how to get the screen’s aspect ratio so that grub.cfg
>      would load the right image.  Any ideas?
> 

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. ‘set color_normal’ and similar only allow the use of color names
>      (see color.c in GRUB), so I wasn’t able to specify the right colors
>      for the menu items and border.
> 

You can use these values:

color_normal=light-gray/black
color_highlight=cyan/black

I tried them in this computer and they are pretty much the same colors I
used in the mock-up.


>      Apparently there’s a CSS-like theme format.  Would you be able to
>      come up with the right incantation?
> 

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

-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/

  reply	other threads:[~2014-11-08 18:50 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-04 21:55 [ART] Background image for GRUB Felipe López
2014-11-04 22:15 ` Eric Bavier
2014-11-04 22:25   ` Andreas Enge
2014-11-04 23:20     ` Felipe López
2014-11-04 23:17       ` Andreas Enge
2014-11-04 23:40         ` Felipe López
2014-11-04 23:10   ` Felipe López
2014-11-04 22:22 ` Bruno Félix Rezende Ribeiro
2014-11-04 23:27   ` Felipe López
2014-11-05 13:26   ` Ludovic Courtès
2014-11-05 14:09     ` Bruno Félix Rezende Ribeiro
2014-11-05 15:21       ` Omar Radwan
2014-11-05 16:33         ` Taylan Ulrich Bayırlı/Kammer
2014-11-05 18:42           ` Bruno Félix Rezende Ribeiro
2014-11-05 19:50             ` Taylan Ulrich Bayırlı/Kammer
2014-11-05 15:28       ` Felipe López
2014-11-05 20:16       ` Ludovic Courtès
2014-11-05 21:28         ` Felipe López
2014-11-05 21:39           ` Andreas Enge
2014-11-05 22:19             ` Bruno Félix Rezende Ribeiro
2014-11-06  9:42               ` Ludovic Courtès
2014-11-06 19:16                 ` Bruno Félix Rezende Ribeiro
2014-11-05 23:06             ` Andreas Enge
2014-11-05 23:49               ` Felipe López
2014-11-05 23:49               ` Felipe López
2014-11-06  2:18               ` Bruno Félix Rezende Ribeiro
2014-11-06  9:52                 ` Ludovic Courtès
2014-11-06 20:08                   ` Bruno Félix Rezende Ribeiro
2014-11-06 22:29                     ` Felipe López
2014-11-05 23:38             ` Felipe López
2014-11-06 17:05               ` Andreas Enge
2014-11-05 22:04           ` Bruno Félix Rezende Ribeiro
2014-11-06  9:16           ` Alex Sassmannshausen
2014-11-06 11:40             ` Ludovic Courtès
2014-11-06 14:13             ` Felipe López
2014-11-06  9:58           ` Ludovic Courtès
2014-11-06 16:09             ` Felipe López
2014-11-06 17:12               ` Andreas Enge
2014-11-06 17:13               ` Ludovic Courtès
2014-11-06 19:22                 ` Felipe López
2014-11-08 14:22                   ` Ludovic Courtès
2014-11-08 18:58                     ` Felipe López [this message]
2014-11-08 22:04                       ` Ludovic Courtès
2014-11-12 12:28                         ` Ludovic Courtès
2014-11-12 14:43                           ` Felipe López
2014-11-12 15:58                             ` Ludovic Courtès
2014-11-05 15:32     ` Felipe López
2014-11-05 13:55   ` Andreas Enge
2014-11-05 14:31     ` Bruno Félix Rezende Ribeiro
2014-11-05 14:57       ` Andreas Enge
2014-11-05 18:02         ` Bruno Félix Rezende Ribeiro
2014-11-05 15:36       ` Thompson, David

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545E67D1.4090308@openmailbox.org \
    --to=felipe.lopez@openmailbox.org \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).