Ventoy Forums
Change the Theme of Enventory - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: Change the Theme of Enventory (/showthread.php?tid=38)

Pages: 1 2


Change the Theme of Enventory - totik - 05-19-2020

Hello Support-Team,

i want to change the Ventory theme.
I have Extract this theme, which i from this website downloaded

https://www.gnome-look.org/p/1342054/startdownload?file_id=1576066547&file_name=grub_lighthouse.tar.gz&file_type=application/x-gzip&file_size=1271976

unfortunately i can't see the theme changes when booting the USB Drive.
have I done something wrong?

attached are screenshots, theme.txt and ventory json files.
Thanks in advance


RE: Change the Theme of Enventory - awengers44 - 05-19-2020

(05-19-2020, 05:10 AM)totik Wrote: Hello Support-Team,

i want to change the Ventory theme.
I have Extract this theme, which i from this website downloaded

https://www.gnome-look.org/p/1342054/startdownload?file_id=1576066547&file_name=grub_lighthouse.tar.gz&file_type=application/x-gzip&file_size=1271976

unfortunately i can't see the theme changes when booting the USB Drive.
have I done something wrong?

attached are screenshots, theme.txt and ventory json files.
Thanks in advance

hi,
Access the fat partition, extract the file to the root directory and confirm the change.
If you are using windows os, you can access the volume with bootice.exe

I'm using google translation Sad(
https://yadi.sk/d/Uzlh2hopYLulsQ


RE: Change the Theme of Enventory - longpanda - 05-19-2020

(05-19-2020, 05:10 AM)totik Wrote: Hello Support-Team,

i want to change the Ventory theme.
I have Extract this theme, which i from this website downloaded

https://www.gnome-look.org/p/1342054/startdownload?file_id=1576066547&file_name=grub_lighthouse.tar.gz&file_type=application/x-gzip&file_size=1271976

unfortunately i can't see the theme changes when booting the USB Drive.
have I done something wrong?

attached are screenshots, theme.txt and ventory json files.
Thanks in advance

You must create a ventoy directory in the partition,  and put ventoy.json and the theme  under  ventoy directory.


RE: Change the Theme of Enventory - scaramonga - 05-25-2020

Doesn't work.  Instructions are not clear, but I have in correct places, will not show up whatsoever?


RE: Change the Theme of Enventory - Van Flusen - 05-25-2020

(05-25-2020, 01:34 PM)scaramonga Wrote: Doesn't work.  Instructions are not clear, but I have in correct places, will not show up whatsoever?

Create Folder: ventoy
Create txt file and rename txt in json
ventoy.json

{
       "theme": {
              "file": "xxxxx/theme.txt"
       }
}


RE: Change the Theme of Enventory - scaramonga - 05-25-2020

Yup, finally figured it out.  The instructions are really vague as to what to do, so I'll make it clearer for all.

1. Create folder on USB next to .ISO images called 'ventoy' - This should only contain the file 'ventoy.json', nothing else!

2. Put your theme folder here also, I'm using 'Vimix' theme, so I now have 2 folders - one 'ventoy', and one 'Vimix'.

[Image: Vx9g3VZ.png]

3. Edit the 'ventoy.json' file to point to your theme, but DO NOT include the folder 'ventoy' in path.  So mine is:

{
       "theme": {

              "file": "Vimix/theme.txt"

       }
}


Here is my .json file, edit as you wish Wink   This will also put version number colour in menu @ orange (#ffa600), so change if you desire also.
[attachment=26]


Works just fine now Smile Thx.


RE: Change the Theme of Enventory - pdbpdb - 05-29-2020

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!


RE: Change the Theme of Enventory - renatofrota - 07-11-2020

(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"
        }
    ]
}



RE: Change the Theme of Enventory - Joh76530 - 07-21-2020

Hello,

I try without success to integrate the icons into the iso. Could you please tell me if there is a mistake in the code?

Thanks in advance


Code:
{
    "theme": {
        "file": "/ventoy/vimix/theme.txt",
        "gfxmode": "1920x1080",
        "ventoy_left": "5%",
        "ventoy_top": "95%",
        "ventoy_color": "#000000ff"
    },
  
    "control": [
        { "VTOY_DEFAULT_MENU_MODE": "1" },
        { "VTOY_DEFAULT_SEARCH_ROOT": "/ISOs" }

    ],
    
     "menu_alias": [
        {
            "image": "/ISOs/ISOs_Live/Acronis.iso",
            "alias": "Acronis 2020"
        },
        {
            "image": "/ISOs/ISOs_Live/clonezilla.iso",
            "alias": "Clonezilla"
        },       
        {
            "image": "/ISOs/ISOs_Live/gparted.iso",
            "alias": "Gparted"
        },
        {
            "image": "/ISOs/ISOs_Live/Hirens.iso",
            "alias": "Hirens 10.6"
        },
        {
            "image": "/ISOs/ISOs_Live/pwhe.iso",
            "alias": "Partition Wizard"
        },
        {
            "image": "/ISOs/ISOs_Live/gparted.iso",
            "alias": "Gparted"
        },
        {
            "image": "/ISOs/ISOs_Microsoft/Windows_Serveur/SRV_2016.ISO",
            "alias": "Windows Serveur 2016"
        },
        {
            "image": "/ISOs/ISOs_Microsoft/Windows_10_Pro/W10P_1909.iso",
            "alias": "Windows 10 Pro (1909)"
        },
        {
            "dir": "/ISOs/ISOs_Microsoft",
            "alias": "Déploiement Miscrosoft"
        },
        {    
            "dir": "/ISOs/ISOs_Live",
            "alias": "Live CD de Dépannage"
        },
        {    
            "dir": "/ISOs/ISOs_Microsoft/Windows_10_Pro",
            "alias": "Installation Windows 10"
        },    
        {    
            "dir": "/ISOs/ISOs_Microsoft/Windows_Serveur",
            "alias": "Installation Windows Serveur"
        }
    ],
    
    "menu_class": [
        {
            "key": "Acronis"
            "class": "Acronis"
        },
        {
            "key": "Clonezilla"
            "class": "Clonezilla"
        },
        {
            "key": "gparted"
            "class": "gparted"
        },
        {
            "key": "Hirens"
            "class": "Hirens"
        },
        {
            "key": "pwhe"
            "class": "pwhe"
        },
        {
            "key": "W10P_1909"
            "class": "W10P_1909"
        },
        {
            "key": "SRV_2016"
            "class": "SRV_2016"
        }
    ]
}
   



RE: Change the Theme of Enventory - zeit - 07-22-2020

There you will find the answer http://json.parser.online.fr.