Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#991011: grub-customizer: Fails to change appearance

12 views
Skip to first unread message

Scorpion2185

unread,
Jul 12, 2021, 3:30:03 PM7/12/21
to
Package: grub-customizer
Version: 5.1.0-1
Severity: normal
Tags: newcomer

Dear Maintainer,

I can't change the appearance, I did some researches it seems a problem of the
app.

This guide has a solution to customize the appearance:
https://www.thegeekstuff.com/2012/10/grub-splash-image/.
"Change GRUB Splash Image, Background, Font Color" there is nothing regard the
font, (not working) option provided by grub-customizer.



-- System Information:
Debian Release: 10.10
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-0.bpo.7-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grub-customizer depends on:
ii hwinfo 21.63-3
ii libarchive13 3.3.3-4+deb10u1
ii libatkmm-1.6-1v5 2.28.0-2
ii libc6 2.28-10
ii libcairomm-1.0-1v5 1.12.2-4
ii libgcc1 1:8.3.0-6
ii libglib2.0-0 2.58.3-2+deb10u3
ii libglibmm-2.4-1v5 2.58.0-2
ii libgtk-3-0 3.24.5-1
ii libgtkmm-3.0-1v5 3.24.0-2
ii libpangomm-1.4-1v5 2.42.0-2
ii libsigc++-2.0-0v5 2.10.1-2
ii libssl1.1 1.1.1d-0+deb10u6
ii libstdc++6 8.3.0-6
ii policykit-1 0.105-25

grub-customizer recommends no packages.

grub-customizer suggests no packages.

-- no debconf information

xiao sheng wen

unread,
Jul 13, 2022, 4:20:04 AM7/13/22
to
control: tags -1 moreinfo

Hi,
  Please try new version grub-customizer 5.2.1-1,

Can the appearance change now?

Your feedback is welcome!

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991011

--
肖盛文 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

Scorpion2185

unread,
Jul 14, 2022, 11:10:03 AM7/14/22
to
Hi,

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

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).

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

Best regards

xiao sheng wen

unread,
Jul 14, 2022, 11:40:04 PM7/14/22
to
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!
OpenPGP_signature

xiao sheng wen

unread,
Jul 15, 2022, 12:50:04 AM7/15/22
to


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

Scorpion2185

unread,
Jul 16, 2022, 11:00:04 AM7/16/22
to
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

Can you make it use always the first color values?
(And eventually other values like fonts etc.).

When "else" it's triggered.
So if grub doesn't find the image at least the other changes are applied.

xiao sheng wen

unread,
Jul 16, 2022, 1:00:03 PM7/16/22
to
I think this is the upstream logical.
If no background image finded or checked, the font color will use default color.

If no background image, there is not need to tune the font color, this also meet the most situations.
OpenPGP_signature
0 new messages