Changes To Grub Customizer LM 21.1 Cinnamon <Solved>

Yep, You go to the teminal and type this command to
Code:
pkexec nemo
Once nemo come up with root priviledge copy which picture you want and paste it in /boot
Don't forget to run
Code:
sudo update-grub
In the /etc/default/file open it like this
Code:
xed admin:///etc/default/grub
then change these lines
Code:
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0

Change to
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=5
Also you have to change
Code:
#GRUB_GFXMODE=800x600
to
GRUB_GFXMODE=800x600
You may also have to change the resolution to something bigger if the print is too small to read.
save the file
and again run
Code:
sudo upgrade-grub
If you want to change the boot order you do so by changing the number in this line
Code:
GRUB_DEFAULT=0
Remember grub starts counting a zero 0 so 0 is the first item in your boot list. 1 would be the second and so forth.
.jpeg also works, .bmp & .png will also work.

Good luck .

Followed your instructions......rebooting now.
 


Well upon rebooting my Grub Menu was as it has always been. A black background with white letters.

I copied the picture I wanted and placed it in the /boot file and updated Grub.

Default Grub.png


Changed the resolution to 1020x1080 since purchasing a new monitor.
 
Taking a break for a little while. Hand is starting to give me pain.
 
had you had any other theme or background in the /boot file before if so you'll need to delete that before the picture will show.
My bad you need to copy the picture to /boot/grub not /boot.
 
Last edited:
had you had any other theme or background in the /boot file before if so you'll need to delete that before the picture will show.
My bad you need to copy the picture to /boot/grub not /boot.
I tried adding this string to the /etc/default/grub file:
Code:
GRUB_BACKGROUND="~/Pictures/Ocean.png"
No joy!

Just moved that picture to /boot/grub/ so I'll reboot in a little while and let you know how it goes.
 
Last edited:
Rebooted, and no joy. See screenshot where Ocean.png was moved to.
I don't understand why it's not working.
Boot Grub.png
 
I tried adding this string to the /etc/default/grub file:
Code:
GRUB_BACKGROUND="~/Pictures/Ocean.png"
No joy!

Just moved that picture to /boot/grub/ so I'll reboot in a little while and let you know how it goes.
The png needs to be in RGB format.

If you have imagemagick installed the png can be checked thus:
Code:
identify <filename>.png
For example:
Code:
[flip@flop ~]$ identify blackBckgrnd.png
blackBckgrnd.png PNG 1920x1080 1920x1080+0+0 8-bit sRGB 6303B 0.000u 0:00.000

It identifies as an RGB image, which grub wants. Should be in 8 bit too. The image needs to be the same size or less than the monitor's resolution.

If the png is not in RGB format, it can be converted to it with something like this:
Code:
convert <filename>.png -define png:color-type=2 <result-filename>.png
Then check it with the identify command as above.
 
or use gimp to covert to jpeg
 
or use gimp to covert to jpeg
I'll either use Gimp or Xn Convert.
Didn't have to use either. Opened the /boot/grub as root and renamed it-

Ocean Changed.png
 
Last edited:
The png needs to be in RGB format.

If you have imagemagick installed the png can be checked thus:
Code:
identify <filename>.png
For example:
Code:
[flip@flop ~]$ identify blackBckgrnd.png
blackBckgrnd.png PNG 1920x1080 1920x1080+0+0 8-bit sRGB 6303B 0.000u 0:00.000

It identifies as an RGB image, which grub wants. Should be in 8 bit too. The image needs to be the same size or less than the monitor's resolution.

If the png is not in RGB format, it can be converted to it with something like this:
Code:
convert <filename>.png -define png:color-type=2 <result-filename>.png
Then check it with the identify command as above.
Code:
Alex:  identify Ocean.jpeg
Ocean.jpeg PNG 1920x1200 1920x1200+0+0 8-bit sRGB 607510B 0.000u 0:00.000
Alex:
 
Alexzee, pic looks fine. On this debian machine, a suitable pic was simply placed into the /boot/grub directory and after a grub update, it worked. The config GRUB_BACKGOUND didn't have to be set in /etc/default/grub. YMMV.
 
Alexzee, pic looks fine. On this debian machine, a suitable pic was simply placed into the /boot/grub directory and after a grub update, it worked. The config GRUB_BACKGOUND didn't have to be set in /etc/default/grub. YMMV.
Thanks!
 
The config GRUB_BACKGOUND didn't have to be set in /etc/default/grub.

That was how I remembered it but I didn't want to say anything because I haven't modified grub (much) in a long time. The only thing I do is remove the timeout so that it doesn't show up (I don't dual boot anything).
 
Upon reboot the Grub Menu still doesn't reflect the Ocean.jpeg image I have chosen, that osprey confirmed is ok.
-::-Throwing in the towel and taking off the gloves.-::-

I'm off to enjoy the weekend!

Thanks to everyone for their dedication and assistance.-:)
 
Perhaps convert the Ocean.jpeg to a png:
Code:
convert Ocean.jpeg Ocean.png
Although the grub manual says jpegs are okay, I've always used pngs with success. Here's hoping. Another thing to try is perhaps to actually set the "GRUB_BACKGROUND=/boot/grub/Ocean.png" config in /etc/default/grub, and update grub.
 
Ocean.jpeg PNG 1920x1200 1920x1200+0+0 8-bit sRGB 607510B 0.000u 0:00.000

For when you are back on deck and hand permitting

You can't just rename a jpeg to png or vice versa, does not work that way.

If you can give us a screenshot on the original Ocean image I can walk you through a blow by blow.

Wiz
 
We crossed beams, Ghostbusters say that is dangerous.
 
For when you are back on deck and hand permitting

You can't just rename a jpeg to png or vice versa, does not work that way.

If you can give us a screenshot on the original Ocean image I can walk you through a blow by blow.

Wiz
Yes, one does need to "convert" the graphics format with the program as in post #37.
 

Members online


Top