A ja stosuje dosyć prosty motyw konsolowy który jakoś mi się nie nudzi
Tylko czasem mam kłopoty przy instalacji w/w tzn. mając trzy systemy linux uaktualniając Grub-a
komenda przeważnie odnosi się do obecnego systemu ...ale czasem to nie działa po np. użyciu programu boot-repair w innym systemie. Tak więc muszę w danym systemie zainstalować ponownie grub-a na głównym dysku sda
może inny sposób / komenda będzie poprawniejsza ... sudo
update-initramfs ?
Potem dodaję plik o nazwie np.
06_mint_theme lub
06_ubuntu_theme i wpisem do ścieżki:
wpis:
Kod: Zaznacz cały
#!/bin/sh
set -e
. /usr/lib/grub/grub-mkconfig_lib
set_mono_theme()
{
cat << EOF
set menu_color_highlight=yellow/dark-gray
set menu_color_normal=black/light-gray
set color_normal=cyan/black
EOF
}
# check for usable backgrounds
use_bg=false
#if [ "$GRUB_TERMINAL_OUTPUT" = "gfxterm" ] ; then
# for i in {/boot/grub,/usr/share/images/desktop-base}/linuxmint.{png,tga} ; 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 /boot/grub/${reader}.mod ; then
# echo "Found Debian background: `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=white/black
# set color_highlight=white/light-gray
#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
Na koniec uaktualniamy grub
inne kolory konsolowe:
http://wiki.rosalab.ru/en/index.php/Gru ... rs_console
oczywiście kolory zmieniamy w linijkach kodu:
set menu_color_highlight=
yellow/dark-gray
set menu_color_normal=
black/light-gray
set color_normal=
cyan/black