Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change the Theme of Enventory
#8
(05-29-2020, 03:42 PM)pdbpdb Wrote: scaramonga's steps work to set a grub2 theme, however I can't seem to get the icons to display? (picture attached)

Is this possible? If so, how?

Thanks!

You need to set the "class" for each ISO (where "class" means the png file you want for that ISO).

structure example:

ventoy/ISOs/Linux/xxx.iso
ventoy/ISOs/Windows/xxx.iso
ventoy/persistence/4gb.img
ventoy/themes/Vimix/<theme-files-here(fonts,images)>
ventoy/themes/Vimix/icons/linuxmint.png
ventoy/themes/Vimix/icons/ubuntu.png
ventoy/themes/Vimix/icons/xxx.png

ventoy/ventoy.json contents:

Code:
{
    "control": [
        { "VTOY_DEFAULT_MENU_MODE": "0" },
        { "VTOY_DEFAULT_SEARCH_ROOT": "/ventoy/ISOs" }
    ],
    "theme": {
        "file": "/ventoy/themes/Vimix/theme.txt",
        "ventoy_top": "95%",
        "ventoy_left": "2%",
        "ventoy_color": "#ffffff",
        "fonts": [
            "/ventoy/themes/Vimix/dejavu_sans_12.pf2",
            "/ventoy/themes/Vimix/dejavu_sans_14.pf2",
            "/ventoy/themes/Vimix/dejavu_sans_16.pf2",
            "/ventoy/themes/Vimix/dejavu_sans_24.pf2",
            "/ventoy/themes/Vimix/dejavu_sans_32.pf2",
            "/ventoy/themes/Vimix/dejavu_sans_48.pf2",
            "/ventoy/themes/Vimix/terminus-12.pf2",
            "/ventoy/themes/Vimix/terminus-14.pf2",
            "/ventoy/themes/Vimix/terminus-16.pf2",
            "/ventoy/themes/Vimix/terminus-18.pf2"
        ]
    },
    "menu_alias": [
        {
            "image": "/ventoy/ISOs/Linux/linuxmint-20-cinnamon-64bit.iso",
            "alias": "Linux Mint 20 Cinnamon"
        },
        {
            "image": "/ventoy/ISOs/Linux/ubuntu-20.04-desktop-amd64.iso",
            "alias": "Ubuntu 20.04"
        }
    ],
    "persistence": [
        {
            "image": "/ventoy/ISOs/Linux/linuxmint-20-cinnamon-64bit.iso",
            "backend": "/ventoy/persistence/4gb.img"
        },
        {
            "image": "/ventoy/ISOs/Linux/ubuntu-20.04-desktop-amd64.iso",
            "backend": "/ventoy/persistence/4gb.img"
        }
    ],
    "menu_class": [
        {
            "key": "linuxmint",
            "class": "linuxmint"
        },
        {
            "key": "ubuntu",
            "class": "ubuntu"
        }
    ]
}
Reply


Messages In This Thread
Change the Theme of Enventory - by totik - 05-19-2020, 05:10 AM
RE: Change the Theme of Enventory - by awengers44 - 05-19-2020, 05:59 AM
RE: Change the Theme of Enventory - by longpanda - 05-19-2020, 09:49 AM
RE: Change the Theme of Enventory - by scaramonga - 05-25-2020, 01:34 PM
RE: Change the Theme of Enventory - by Van Flusen - 05-25-2020, 02:55 PM
RE: Change the Theme of Enventory - by scaramonga - 05-25-2020, 05:00 PM
RE: Change the Theme of Enventory - by pdbpdb - 05-29-2020, 03:42 PM
RE: Change the Theme of Enventory - by renatofrota - 07-11-2020, 09:03 AM
RE: Change the Theme of Enventory - by Joh76530 - 07-21-2020, 11:46 PM
RE: Change the Theme of Enventory - by zeit - 07-22-2020, 03:18 PM
RE: Change the Theme of Enventory - by longpanda - 07-25-2020, 01:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)