分页: 1 / 1

【请教】burg 要按F8之后才能出效果

发表于 : 2010-05-22 18:55
xgh6990
RT,默认的是黑白界面,只能在按了F8后在黑白界面和美化界面间切换,我都快弄了一下午了,始终解决不了。
我的burg.cfg配置如下:

代码: 全选

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

### BEGIN /etc/burg.d/00_header ###
set theme_name=ubuntu
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
}
if terminal_input console ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_input
  terminal console
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
}
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 { -black_and_white { command="set theme_name=black_and_white" }}'
  load_string '+theme_menu { -chiva { command="set theme_name=chiva" }}'
  load_string '+theme_menu { -coffee { command="set theme_name=coffee" }}'
  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 { -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 { -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}
  controller.ext
fi
set timeout=5
### END /etc/burg.d/00_header ###

menuentry "Windows 7 Ultimate (loader) (on /dev/sda1)" {
	insmod ntfs
	set root='(hd0,1)'
	search --no-floppy --fs-uuid --set 66a0f23ca0f21273
	chainloader +1
}

menuentry "Mac OS X 10.6.3 (on /dev/sda2)" {
	insmod ntfs
	set root='(hd0,1)'
	chainloader /btldr.mbr
}


menuentry 'Ubuntu, with Linux 2.6.31-14-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,7)'
	search --no-floppy --fs-uuid --set 88d0f0a3-6860-4843-875e-81432e22e5e4
	linux	/boot/vmlinuz-2.6.31-14-generic root=/dev/sda7 ro   quiet splash
        initrd  /boot/initrd.img-2.6.32-21-generic
}

menuentry 'Ubuntu, with Linux 2.6.31-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	insmod ext2
	set root='(hd0,7)'
	search --no-floppy --fs-uuid --set 88d0f0a3-6860-4843-875e-81432e22e5e4
	echo	'Loading Linux 2.6.31-14-generic ...'
	linux	/boot/vmlinuz-2.6.31-14-generic root=/dev/sda7 ro single 
        initrd  /boot/initrd.img-2.6.32-21-generic
	echo	'Loading initial ramdisk ...'
}


menuentry "GRUB4DOS (on /dev/sda1)" {
	insmod ntfs
	set root='(hd0,1)'
	linux /grub.exe
}

### 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.


set gfxmode="1640x1050"
set gfxfont="Unifont Regular 16"
loadfont /boot/burg/fonts/unifont.pf2
loadfont /boot/burg/fonts/aqui.pf2
loadfont /boot/burg/fonts/edges.pf2
loadfont /boot/burg/fonts/lime.pf2
loadfont /boot/burg/fonts/7x13B.pf2
loadfont /boot/burg/fonts/smoothansi.pf2
loadfont /boot/burg/fonts/Helvetica-Bold-14.pf2
insmod vbe
insmod png
insmod coreui
load_config /boot/burg/themes/winter/theme
### END /etc/burg.d/40_custom ###

Re: 【请教】burg 要按F8之后才能出效果

发表于 : 2010-05-24 9:29
xgh6990
有人知道吗

Re: 【请教】burg 要按F8之后才能出效果

发表于 : 2010-05-24 9:44
heibianfu
不明白你的问题 :em02
你是不想F8 吗?

Re: 【请教】burg 要按F8之后才能出效果

发表于 : 2010-05-25 18:35
Wolf's Head
我记得是F7 :em04 :em04

Re: 【请教】burg 要按F8之后才能出效果

发表于 : 2010-10-22 22:30
wjhlfamily
相比之下我的代码少了好多!!!!