Nice discovery Cavsfan! I have tried the three color menu and it works beautifully. Thanks.
A glitch: Remember I have created 'submenus'? Well, the three color menu scheme does not apply correctly to sub-menus on my system.
I have the following in 01_theme (I am testing this on Arch Linux):
However, when it enter a 'submenu' theme colors are as following:Code:set color_normal=light-red/black set menu_color_normal=light-gray/black set menu_color_highlight=light-red/black
EDIT:Code:set color_normal=light-red/black set color_highlight=dark-gray/light-gray
Screenshot1 (showing the three color menu).
Screenshot2 (shows the glitch in submenu).
(My apologies for the bad picture quality but I hope you'll see what I am saying).
If I use the older two-color menu theme, the setting is applied uniformly to both menu and submenus, but NOT when three color scheme is applied.
Can you confirm this and offer a solution or a workaround?
Regards...
Last edited by fantab; October 17th, 2014 at 04:50 AM.
I mentioned that I do not support the submenu concept. I would go with the 2 color theme if that is what works.
Feel free to figure out a solution on your own as submenus are not a part of this custom grub wiki.
Sorry, but adding submenus defeats the purpose of keeping the custom grub menu simple.
Regards
EDIT: You could look at the files in /etc/grub.d/ and see if one of them sets any additional font colors.
For example in Linux Mint there is a file /etc/grub.d/06_mint_theme that controls these font colors:
If that file is executable and you have the 3 colors setup in /etc/grub.d/05_debian_theme, the menu colors in will overwritten by the colors that are defined in /etc/grub.d/06_mint_theme.menu_color_normal
menu_color_highlight
I'm not familiar with Arch Linux but it may be similar to Linux Mint.
Last edited by Cavsfan; October 17th, 2014 at 03:41 PM.
You may have misinterpreted my intentions. My wiki is not about having submenus but your not about to spoil it.
That is what is great about Ubuntu. Everyone can modify or adjust anything they want in Ubuntu.
You can take my idea or someone else's idea and modify it to suit your needs. It's all free here.
I did however provide some help in the Edit I posted. Did you find any additional grub files that could be setting that caused the third color to be wrong?
You did sayBut as I've stated I don't work with submenus and cannot possibly over any solution or workaround for your problem. That was the gist of my point.Can you confirm this and offer a solution or a workaround?
You can enter this in terminal to produce the output of grub as it is produced by the command sudo update-grub.
That will produce a listing in terminal. If that listing is too long in order to be able to scroll back to the beginning you can have the output be in text format so you can view it later.Code:sudo grub-mkconfig
This will put a text file, the name is of your choosing in your home directory of the output of the command:
That may help point you in the direction of where that color is being set.Code:sudo grub-mkconfig > textfile-name
I finished updating the Community Wiki with several things I've wanted to add and some I've wanted to remove.
I also added Utopic Unicorn 14.10 and the ability to add custom lines to boot Utopic with Upstart (default) and Systemd.
(If you encounter any problems booting with systemd and need to file a bug report be sure to add tag systemd-boot to the bug).
If I've made any errors point them out and I will fix them.
It took me a long time, several days to figure out how to get Utopic Mate 14.10 to work with this custom grub menu.
In /etc/grub.d/05_debian_theme:
The first line below is line 165 and you place the 3 font colors after that line - nothing else will work.
Also the font is in a different location for Mate here is the correct command to use only for Mate:Code:if set_background_image "${background}"; then echo " set color_normal=cyan/black" echo " set menu_color_normal=yellow/black" echo " set menu_color_highlight=red/black"
These are the only differences between regular Ubuntu and Ubuntu Mate to get it to work.Code:sudo grub-mkfont --output=/boot/grub/DejaVuSansMono.pf2 \ --size=24 /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
Last edited by Cavsfan; October 25th, 2014 at 03:46 PM. Reason: Added the other difference for Mate
Still haven't figured out how to get Utopic Mate working after installing it from a new ISO. I got the developmental version working fine.
The development system had this file which the final version doesn't have /etc/grub.d/99_force_text_mode. I tried copying it over but that didn't make the picture appear.
The font colors appear but they are a bit oversized. Still working on it.....
I finally figured out it was the font that prevented the picture from showing at boot. The font is in a different location than it is on regular Ubuntu or Mint, possibly others.
I added that to the other difference mentioned in post #258 above.
Here is what it looks like. Not too sure about the colors or the picture just wanted to prove that it could be done.
Here is what the default grub menu looked like on Mint. And again initially I selected Mint Qiana 17 and it displayed the Qiana screen with the 4 green dots but would never go any where.
I brought up a tty screen and it showed I was in Precise 12.04.5.
Bookmarks