Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 25225  / 1 Year ago, sat, december 3, 2022, 3:02:21

I installed some sort of software (I think it had to do with Gnome) that changed the splash image behind the GRUB boot interface from the standard purple background to a somewhat tacky Debian splash image.



Is there any sort of quick set of commands I can enter or file I can delete to change it back to the default background?


More From » grub2

 Answers
7

A quick way to delete the file is done opening a terminal with CTRL + ALT + T and executing these command


sudo rm /usr/share/images/desktop-base/desktop-grub.png
sudo update-initramfs -u
sudo update-grub

Insight on that file


It comes from the desktop-base package. That package's function as described in control file is



This package contains various miscellaneous files which are used by
Debian Desktop installations. Currently, it provides some
Debian-related artwork and themes, .desktop files containing links to
Debian related material (suitable for placement on a user's desktop),
and other common files between the available desktop environments
such as GNOME and KDE.



It includes various wallpapers for both GNOME and EDE, splash screens etc.


If you don't want that package


You can remove the package by this command


sudo apt-get purge desktop-base

then executes these commands to restore default grub screen


sudo update-initramfs -u
sudo update-grub

If you want to keep the splash files and want the default grub background


In that case, use the below command to disable checking for grub background file


 sudo chmod -x /etc/grub.d/05_debian_theme

and then execute


sudo update-initramfs -u 
sudo update-grub

[#37051] Sunday, December 4, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anoalk

Total Points: 271
Total Questions: 90
Total Answers: 112

Location: Zambia
Member since Wed, Dec 16, 2020
3 Years ago
anoalk questions
Wed, Mar 15, 23, 04:06, 1 Year ago
Fri, Sep 24, 21, 02:59, 3 Years ago
Sat, Mar 5, 22, 02:33, 2 Years ago
Tue, Mar 22, 22, 07:19, 2 Years ago
;