You are not logged in.

#1 2012-01-15 21:10:49

tarun.hellknight
Member
From: India
Registered: 2010-11-30
Posts: 65
Website

[SOLVED] Burg Not displaying the correct Arch icon

Ever since I upgraded to Linux kernel 3.0, Burg isn't displaying the original Arch icon in the themes. It is replaced by a question mark which leaves odd. Here's the original burg.cfg file

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /sbin/burg-mkconfig using templates
# from /etc/burg.d and settings from /etc/default/burg
#

### BEGIN /etc/burg.d/00_header ###
set theme_name=burg
set gfxmode=640x480
if [ -s $prefix/burgenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}
function select_menu {
  if menu_popup -t template_popup theme_menu ; then
    free_config template_popup template_subitem menu class screen
    load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
    save_env theme_name
    menu_refresh
  fi
}
function toggle_fold {
  if test -z $theme_fold ; then
    set theme_fold=1
  else
    set theme_fold=
  fi
  save_env theme_fold
  menu_refresh
}
function select_resolution {
  if menu_popup -t template_popup resolution_menu ; then
    menu_reload_mode
    save_env gfxmode
  fi
}
if test -f ${prefix}/themes/${theme_name}/theme ; then
  insmod coreui
  menu_region.text
  load_string '+theme_menu { -arabic_and_freedom { command="set theme_name=arabic_and_freedom" }}'
  load_string '+theme_menu { -Autumn-Refined { command="set theme_name=Autumn-Refined" }}'
  load_string '+theme_menu { -black_and_white { command="set theme_name=black_and_white" }}'
  load_string '+theme_menu { -burg { command="set theme_name=burg" }}'
  load_string '+theme_menu { -chiva { command="set theme_name=chiva" }}'
  load_string '+theme_menu { -coffee { command="set theme_name=coffee" }}'
  load_string '+theme_menu { -fortune { command="set theme_name=fortune" }}'
  load_string '+theme_menu { -minimal { command="set theme_name=minimal" }}'
  load_string '+theme_menu { -minimum { command="set theme_name=minimum" }}'
  load_string '+theme_menu { -proto { command="set theme_name=proto" }}'
  load_string '+theme_menu { -radiance { command="set theme_name=radiance" }}'
  load_string '+theme_menu { -radianceblack { command="set theme_name=radianceblack" }}'
  load_string '+theme_menu { -radiancetext { command="set theme_name=radiancetext" }}'
  load_string '+theme_menu { -refit { command="set theme_name=refit" }}'
  load_string '+theme_menu { -sora { command="set theme_name=sora" }}'
  load_string '+theme_menu { -sora_clean { command="set theme_name=sora_clean" }}'
  load_string '+theme_menu { -sora_extended { command="set theme_name=sora_extended" }}'
  load_string '+theme_menu { -ubuntu { command="set theme_name=ubuntu" }}'
  load_string '+theme_menu { -ubuntu2 { command="set theme_name=ubuntu2" }}'
  load_string '+theme_menu { -vitruvio { command="set theme_name=vitruvio" }}'
  load_string '+theme_menu { -winter { command="set theme_name=winter" }}'
  load_config ${prefix}/themes/conf.d/10_hotkey
  load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
  insmod vbe
  insmod png
  insmod jpeg
  set gfxfont="Unifont Regular 16"
  menu_region.gfx
  vmenu resolution_menu
  controller.ext
fi
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 1f1c81f9-0d82-4120-91ca-93464fa4c8c7
set locale_dir=($root)/burg/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/burg.d/00_header ###

### BEGIN /etc/burg.d/10_linux ###
menuentry 'n/a GNU/Linux, with Linux linux' --class n/a --class gnu-linux --class gnu --class os --group group_main {
	savedefault
	insmod ext2
	set root='(hd0,7)'
	search --no-floppy --fs-uuid --set 1f1c81f9-0d82-4120-91ca-93464fa4c8c7
	echo	'Loading Linux linux ...'
	linux	/vmlinuz-linux root=/dev/disk/by-uuid/48e5dac5-72aa-4c9b-a11a-1d9a07e7f055 ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux.img
}
menuentry 'n/a GNU/Linux, with Linux linux Fallback' --class n/a --class gnu-linux --class gnu --class os --group group_main {
	savedefault
	insmod ext2
	set root='(hd0,7)'
	search --no-floppy --fs-uuid --set 1f1c81f9-0d82-4120-91ca-93464fa4c8c7
	echo	'Loading Linux linux ...Loading Linux Fallback ...'
	linux	/vmlinuz-linux root=/dev/disk/by-uuid/48e5dac5-72aa-4c9b-a11a-1d9a07e7f055 ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux-fallback.img
}
menuentry 'n/a GNU/Linux, with Linux linux Fallback (recovery mode)' --class n/a --class gnu-linux --class gnu --class os --group group_main {
	savedefault
	insmod ext2
	set root='(hd0,7)'
	search --no-floppy --fs-uuid --set 1f1c81f9-0d82-4120-91ca-93464fa4c8c7
	echo	'Loading Linux linux ...Loading Linux Fallback ...'
	linux	/vmlinuz-linux root=/dev/disk/by-uuid/48e5dac5-72aa-4c9b-a11a-1d9a07e7f055 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux-fallback.img
}
### END /etc/burg.d/10_linux ###

### BEGIN /etc/burg.d/20_memtest86+ ###
### END /etc/burg.d/20_memtest86+ ###

### BEGIN /etc/burg.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
	savedefault
	insmod ntfs
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set 0c9cd3fd9cd3df70
	chainloader +1
}
### END /etc/burg.d/30_os-prober ###

### BEGIN /etc/burg.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "FreeBSD" {
    set root=(hd1,1)
    chainloader +1
}

### END /etc/burg.d/40_custom ###

If you notice, the Arch Linux is replaced everywhere by n/a. Now, is it safe to rename n/a with Arch. Also, how can I permanently fix this problem. Moreover, there's no icon for the FreeBSD entry too. It is also replaced by a question mark. Please help me regarding these issues..

Last edited by tarun.hellknight (2012-01-23 18:07:56)

Offline

#2 2012-01-17 18:02:30

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 145

Re: [SOLVED] Burg Not displaying the correct Arch icon

I changed my --class n/a to say either arch or arch linux (don't remember which) but it fixed the problem.

Last edited by piratebill (2012-01-17 18:03:16)

Offline

#3 2012-01-18 20:19:59

tarun.hellknight
Member
From: India
Registered: 2010-11-30
Posts: 65
Website

Re: [SOLVED] Burg Not displaying the correct Arch icon

Thanks for replying.. But, will it change the name back to n/a after each update? That I'll have to see..

EDIT:- That didn't work. Would you mind telling me where & what did you edit?

Last edited by tarun.hellknight (2012-01-18 20:39:45)

Offline

#4 2012-01-18 21:20:16

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 145

Re: [SOLVED] Burg Not displaying the correct Arch icon

tarun.hellknight wrote:

Thanks for replying.. But, will it change the name back to n/a after each update? That I'll have to see..

EDIT:- That didn't work. Would you mind telling me where & what did you edit?

I'd be happy to smile  Its on my home box, but i'm not there right now.  Give me about 5 hours and I'll post my "fix"

Offline

#5 2012-01-19 02:15:57

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 145

Re: [SOLVED] Burg Not displaying the correct Arch icon

Ok, here it is

### BEGIN /etc/burg.d/10_linux ###
menuentry 'n/a GNU/Linux, with Linux linux' --class  arch --class gnu-linux --class gnu --class os --group group_main {
        savedefault
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 1a2b6d44-ea07-4dfa-ac1b-c1e739b2babe
        echo    'Loading Linux linux ...'
        linux   /vmlinuz-linux root=/dev/mapper/MemoryCore cryptdevice=/dev/sda2:MemoryCore ro  quiet splash
        echo    'Loading initial ramdisk ...'
        initrd  /initramfs-linux.img
}

make sure you do this for the main entry, not just the fall back.  I made that mistake the first go around.

Offline

#6 2012-01-21 18:54:27

tarun.hellknight
Member
From: India
Registered: 2010-11-30
Posts: 65
Website

Re: [SOLVED] Burg Not displaying the correct Arch icon

Thanks.. One more question.. Do I have to edit the file with every new kernel release? Or will it stay the same..

Offline

#7 2012-01-23 19:59:25

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 145

Re: [SOLVED] Burg Not displaying the correct Arch icon

tarun.hellknight wrote:

Thanks.. One more question.. Do I have to edit the file with every new kernel release? Or will it stay the same..


I don't think you'd have to change it....but I haven't had a kernel update since I changed mine so I really don't know.

Offline

Board footer

Powered by FluxBB