[SOLVED] LMDE grub text colors and highlite colors

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

[SOLVED] LMDE grub text colors and highlite colors

Postby Trapper on Sun May 06, 2012 11:47 am

Wow, I am having a difficult time trying to figure out how to change grub menu text colors and highlight colors in 05_debian_theme. I can do this with the old 05_debian_theme format in U 10.04 or the newer one in U 12.04 but no matter what I change in 05_debian_theme, nothing takes affect. Mostly, I am trying to get rid of the gray highlight bar and replace it with a text color change to red when selected. It's as if grub in LMDE is using a file other than 05_debian_theme to configure grub's menu looks. I can get my custom background to show with no problem but I sure cannot get text color and highlight color changes. I even substituted my current 05_debian_theme with the old style that I have in U 10.04. That doesn't even do it. It does, however, do it in 12.04.

Is there something I need to know but don't know about grub theming in LMDE?
Last edited by Trapper on Sun May 06, 2012 1:57 pm, edited 1 time in total.
Trapper
Level 3
Level 3
 
Posts: 175
Joined: Sat Dec 03, 2011 12:21 pm
Location: Sebring, Florida USA

Linux Mint is funded by ads and donations.
 

Re: LMDE grub text colors and highlite colors

Postby Trapper on Sun May 06, 2012 1:55 pm

Okay. I resolved this by doing several things. I probably could have done the majority of it by simply making /etc/grub.d/06_mint_theme non-executable. However, I had already deleted things first.

I removed the package grub2-theme-mint
I made /etc/grub.d/06_mint_theme non-executable
I copied over an old version of 05_debian_theme because it's easier to custom edit and I know it works for my needs. That's not to say it will work for everyone else. If you switch to the old version, keep a copy of the newer version around.

I now have my own background for the grub menu, white text and red highlighted text. That's what I was after.

I also probably put this thread in the wrong section. I apologize for that. Although it's related to grub it has absolutely nothing to do with installation, etc.
Trapper
Level 3
Level 3
 
Posts: 175
Joined: Sat Dec 03, 2011 12:21 pm
Location: Sebring, Florida USA

Re: [SOLVED] LMDE grub text colors and highlite colors

Postby Trapper on Wed May 09, 2012 4:21 pm

Well, I have concluded that the best way to do this is to simply:

1. Make /etc/grub.d/06_mint_theme non-executable.
2. Remove linuxmint.png or any other image you have in /boot/grub <<<--- This is important.
3. Edit the /etc/grub.d/05_debian_theme that came with the LMDE install here:

(near the end of the file)
Code: Select all

# Next try to use the background image and colors specified by desktop-base.
if set_background_image "${WALLPAPER}" "${COLOR_NORMAL}" "${COLOR_HIGHLIGHT}"; then
   exit 0
fi


Change it to basically look like this, depending on your customization desires:

Code: Select all
# Next try to use the background image and colors specified by desktop-base.
WALLPAPER="/path/to/my/desired_image.png"
COLOR_NORMAL="white/black"
COLOR_HIGHLIGHT="red/black"
if set_background_image "${WALLPAPER}" "${COLOR_NORMAL}" "${COLOR_HIGHLIGHT}"; then
   exit 0
fi


After you save your 05_debian_theme update grub via a terminal:

Code: Select all
sudo update-grub
Trapper
Level 3
Level 3
 
Posts: 175
Joined: Sat Dec 03, 2011 12:21 pm
Location: Sebring, Florida USA


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 3 guests