Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change the Theme of Enventory
#1
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/sta...ze=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


Attached Files Thumbnail(s)
           

.txt   theme.txt (Size: 989 bytes / Downloads: 11)
Reply
#2
(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/sta...ze=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
Reply
#3
(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/sta...ze=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.
Reply
#4
Doesn't work.  Instructions are not clear, but I have in correct places, will not show up whatsoever?
Reply
#5
(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"
       }
}
Reply
#6
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.

.zip   ventoy.zip (Size: 266 bytes / Downloads: 42)


Works just fine now Smile Thx.
Reply
#7
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!


Attached Files Thumbnail(s)
   
Reply
#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
#9
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"
        }
    ]
}
   
Ventoy 1.0.15 on SSD
Reply
#10
There you will find the answer http://json.parser.online.fr.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)