Hi, I’m not the most expert user, but I’ve been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by the class of the entry).

How do I make it so they automatically generate, instead of me modifing the .cfg everytime the kernel is updated?

I’m on linux mint, 21.2 Cinnamon.

  • RossoErcole@kbin.social
    cake
    OP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    7 months ago

    it’s not working, also I don’t know why when I went in that line I have a \ now, that wasn’t there before apparently, before $menuentry:

    echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"

    (I’ve tried adding it also in front of ${CLASS}, leaving it only were it is, and removing it from both)