[Bug 778350] New: grub2 text difficult to read
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c0
Summary: grub2 text difficult to read
Classification: openSUSE
Product: openSUSE 12.2
Version: Final
Platform: Other
OS/Version: openSUSE 12.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Bootloader
AssignedTo: jsrain@suse.com
ReportedBy: alinm.elena@gmail.com
QAContact: jsrain@suse.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML,
like Gecko) Chrome/22.0.1226.0 Safari/537.4 SUSE/22.0.1226.0
Hi,
when grub2 is used with the opensuse branding, the console that appears after a
boot option was selected uses a gray shade for font which on the green
background of the theme is unreadable...
* if things go as expected there is not too much to worry about...
Unfortunately is an error appears makes reading the message difficult.
* if one tries to edit the boot parameters of the selected option the opened
console has the same issue... gray shadow on green, close to impossible to
read.
for the second issue a possible solution (found by Ilmentar on irc) is the
branding package for grub2 to provide a file like.
[alin@abbaton:~]: cat /etc/grub.d/42_openSUSE
#!/bin/sh
cat <
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c1
Stanley Miller
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c2
--- Comment #2 from Alin M Elena
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c3
--- Comment #3 from Stanley Miller
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c4
--- Comment #4 from Alin M Elena
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c
Jiri Srain
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c5
--- Comment #5 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c6
--- Comment #6 from Alin M Elena
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c7
--- Comment #7 from Michael Chang
Dear Michael?
did you try to rebuild the cfg file after adding the 42_custom file? works perfectly for me.
I've tried. By adding that line to /boot/grub2/custom.cfg simply works. :) I remembered tried that set color_normal= when investigating this but not worked. I was adding it to /boot/grub2/grub.cfg in the very first beginning. Probably it has to be set after the theme gets loaded.
I find returning to mono... a bad idea... makes grub to look unpolished... and we had all this delay exactly for that.
The reason that GRUB_BACKGROUND gets revert is not only this. The other potential issue is that the background is not really stretched or cropped as we would expect and though hard to get consistent view on difference resolution, if you change to use other background with centered logo you may notice the difference easily. It's not easy observe by our default background (and it's not obvious too to use it to set the gfx theme's background, not mentioned in doc nor elsewhere). Thanks, Michael
Alin
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c8
--- Comment #8 from Michael Chang
The reason that GRUB_BACKGROUND gets revert is not only this.
To be clear I meant that GRUB_BACKGROUND used together with GRUB_THEME. In this case we suppose it applies to the editor window. (If GRUB_BACKGROUND alone works fine and it's supposed to apply to boot menu entirely). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c9
--- Comment #9 from Alin M Elena
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c10
--- Comment #10 from Alin M Elena
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c11
--- Comment #11 from Alin M Elena
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c12
--- Comment #12 from Alin M Elena
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c13
--- Comment #13 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c14
--- Comment #14 from Michael Chang
ii) colour for the log console... this is trickier...
This is bug and the trick could be avoided. I have a patch for it and will attach it later. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c15
--- Comment #15 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c16
--- Comment #16 from Alin M Elena
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c17
--- Comment #17 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c18
--- Comment #18 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c19
--- Comment #19 from Michael Chang
shall the theme supply an entry for color_normal, via the 42_x in my example?
Yes. But I think it should be part of -branding ..
would that also change the font for the log console (log console is also used to display error messages so it is important to be easily read)?
Yes. (but don't need the trick anymore) ;)
this shall be pushed as an update to 12.2?
If the test went positive .. why not. :) Please also try copy background.png to terminal_c.png and see any difference ? (You could on|off the GRUB_BACKGROUND at the same time to compare the result) Thanks.
Alin
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c20
Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c21
Alin M Elena
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c22
--- Comment #22 from Alin M Elena
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c23
--- Comment #23 from Alin M Elena
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c24
--- Comment #24 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c25
--- Comment #25 from Stanley Miller
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c26
--- Comment #26 from Andrey Borzenkov
I remembered tried that set color_normal= when investigating this but not worked. I was adding it to /boot/grub2/grub.cfg in the very first beginning. Probably it has to be set after the theme gets loaded.
Yes, that's a bug I mentioned - value of color_normal/color_highlight is ignored when terminal module is loaded, and default values in module are always taken. When these variables are set, it is applied to all currently loaded terminal modules, but not to any in the future again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=778350
https://bugzilla.novell.com/show_bug.cgi?id=778350#c27
Torsten Duwe
participants (1)
-
bugzilla_noreply@novell.com