Re: Conditional themes?

2012-10-04 Thread Andrey Borzenkov
В Чт., 04/10/2012 в 16:09 +0200, Dr. Tilmann Bubeck пишет: > An even more general idea would be to implement a shellish backticks > operator $() and extend some commands to print out information (here > "videoinfo"), like: > > width=$(videoinfo --show-width) > if [ "${width}" -lt 800 ]; then >

RE: Conditional themes?

2012-10-04 Thread Gerard Butler
You can make your theme dynamic by using percentages in your theme.txt (so then when you change the values in grub.cfg to a different resolution the theme file will work just fine). However when grub stretches certain images it can make the appearance a bit unsightly. Over the past year of worki

Conditional themes?

2012-10-04 Thread Dr. Tilmann Bubeck
Hello GRUB, are there plans to make theming conditional, depending on screen resolution? Today you have one theme, which is used for all screen resolutions from 320x200 up to 1600x800. When using "gfxmode=auto" you do not really know, which resolution you get. The theme may look ugly or may

Does plain pc console support UNICODE?

2012-10-04 Thread Andrey Borzenkov
I have default language Russian. When testing patch I switched from gfxterm to plain console and got '' instead of grub messages. Is it supposed to work at all? If not, does it make sense to temporary reset language when we switch to terminal that is known to not support UNICODE? -andrey ___

[PATCH] do not ignore current values for {normal,highlight}_color when loading terminal output module

2012-10-04 Thread Andrey Borzenkov
Currently every loaded module starts with hardcoded default colors, ignoring current value of variables normal_color and highlight_color. This provides inconsistent experience because which color is actually used for terminal window depends in which place of grub.cfg color is set. Additionally even