Page 1 of 1

GRUB 2 customizing

PostPosted: Oct 11th, '16, 00:54
by dlocklear01
I would like to replace the blue Mageia background with a nature photo.

Is that difficult ?

Re: GRUB 2 customizing

PostPosted: Oct 11th, '16, 04:01
by doktor5000
Depends what you define as difficult. Check e.g. https://help.ubuntu.com/community/Grub2/Displays for some hints on how to change the background.

Re: GRUB 2 customizing

PostPosted: Oct 11th, '16, 05:55
by gohlip
Mageia uses (a far better) themes than just a background (that Ubuntu uses).
So the method differs.
Just go to /boot/grub2/themes/maggy and add your new background (must be in .png format)
Then at /boot/grub2/themes/maggy/theme.txt change
Code: Select all
desktop-image: "grub2-mageia-default.png"
to your new image.

Re: GRUB 2 customizing

PostPosted: Oct 11th, '16, 06:31
by dlocklear01
Thank you ghhip. That seemed to be the solution for me. I replaced both the bootsplash and the Mageia background with a nature
scene that I prefer over the nice blue artwork for Mageia 6.

I am a novice Linux user with about 450 hours of Linux desktop use. 50 hours of that on Mageia 6.

I used terminal to type: kdesu dolphin

and I was able to cut and paste the picture into the files and rename the bootsplash background accordingly. I saved the
old files by just adding a "-x" to the suffix just in case I screwed something up.

I am sure there was an easier way, but that was good enough for me.

Re: GRUB 2 customizing

PostPosted: Oct 11th, '16, 10:35
by Lebarhon
Hello,
You can also use Grub-customizer that is available in the Mageia repositories
https://launchpad.net/grub-customizer

Re: GRUB 2 customizing

PostPosted: Oct 11th, '16, 10:53
by gohlip
Welcome, enjoy, dlocklear01.

Re : grub-customizer, I personally recommend against using this.
It will work fine when first installed, but when there's new kernel or a new grub update or version, things can get real screwy.
Linux forums are full of heartaches of users using grub-customizer.
I'm sure the developer meant well, but be warned.

I used terminal to type: kdesu dolphin

A suggestion - do not do 'kdesu dolphin'
Open up dolphin as user, at dolphin command (F4) then use 'root' if necessary, like.... "kdesu kate xxxx.txt" or "sudo touch xxxx.someting"
But in Mageia, you will need to enable sudoer and sym-link kdesu to enable these actions.

Re: GRUB 2 customizing

PostPosted: Oct 11th, '16, 17:59
by dlocklear01
gohlp

I do not understand how to get root privileges in Dolphin. I I hit F4 as you suggested and
I did not know what to do after that. The terminal window popped up in Dolphin.

Thank you.

Re: GRUB 2 customizing

PostPosted: Oct 11th, '16, 18:22
by gohlip
Code: Select all
The terminal window popped up in Dolphin.

Correct. Then type in your commands there; like... "kdesu kate <file.txt>" of <file.txt> in that window.
If you cannot do that, as I said you need to be in sudoers and so sym-link.
See link here.
viewtopic.php?f=8&t=6209#p40770


Reason you should not "kdesu dolphin" is that it is dolphin of "root" not of "user" <you>.
And that is never a good practice. It will mess up something; may not be now, but in the future.

You can do "kdesu <something gui>" at terminal like "kdesu kate/mostthings <pathtosomething>" but not "kdesu dolphin"