Wednesday, 14 October 2020

agFM v1.63 released

 agFM v1.63 just has a very small change to the \boot\grubfm\SAMPLE_startup_menu.txt example menu file. The small change will cause all .pf2 font files that are present in your theme folder to be automatically loaded.

#SET STYLE (change section below if required)
#mymenu=0   standard agFM theme
#mymenu=1   using $mytheme as theme   (rename folder \boot\grubfm\themes\sample_slack to slack) NO SPACES - DO NOT USE sample_slack folder as it will be changed on update
#mymenu=2   User wallpaper, no theme  (change USER MENU CONFIG section below)
#mymenu=3   Text mode - most compatible and quickest - use if keyboard issues (English only) - see section 3 below
set mymenu=0
#if mymenu=1 then mytheme specifies the theme folder to be used
set mytheme="slack"

######## MYMENU=1 - USERS GRUB2 THEME ########
if [ "${mymenu}" = "1" ] ; then
# Load fonts - if your theme uses special fonts (not unicode) this loads ALL font files
# The .pf2 font files should be inside the theme folder
for font in (${user})/boot/grubfm/themes/${mytheme}/*.pf2; do loadfont ${font} ; done
# You can use the lsfonts command to list the currently loaded fonts

# Rename \boot\grubfm\themes\sample_slack folder to slack then edit background.png to add your own wallpaper
# uncomment 'menu_pixmap_style' in each .txt file to add a grey box behind the menu text
export theme_std="(${user})/boot/grubfm/themes/${mytheme}/theme.txt";
export theme_fm="(${user})/boot/grubfm/themes/${mytheme}/fm.txt";
export theme_info="(${user})/boot/grubfm/themes/${mytheme}/info.txt";
export theme_help="(${user})/boot/grubfm/themes/${mytheme}/help.txt";
export theme=$theme_std
# themes must not contain spaces
if ! [ -f "$theme" ] ; then echo "ERROR: Can't find $theme" ; read ; fi
fi
####################################

This means that if you use your own grub2 theme and it contains .pf2 font files, then they will be automatically loaded.

e.g.

set mymenu=1
set mytheme="seven14Large"

seven14Large theme


3 comments:

  1. grub4dos for uefi
    http://bbs.wuyou.net/forum.php?mod=viewthread&tid=422652

    ReplyDelete
    Replies
    1. Looks very inetresting, but can't download or pay!
      Does it use menu.lst? How can we have both MBR and UEFI menu.lst on same volume?

      Delete
    2. https://drive.google.com/file/d/1liz64jrvmXefWn-Fvo_PLu1LdE2f6xXC/view?usp=sharing

      Delete