* Re: [sisyphus] grub2-pc & text mode
2013-02-08 9:52 ` Michael Shigorin
@ 2013-02-08 10:36 ` Андрей Черепанов
2013-02-08 10:58 ` REAL
2013-02-08 14:10 ` REAL
2 siblings, 0 replies; 9+ messages in thread
From: Андрей Черепанов @ 2013-02-08 10:36 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
08.02.2013 13:52, Michael Shigorin пишет:
> On Fri, Feb 08, 2013 at 09:33:22AM +0600, REAL wrote:
>> После (поза?)вчерашнего обновления неактивные пункты меню GRUB
>> стали чёрными, что на чёрном фоне приводит к полной нечитаемости.
>> Виден только выделенный пункт.
>
> Наверное, это всё-таки про grub2-2.00-alt11, где был принят патч на
> тему #28218; у меня он ничего не сломал (в тексте), так что
> рассказывай подробнее и как вариант -- попробуй взять
> /etc/grub.d/05_altlinux_theme из alt10 и запустить
> grub-autoupdate.
>
> Результаты лучше тоже в bugzilla (вместе с /etc/sysconfig/grub2 и
> /boot/grub/grub.cfg) -- если исправится, то ещё и регрессия, если
> нет, то всё равно баг.
>
> 2 cas: это часом было сделано не ради светлых gfxboot-ных
> брендингов вроде simply?
Нет. Это было сделано, чтобы _консоль_ grub показывалась в цвете
отличном от чёрно-белого.
- --
Андрей Черепанов
ALT Linux
cas@altlinux.ru
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
iEYEARECAAYFAlEU1TkACgkQSGPA9Knr8TGwYwCfXEGauKDDyC6g9O9Ryk5bEorS
pbMAoKKbJ1jLoiAUeu/LZOla1I16j0LI
=Uktc
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] grub2-pc & text mode
2013-02-08 9:52 ` Michael Shigorin
2013-02-08 10:36 ` Андрей Черепанов
@ 2013-02-08 10:58 ` REAL
2013-02-08 10:04 ` Aleksey Novodvorsky
2013-02-08 10:48 ` Michael Shigorin
2013-02-08 14:10 ` REAL
2 siblings, 2 replies; 9+ messages in thread
From: REAL @ 2013-02-08 10:58 UTC (permalink / raw)
To: shigorin, ALT Linux Sisyphus discussions
08.02.2013 15:52, Michael Shigorin пишет:
> Наверное, это всё-таки про grub2-2.00-alt11, где был принят
> патч на тему #28218; у меня он ничего не сломал (в тексте),
> так что рассказывай подробнее и как вариант -- попробуй
> взять /etc/grub.d/05_altlinux_theme из alt10 и запустить
> grub-autoupdate.
Где ж его взять? У меня архива нет.
> Результаты лучше тоже в bugzilla (вместе с /etc/sysconfig/grub2
> и /boot/grub/grub.cfg) -- если исправится, то ещё и регрессия,
> если нет, то всё равно баг.
В багзиллу не хочу :) , хотелось бы без бюрократизма, тем более что не
сильно и анноит.
> 2 cas: это часом было сделано не ради светлых gfxboot-ных
> брендингов вроде simply?
А причём тут gfx, если речь про console?
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] grub2-pc & text mode
2013-02-08 10:58 ` REAL
@ 2013-02-08 10:04 ` Aleksey Novodvorsky
2013-02-08 10:48 ` Michael Shigorin
1 sibling, 0 replies; 9+ messages in thread
From: Aleksey Novodvorsky @ 2013-02-08 10:04 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions; +Cc: shigorin
8 февраля 2013 г., 14:58 пользователь REAL <real@kemsu.ru> написал:
> 08.02.2013 15:52, Michael Shigorin пишет:
>
>> Наверное, это всё-таки про grub2-2.00-alt11, где был принят
>> патч на тему #28218; у меня он ничего не сломал (в тексте),
>> так что рассказывай подробнее и как вариант -- попробуй
>> взять /etc/grub.d/05_altlinux_theme из alt10 и запустить
>> grub-autoupdate.
>
>
> Где ж его взять? У меня архива нет.
Он есть на f.a.o.
Rgrds, Алексей
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] grub2-pc & text mode
2013-02-08 10:58 ` REAL
2013-02-08 10:04 ` Aleksey Novodvorsky
@ 2013-02-08 10:48 ` Michael Shigorin
1 sibling, 0 replies; 9+ messages in thread
From: Michael Shigorin @ 2013-02-08 10:48 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]
On Fri, Feb 08, 2013 at 04:58:13PM +0600, REAL wrote:
> >попробуй взять /etc/grub.d/05_altlinux_theme из alt10
> >и запустить grub-autoupdate.
> Где ж его взять? У меня архива нет.
Виноват, alt10 и в архив не собирался (хотя в alt9 этот файл
такой же). Приложил для x86_64, на i586 поправь libdir.
http://www.altlinux.org/Sisyphus_archive
> >Результаты лучше тоже в bugzilla (вместе с
> >/etc/sysconfig/grub2 и /boot/grub/grub.cfg) -- если
> >исправится, то ещё и регрессия, если нет, то всё равно баг.
> В багзиллу не хочу :) , хотелось бы без бюрократизма, тем более
> что не сильно и анноит.
Дело не в бюрократизме, а в том, что нужны дополнительные данные
(т.к. сходу у меня не вылезло) и в почте они легче теряются.
> >2 cas: это часом было сделано не ради светлых gfxboot-ных
> >брендингов вроде simply?
> А причём тут gfx, если речь про console?
Консоль обычно тёмная, сплэши бывают светлыми; соответственно
можно что-то исправить там и сломать сям. Повторюсь, я-то
проверяю в консоли как раз в основном и ничего не сломалось.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: 05_altlinux_theme --]
[-- Type: text/plain, Size: 1280 bytes --]
#! /bin/sh -e
prefix=/usr
exec_prefix=/usr
bindir=/usr/bin
libdir=/usr/lib64
datadir=/usr/share
. ${datadir}/grub/grub-mkconfig_lib
set_mono_theme()
{
cat << EOF
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
EOF
}
# check for usable backgrounds
use_bg=false
if [ "$GRUB_TERMINAL_OUTPUT" = "gfxterm" ] && [ "x$GRUB_WALLPAPER" != "x" ]; then
for i in ${datadir}/grub/`basename $GRUB_WALLPAPER` $GRUB_WALLPAPER ; do
if is_path_readable_by_grub $i ; then
bg=$i
case ${bg} in
*.png) reader=png ;;
*.tga) reader=tga ;;
*.jpg|*.jpeg) reader=jpeg ;;
esac
if test -e ${libdir}/grub/i386-pc/${reader}.mod ; then
echo "Found background image: `basename ${bg}`" >&2
use_bg=true
break
fi
fi
done
fi
# set the background if possible
if ${use_bg} ; then
prepare_grub_to_access_device `${grub_probe} --target=device ${bg}`
cat << EOF
insmod ${reader}
if background_image `make_system_path_relative_to_its_root ${bg}` ; then
set color_normal=$GRUB_COLOR_NORMAL
set color_highlight=$GRUB_COLOR_HIGHLIGHT
else
EOF
fi
# otherwise, set a monochromatic theme for Ubuntu
if ${use_bg} ; then
set_mono_theme | sed -e "s/^/ /g"
echo "fi"
else
set_mono_theme
fi
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [sisyphus] grub2-pc & text mode
2013-02-08 9:52 ` Michael Shigorin
2013-02-08 10:36 ` Андрей Черепанов
2013-02-08 10:58 ` REAL
@ 2013-02-08 14:10 ` REAL
2013-02-08 15:08 ` Michael Shigorin
2 siblings, 1 reply; 9+ messages in thread
From: REAL @ 2013-02-08 14:10 UTC (permalink / raw)
To: shigorin, ALT Linux Sisyphus discussions
08.02.2013 15:52, Michael Shigorin пишет:
> On Fri, Feb 08, 2013 at 09:33:22AM +0600, REAL wrote:
>> После (поза?)вчерашнего обновления неактивные пункты меню GRUB
>> стали чёрными, что на чёрном фоне приводит к полной
>> нечитаемости. Виден только выделенный пункт.
>
> Результаты лучше тоже в bugzilla (вместе с /etc/sysconfig/grub2
> и /boot/grub/grub.cfg) -- если исправится, то ещё и регрессия,
> если нет, то всё равно баг.
нашёл. в /etc/sysconfig/grub2 было:
GRUB_COLOR_NORMAL="black/black"
откуда оно там, понятия не имею, я с этими настройками вообще не игрался.
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] 9+ messages in thread