Bug#991011: v5.2.1-1 fixes the bug

2022-07-14 Thread 肖盛文




Some enhancements could be done:

If you put an image in `/boot/grub` the settings, e.g. the normal 
font color, will be reset to default (and the background will be the 
image).

I'd do the test in my notebook.
When I put an image and font settings, the font setting is also not to 
become affect,

but the display color of the font is take affcet.

The /boot/grub/grub.cfg updated like this:

if background_image /atzlinux/IMG_2021.jpg; then
  set color_normal=green/black
  set color_highlight=red/light-cyan
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi

O, I test again, the font setting is take affect.

atzlinux@debian:/boot/grub$ file unicode.pf2
unicode.pf2: GRUB2 font "MingLiU Regular 28"

From info grub:

7.2.2 Fonts
---

The fonts GRUB uses "PFF2 font format" bitmap fonts.  Fonts are
specified with full font names.

so select the  bitmap fonts in grub-customizer is OK.

Regards.

xiao sheng wen



OpenPGP_signature
Description: OpenPGP digital signature


Bug#991011: v5.2.1-1 fixes the bug

2022-07-14 Thread 肖盛文

Hi,

    Thanks for your reply.


在 2022/7/14 22:57, Scorpion2185 写道:

Hi,

I try it on my VM with sid, it is working now.

Ok, this bug may close.


Some enhancements could be done:

If you put an image in `/boot/grub` the settings, e.g. the normal font 
color, will be reset to default (and the background will be the image).

I'd do the test in my notebook.
When I put an image and font settings, the font setting is also not to 
become affect,

but the display color of the font is take affcet.

The /boot/grub/grub.cfg updated like this:

if background_image /atzlinux/IMG_2021.jpg; then
  set color_normal=green/black
  set color_highlight=red/light-cyan
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi




If grub-customizer doesn't found the image, e.g. you put it on LUKS 
partitions, all the settings will be reset to default.

Is grub support LUKS partitions now?
grub is a bootloader, it's start before kernel, LUKS is supported after 
kernel load.


Best regards


Thanks!

--
肖盛文 xiao sheng wen
https://www.atzlinux.com  《铜豌豆 Linux》基于 Debian 的 Linux 中文 桌面 操作系统
Debian QA page:https://qa.debian.org/developer.php?login=atzlinux%40sina.com
Debian salsa:https://salsa.debian.org/atzlinux-guest
GnuPG Public Key: 0x00186602339240CB



OpenPGP_signature
Description: OpenPGP digital signature