Grub Customizer 不会更改图像背景

Grub Customizer 不会更改图像背景

我使用最新版本的 Grub Customizer (3.0.2) 和 Ubuntu 12.04。外观设置我更改了背景图像和字体,但是一旦我重新启动系统,它们就不会出现;始终有默认的 Ubuntu 背景图像,并且字体似乎有点改变,但不像预期的那样。

我尝试按照此处所述调整图像大小并裁剪图像:为什么我看不到使用 GRUB Customizer 更改的图像?但无论如何它都不起作用。

/etc/default/grub

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="0"
#GRUB_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE="640x480x15"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

export GRUB_MENU_PICTURE="/home/attilio/Immagini/grub/1366.jpg"
export GRUB_COLOR_NORMAL="white/black"
export GRUB_COLOR_HIGHLIGHT="light-cyan/black"
GRUB_FONT="/boot/grub/unicode.pf2"

提前非常感谢您。

答案1

我已解决将图像从 jpeg 转换为 png 的问题;)

答案2

我遇到了这个问题,并找到了一些建议,使用较低分辨率的图像。这立刻就奏效了。启动时我的屏幕分辨率是 1920 x 1080,但该尺寸会使默认的紫色背景保持打开状态,没有图像。使用 Grub Customizer GUI(始终),我加载了低得多的分辨率,并且它加载了!我的 1920 x 1080 是高清尺寸之一,所以我查找了下一个最低的高清尺寸(1280 x 720),并且此尺寸的 GRUB 图像加载,几乎全屏,一切正常。我使用的是 HP Pavilion 22xi IPS 显示器和华硕 AMD 主板 M4A785-M,不确定视频卡到底是什么,低功耗 DVI-D 之类的东西......我猜启动后启动分辨率低于完整的 1920 x 1080?

相关内容