Burg Custom Icons work only with specific themes

Posted by el10780 on Ask Ubuntu See other posts from Ask Ubuntu or by el10780
Published on 2012-08-18T08:43:33Z Indexed on 2012/11/24 17:18 UTC
Read the original article Hit count: 284

Filed under:
|
|

I have made a custom icon for burg loader for my Lenovo Recovery Partition.I have made 3 icons :

large_qdrive.png (128 X 128 pixels)
small_qdrive.png (24 X 24 pixels)
grey_qdrive.png  (128 x 128 pixels)

The .png icons that I created I made them using gimp from a qdrive.ico file that I found in the Lenovo Recovery Partition.

I transferred the icons to the /boot/burg/themes/icons folder and I added to the class list of the grey,large,small and the hover files the following lines :

-qdrive { image = "$$/large_qdrive.png" } in the large file
-qdrive { image = "$$/small_qdrive.png" } in the small file
-qdrive { image = "$$/grey_qdrive.png" } in the grey file
-qdrive { image = "$$/grey_qdrive.png:$$/large_qdrive.png" } in the hover file

I ran sudo update-burg and after that I modified the following line in the burg.cfg file :

menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {

to

menuentry "Windows 7 (loader) (on /dev/sda2)" --class qdrive --class os {

and I also tried to change the title for the Lenovo Recovery Partition,so I tried this as well:

menuentry "Lenovo Recovery Partition (on /dev/sda2)" --class qdrive --class os {

None of this tries enforced actually burg loader to use the custom icon that I made and I can't figure out why.

I have to mention also that there are a few themes that I have installed in burg which actually are able to use the small_qdrive.png icon that I made,but all the others which use either the large_qdrive.png or the grey_qdrive.png weren't able to use the custom icons.

I have double checked for typos in all the files that I have created or I modified,so I am pretty sure that I haven't misspelled anything.

I have checked also the title of the custom icons that I made and neither of them have a typo.

I have looked also if there are any other folder that the themes might use to retrieve the icons,but it seems that all of them except for **Fortune** theme,which I downloaded from OMG!UBUNTU,use the icons folder which is located in /boot/burg/themes/icons

I tried to add the custom icons to the icons folder of the theme **Fortune**,but still nothing happened.

© Ask Ubuntu or respective owner

Related posts about grub2

Related posts about bootloader