在 2022/7/16 22:52, Scorpion2185 写道:
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.
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.
-- 肖盛文 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