unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: help-guix@gnu.org
Subject: Re: GRUB theming - background
Date: Tue, 07 Apr 2020 19:39:40 +0200	[thread overview]
Message-ID: <87imibp551.fsf@nckx> (raw)
In-Reply-To: <45d15522-a4e8-4d20-8cb7-5d33687a413b@localhost>

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

白い熊,

白い熊 写道:
> (background_image 
> '("/home/shiroikuma/0/pictures/grub/gnu-grub.jpg")))))

The ‘invalid field specifier’ is ‘background_image’, which isn't 
part of the (undocumented) grub-theme record.

Try something roughly like (unfortunately untested):

(grub-theme
 (inherit %default-theme)
 (images
  (list (grub-image
         (aspect-ratio 4/3) ; or 16/9, &c., to match…
         (file (local-file
                "/home/shiroikuma/0/pictures/grub/gnu-grub.jpg"))))))

‘local-file’ takes care of creating an immutable copy of 
gnu-grub.jpg in the store, where it can be seen and safely used by 
the sandboxed build environment.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2020-04-07 17:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-07 16:48 GRUB theming - background 白い熊
2020-04-07 17:39 ` Tobias Geerinckx-Rice [this message]
2020-04-07 17:58   ` 白い熊
2020-04-07 19:18     ` Tobias Geerinckx-Rice
2020-04-07 20:06       ` 白い熊
2020-04-09 15:08         ` 白い熊
2020-04-14 10:18           ` ison
2020-04-16 16:06             ` 白い熊
2020-09-12 14:53               ` 白い熊
2020-09-14 21:27                 ` Joshua Branson
2020-09-15  5:39                   ` 白い熊
2020-09-15 17:07                     ` Joshua Branson
  -- strict thread matches above, loose matches on Subject: below --
2020-09-15  6:13 Stefan

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=87imibp551.fsf@nckx \
    --to=me@tobias.gr \
    --cc=help-guix@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.
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).