Advertisement
Guest User

burg config

a guest
Jun 7th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. ### BEGIN /etc/burg.d/00_header ###
  2. set theme_name=ubuntu
  3. if [ -s $prefix/burgenv ]; then
  4. load_env
  5. fi
  6. set default="save"
  7. if [ ${prev_saved_entry} ]; then
  8. set saved_entry=${prev_saved_entry}
  9. save_env saved_entry
  10. set prev_saved_entry=
  11. save_env prev_saved_entry
  12. set boot_once=true
  13. fi
  14.  
  15. function savedefault {
  16. if [ -z ${boot_once} ]; then
  17. saved_entry=${chosen}
  18. save_env saved_entry
  19. fi
  20. }
  21. set gfxmode=1366x768
  22. function select_menu {
  23. if menu_popup -t template_popup theme_menu ; then
  24. free_config template_popup template_subitem menu class screen
  25. load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
  26. save_env theme_name
  27. menu_refresh
  28. fi
  29. }
  30. function toggle_fold {
  31. if test -z $theme_fold ; then
  32. set theme_fold=1
  33. else
  34. set theme_fold=
  35. fi
  36. menu_refresh
  37. }
  38. set theme_fold=1
  39. function select_resolution {
  40. if menu_popup -t template_popup resolution_menu ; then
  41. menu_reload_mode
  42. fi
  43. }
  44. if test -f ${prefix}/themes/${theme_name}/theme ; then
  45. insmod coreui
  46. menu_region.text
  47. load_string '+theme_menu { -Lightness { command="set theme_name=Lightness" }}'
  48. load_string '+theme_menu { -arabic_and_freedom { command="set theme_name=arabic_and_freedom" }}'
  49. load_string '+theme_menu { -black_and_white { command="set theme_name=black_and_white" }}'
  50. load_string '+theme_menu { -burg { command="set theme_name=burg" }}'
  51. load_string '+theme_menu { -chiva { command="set theme_name=chiva" }}'
  52. load_string '+theme_menu { -coffee { command="set theme_name=coffee" }}'
  53. load_string '+theme_menu { -minimum { command="set theme_name=minimum" }}'
  54. load_string '+theme_menu { -proto { command="set theme_name=proto" }}'
  55. load_string '+theme_menu { -radiance { command="set theme_name=radiance" }}'
  56. load_string '+theme_menu { -radiancetext { command="set theme_name=radiancetext" }}'
  57. load_string '+theme_menu { -refit { command="set theme_name=refit" }}'
  58. load_string '+theme_menu { -sora { command="set theme_name=sora" }}'
  59. load_string '+theme_menu { -sora_clean { command="set theme_name=sora_clean" }}'
  60. load_string '+theme_menu { -sora_extended { command="set theme_name=sora_extended" }}'
  61. load_string '+theme_menu { -ubuntu { command="set theme_name=ubuntu" }}'
  62. load_string '+theme_menu { -ubuntu2 { command="set theme_name=ubuntu2" }}'
  63. load_string '+theme_menu { -winter { command="set theme_name=winter" }}'
  64. load_config ${prefix}/themes/conf.d/10_hotkey
  65. load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
  66. insmod vbe
  67. insmod png
  68. insmod jpeg
  69. set gfxfont="Unifont Regular 16"
  70. menu_region.gfx
  71. vmenu resolution_menu
  72. controller.ext
  73. fi
  74. insmod ext2
  75. set root='(hd0,7)'
  76. search --no-floppy --fs-uuid --set edf83249-61b1-4ecc-85ce-4b7723fef08a
  77. set locale_dir=($root)/boot/burg/locale
  78. set lang=es
  79. insmod gettext
  80. set timeout=5
  81. ### END /etc/burg.d/00_header ###
  82.  
  83. ### BEGIN /etc/burg.d/10_linux ###
  84. menuentry 'Ubuntu GNU/Linux, with Linux 3.8.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
  85. insmod ext2
  86. set root='(hd0,7)'
  87. search --no-floppy --fs-uuid --set edf83249-61b1-4ecc-85ce-4b7723fef08a
  88. echo 'Loading Linux 3.8.0-23-generic ...'
  89. linux /boot/vmlinuz-3.8.0-23-generic root=UUID=edf83249-61b1-4ecc-85ce-4b7723fef08a ro quiet splash
  90. echo 'Loading initial ramdisk ...'
  91. initrd /boot/initrd.img-3.8.0-23-generic
  92. }
  93. menuentry 'Ubuntu GNU/Linux, with Linux 3.8.0-19-generic' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
  94. insmod ext2
  95. set root='(hd0,7)'
  96. search --no-floppy --fs-uuid --set edf83249-61b1-4ecc-85ce-4b7723fef08a
  97. echo 'Loading Linux 3.8.0-19-generic ...'
  98. linux /boot/vmlinuz-3.8.0-19-generic root=UUID=edf83249-61b1-4ecc-85ce-4b7723fef08a ro quiet splash
  99. echo 'Loading initial ramdisk ...'
  100. initrd /boot/initrd.img-3.8.0-19-generic
  101. }
  102. ### END /etc/burg.d/10_linux ###
  103.  
  104. ### BEGIN /etc/burg.d/30_os-prober ###
  105. menuentry "Windows 8 (loader) (on /dev/sda1)" --class windows --class os {
  106. insmod ntfs
  107. set root='(hd0,1)'
  108. search --no-floppy --fs-uuid --set 8c18c1ac18c1959c
  109. drivemap -s (hd0) ${root}
  110. chainloader +1
  111. }
  112. ### END /etc/burg.d/30_os-prober ###
  113.  
  114. ### BEGIN /etc/burg.d/40_custom ###
  115. # This file provides an easy way to add custom menu entries. Simply type the
  116. # menu entries you want to add after this comment. Be careful not to change
  117. # the 'exec tail' line above.
  118. ### END /etc/burg.d/40_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement