Sometimes the API can change. I saw this code in the thread today:
(theme (grub-theme (resolution '(1920 . 1080))
(image (local-file
"/home/shiroikuma/0/pictures/grub/gnu-grub.png")))
Notice that it uses "image" and not "images". I don't know if that is
the fix...I am just
Hi 白い熊!
The handling of background images for GRUB got improved. Now PNG files are
supported, too.
Change your code to something like this:
(theme (grub-theme (resolution '(1920 . 1080))
(image (local-file
"/home/shiroikuma/0/pictures/grub/gnu-grub.png")))
Bye
Stefan
I'm using the code proposed in the beginning of this thread, namely:
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")
(theme (grub-theme
(inherit %default-theme)
(images (list (grub-image
(aspect-ratio 4/3) ; or 16/9, &c., to match…
(file (local-file "/home/sh
I'm not certain how to resolve the error, but that is a syntax error.
Your error message is saying "Hey pal! You code is almost working, but
you have a syntax error around your (images ...) code."
Is "images" the proper syntax?
Also, it's also very helpful when you paste your code along with
Apr 16, 2020 6:06:04 PM 白い熊 :
> Apr 14, 2020 12:19:27 ison :
>
>> I got the same error until changing to an SVG type image, then it worked.
>> I just converted from a PNG using inkscape.
>>
> Indeed, it works with SVG :@)
>
> Many thanks for pointing it out.
>
With the latest d. Guix pull I
Apr 14, 2020 12:19:27 ison :
> I got the same error until changing to an SVG type image, then it worked.
> I just converted from a PNG using inkscape.
Indeed, it works with SVG :@)
Many thanks for pointing it out.
--
Best regards / 宜しく御願い致します / S pozdravem / C уважением / Z poważaniem /
Mit fr
I got the same error until changing to an SVG type image, then it worked.
I just converted from a PNG using inkscape.
Apr 7, 2020 22:07:13 白い熊 :
> ERROR: In procedure rsvg-handle-new-from-file:
> Throw to key `rsvg-error' with args `("rsvg-handle-new-from-file" "" () ())'.
Tobias, I've inspected the error and done some digging - I've tried to
reconfigure using a PNG file just to be safe - it's all the same.
An
Apr 7, 2020 21:18:36 Tobias Geerinckx-Rice :
> OK, can you be more specific? ‘Invalid field specifier’ on its own doesn't
> tell us anything.
>
> I pasted my previous example into my own system.scm and it built fine:
>
> (operating-system
> …
> (bootloader (bootloader-configuration
> (bootloader
白い熊,
白い熊 写道:
(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"))
This unfortunately also gives me “invalid field specifier”.
OK, can you be more specific? ‘Invalid
Apr 7, 2020 19:40:56 Tobias Geerinckx-Rice :
> 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"))
T
白い熊,
白い熊 写道:
(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)
(im
Hi Guix:
I have this nice GNU hacker background that ages ago some system installed as
the GRUB background then. I'd like to use it as GRUB background in Guix System
now.
I tried to set it thus, along the lines of GRUB theming instruction in the
manual:
(grub-configuration
(theme (grub-theme
13 matches
Mail list logo