Mailinglist Archive: opensuse-support (80 mails)

< Previous Next >
Re: [opensuse-support] give TW Grub-EFI menu blue background instead of black?
06.10.2018 09:35, Felix Miata пишет:
Andrei Borzenkov composed on 2018-10-06 08:14 (UTC+0300):

Felix Miata composed:

This is what I had: (menu uses <1/2 the screen)
when I filed

This is what I have now, which eventually resulted from removing grub*
and config files, then reinstalling: (menu uses most of screen)

This is what I'm trying to achieve (blue background, like Debian produces):

I tried YaST2, but it doesn't seem to have any way to affect menu colors (or
font size or overall menu size).
didn't help.

Debian has a file /etc/grub.d/05_debian_theme which undoubtedly accounts
for its
boot menu colors. I tried including it in my TW /etc/grub.d/, but it didn't
any desired effect, likely at least in part because of its many references
*grub/* where openSUSE has *grub2/*.

You expect us to hunt for this file to understand what you did?

appended/attached(?) the one from Butch
Quite different:

I didn't save any changes I tried.

Anyone know how to make my openSUSE TW Grub menu colors match Debian's, or
docs are that might explain?

As you are using text mode console, I'd say color_normal,
color_highlight, menu_color_normal, menu_color_highlight environment
variables may help. They are described in "info grub2".

Named, yes. Description of how and where to use (aka examples), not found
(normal for info files and man pages). Based on
I tried appending
to /etc/default/grub (attached?) and rebuilding /etc/grub2/grub.cfg, but it
no detectable effect on the Grub menu next boot.

Based on the Debian theme, I also tried creating /etc/grub.d/05_theme:
echo "${1}set menu_color_normal=cyan/blue"
echo "${1}set menu_color_highlight=white/blue"
It too had no detectable effect on the Grub menu next boot.

Well, I have no idea what this two-page script is supposed to do. Adding

set menu_color_normal=light-gray/blue
set menu_color_highlight=white/blue

to custom.cfg certainly works on Leap 42.3 VM.

What I, and probably many others, would like is something that provides
like info and man pages almost never have. Setting menu colors to something
other than black on white shouldn't require a course in theme programming. I'm
not a programmer.

Bonus question: What controls overall Grub menu size, whether it uses only a
small portion of the center of the screen instead of most of it? I looked in
/etc/grub.d/, /etc/default/grub and /boot/grub2/grub.cfg without spotting
anything that looked like any kind of size control.

Text mode takes whatever console size is exposed by BIOS.

Something other than UEFI BIOS/UEFI BIOS font size must be controlling whether
Grub's menu is using the whole screen or not, no?

Console size is always 80x25. Whether it takes up full screen or its
part is entirely up to BIOS (and possible video card BIOS/screen. I
suppose LCD cannot be stretched).
To unsubscribe, e-mail: opensuse-support+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-support+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups