Aim :
1. To have a handy show-off!!!
2. To have some fun.
3. To have a new wallpaper each time the grub loads.
Apparatus :
1. A bored mind.
2. Ubuntu 11.04 .
3. Basic understanding of linux .
Method :
1. Open terminal and type sudo nautilus
2. Browse to /boot/grub/ .
3. Copy and paste any 3 pics into this folder and rename them as 1.jpg, 2.jpg, 3.jpg respectively.
4. Scale the pictures to 640x480 resolution using GIMP image editor.
5. Browse to /etc/init.d/ .
6. Create a new file named new.sh .
7. Write the following contents into this file:
mv /boot/grub/1.jpg /boot/grub/temp.jpg
mv /boot/grub/2.jpg /boot/grub/1.jpg
mv /boot/grub/3.jpg /boot/grub/2.jpg
mv /boot/grub/temp.jpg /boot/grub/3.jpg
This is the logic to rotate the images each time your PC starts.
We have experimented only for 3 images. You can modify this script accordingly for multiple images.
You can even write a for loop for multiple images.
8. Make the file executable by the command: sudo chmod +x /etc/init.d/new.sh
9. Open terminal and type the following commands:
sudo update-rc.d new.sh defaults
sudo update-grub
The 1st command tells your system to load the new script on each reboot.
The 2nd command basically helps your grub find the images that you had pasted.
10. Reboot your machine and BEHOLD..!! you have a new GRUB Wallpaper on each Reboot.
Finally you will find yourself liberalized from the UGLY purple GRUB image. :D
Hope you enjoyed this Post :-)
Feel free to share your thoughts on the same.
1. To have a handy show-off!!!
2. To have some fun.
3. To have a new wallpaper each time the grub loads.
Apparatus :
1. A bored mind.
2. Ubuntu 11.04 .
3. Basic understanding of linux .
Method :
1. Open terminal and type sudo nautilus
2. Browse to /boot/grub/ .
3. Copy and paste any 3 pics into this folder and rename them as 1.jpg, 2.jpg, 3.jpg respectively.
4. Scale the pictures to 640x480 resolution using GIMP image editor.
5. Browse to /etc/init.d/ .
6. Create a new file named new.sh .
7. Write the following contents into this file:
mv /boot/grub/1.jpg /boot/grub/temp.jpg
mv /boot/grub/2.jpg /boot/grub/1.jpg
mv /boot/grub/3.jpg /boot/grub/2.jpg
mv /boot/grub/temp.jpg /boot/grub/3.jpg
This is the logic to rotate the images each time your PC starts.
We have experimented only for 3 images. You can modify this script accordingly for multiple images.
You can even write a for loop for multiple images.
8. Make the file executable by the command: sudo chmod +x /etc/init.d/new.sh
9. Open terminal and type the following commands:
sudo update-rc.d new.sh defaults
sudo update-grub
The 1st command tells your system to load the new script on each reboot.
The 2nd command basically helps your grub find the images that you had pasted.
10. Reboot your machine and BEHOLD..!! you have a new GRUB Wallpaper on each Reboot.
Finally you will find yourself liberalized from the UGLY purple GRUB image. :D
Hope you enjoyed this Post :-)
Feel free to share your thoughts on the same.
Nice experiment !
ReplyDeleteJust a piece of advice, elaborate each step.
For eg,
> 5. Browse to /etc/init.d/ .
Why ? Please elaborate so even beginner can understand in detail.
And please change this background :)