Thursday, April 7, 2011

GRUB 2 Splash Images on Ubuntu


Here is how you can get a nice background image for GRUB boot menu.
First, install the "grub2-splashimages" package:
sudo apt-get install grub2-splashimages
Then edit /etc/default/grub and add the following line
GRUB_BACKGROUND=/usr/share/images/grub/yourImage.png
Also, make sure that GRUB is loaded in the same resolution as the image
GRUB_GFXMODE=1680x1050
...and that's it. Update GRUB
sudo update-grub
and restart to see the results.

Wednesday, April 6, 2011

How to delete all .svn directories

If you are using subversion, at some point you probably tried to take some folders from one repository and try to commit then to another. Since each folder has a hidden .svn folder, subversion will complain that "they are already under version control". Here is how to recursively delete all .svn folders:

find . -name ".svn" -type d -exec rm -rf {} \; -prune -print