Kood: Vali kõik
menu_color_normal=white/dark-gray
menu_color_highlight=yellow/black
# black teisel kohal on ikka must, kuna taustapilti pole.
# või selline variant:
menu_color_normal=black/white
menu_color_highlight=white/blueModeraator: Moderaatorid
Kood: Vali kõik
menu_color_normal=white/dark-gray
menu_color_highlight=yellow/black
# black teisel kohal on ikka must, kuna taustapilti pole.
# või selline variant:
menu_color_normal=black/white
menu_color_highlight=white/blueExperiment with GRUB Colors
When you are not sure of what colors to choose, and you would like to experiment, then you can do it from the grub command-line itself.
When the grub menu appears, press any key to stop the countdown
Press ‘C’ to get into GRUB command line, and experiment as you wish
grub> set color_highlight=red/green
grub> set color_normal=light-cyan/black
Now press “ESC”, to see the effect of your changes. If not satisfied, follow the steps once again and try different combinations.
Võta parem kolmanda lingi alt vajalik teavehannes kirjutas:See teine link on juba üsna... aegunud ega käi nähtavasti Grub2 kohta.
Sinu failikesega oli nii, et seal olnud värvid töötasid, kuid kui neid muutes ja update-grub jooksutades ning restartides oli ikka sama, mis sul seal failis algselt vaikimisi olid. Enda failis saan värve muuta ja enamasti toimib, välja arvatud need paar näidet esimeses postituses.
Pärast konsoolivariandi proovimist ei taha enam graafilist, sest tunne oli minu jaoks hoopis teine pluss silmalegi oli kuidagi meeldivam. Proovin selle esimese lingi ka siis ära.
või siis hoopis niiChange GRUB Front and Menu Colors
Now we have placed our own image in GRUB. But it will still display the menu and its entries in the default color.
The following are the 3 main GRUB color setting that you can change.
menu_color_highlight => The color of the highlighted menu entry and its background within the menu box
menu_color_normal => The color of non-selected menu entry and its background within the menu box
color_normal => The color of text and background outside the menu box
The syntax for specifying the color is as follows:
menu_color_highlight=fg-color/bg-color
The following colors are supported by grub:
black
blue
brown
cyan
dark-gray
green
light-cyan
light-blue
light-green
light-gray
light-magenta
light-red
magenta
red
white
yellow
Now to change the colors, open “/etc/grub.d/05_debian_theme” and find the following line:
if [ -z "${2}" ] && [ -z "${3}" ]; then
echo " true"
fi
and, replace them with the following:
if [ -z "${2}" ] && [ -z "${3}" ]; then
# echo " true"
echo " set color_highlight=red/green"
echo " set color_normal=light-cyan/black"
fi
Don’t change the “black” present in color_normal. If changed, the image will not be transparent in the area where the menu is displayed.
After this change, execute “update-grub”, and reboot your system. You will notice the change in the font colors displayed.
Experiment with GRUB Colors
When you are not sure of what colors to choose, and you would like to experiment, then you can do it from the grub command-line itself.
When the grub menu appears, press any key to stop the countdown
Press ‘C’ to get into GRUB command line, and experiment as you wish
grub> set color_highlight=red/green
grub> set color_normal=light-cyan/black
Now press “ESC”, to see the effect of your changes. If not satisfied, follow the steps once again and try different combinations.
Kood: Vali kõik
These below can be specified only for the foreground.
dark-gray
light-blue
light-green
light-cyan
light-red
light-magenta
yellow
white