ventoy / Ventoy

A new bootable USB solution.
https://www.ventoy.net
GNU General Public License v3.0
63.19k stars 4.11k forks source link

[issue]: Theme not working #2982

Open Filippvas opened 2 months ago

Filippvas commented 2 months ago

Official FAQ

Ventoy Version

1.0.99

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

No. I didn't try these alternative boot modes.

BIOS Mode

UEFI Mode

Partition Style

GPT

Disk Capacity

64GB

Disk Manufacturer

Sandisk

Image file checksum (if applicable)

None

Image file download link (if applicable)

No response

What happened?

I have installed a theme https://www.gnome-look.org/p/2206118 but it doesn't work and I get the default theme. I have the 1080- left dark option of the theme, have set up the fonts, have tried solutions from videos and forums but still I cant get it to work. this is the ventoy.json file: { "theme": { "file": "theme\elegantmojave\theme.txt", "gfxmode": "1920x1080", "display_mode": "GUI", "fonts": [ "\ventoy\theme\elegantmojave\dejavu_sans_12.pf2", "\ventoy\theme\elegantmojave\dejavu_sans_14.pf2", "\ventoy\theme\elegantmojave\dejavu_sans_16.pf2", "\ventoy\theme\elegantmojave\dejavu_sans_24.pf2", "\ventoy\theme\elegantmojave\dejavu_sans_32.pf2", "\ventoy\theme\elegantmojave\dejavu_sans_48.pf2", "\ventoy\theme\elegantmojave\terminus-12.pf2", "\ventoy\theme\elegantmojave\terminus-14.pf2", "\ventoy\theme\elegantmojave\terminus-16.pf2", "\ventoy\theme\elegantmojave\terminus-18.pf2" ] } }

Inside the ventoy folder is the ventoy.json file and the themes folder Indife the themes folder is the elegantmojave folder and inside it are the theme files

ventoy>themes, ventoy.json ventoy>themes>elegantmojave>theme.txt ...

I have tested the theme file from ventoy but it says that the file doesnt exist

steve6375 commented 2 months ago

The example on the themes document page clearly shows that you must use the full path to the theme.txt file https://ventoy.net/en/plugin_theme.html

\ventoy\themes\elegantmojave\theme.txt

Filippvas commented 2 months ago

The example on the themes document page clearly shows that you must use the full path to the theme.txt file https://ventoy.net/en/plugin_theme.html

\ventoy\themes\elegantmojave\theme.txt

It still doesn't work, it has the same results

steve6375 commented 2 months ago

You need to post the actual JSON file and a screenshot of the folder location of the theme.txt file The case must be correct and the full path must be correct Also you could try using the ls command from the grub2 shell when booted to Ventoy by pressing c in menu , and seeing if you can list the themes.txt file

steve6375 commented 2 months ago

Also use the ventoyplugson app to edit the JSON file

Filippvas commented 2 months ago

You need to post the actual JSON file and a screenshot of the folder location of the theme.txt file The case must be correct and the full path must be correct Also you could try using the ls command from the grub2 shell when booted to Ventoy by pressing c in menu , and seeing if you can list the themes.txt file

image ventoy.json

steve6375 commented 2 months ago

But you specified theme when it should be themes !!!!

Filippvas commented 2 months ago

But you specified theme when it should be themes !!!!

Changes it but still it doesn't work ventoy.json

steve6375 commented 2 months ago

Did you try ls command Did you use ventoyplugson app?

steve6375 commented 2 months ago

P.s. your file has \ but example shows forward slashes in paths /

Filippvas commented 2 months ago

I tried the ls command but i didn't know what to do. I also tried the ventoyplugson and changed the resolution to 1080p but nothing changes

Filippvas commented 2 months ago

If I change from \ to / the test says that the command has \ so it is the same I think

steve6375 commented 2 months ago

Are you sure it was changed? Load up JSON and check, then test again in Ventoy Use ls command in grub2 to list files E.g. ls /ventoy/ ls /ventoy/themes/ ls /ventoy/themes/elegantmojave/

It should list theme.txt

Filippvas commented 2 months ago

Are you sure it was changed? Load up JSON and check, then test again in Ventoy Use ls command in grub2 to list files E.g. ls /ventoy/ ls /ventoy/themes/ ls /ventoy/themes/elegantmojave/

It should list theme.txt

If I use ls in grub 2 it just says:

(proc) (vt_menu_tarfs) (hd0) (hd0,gpt2) (hd1) (hd1,gpt4) (hd1,gpt4) (hd1,gpt3) (hd1,gpt2) (hd1,gpt1)

steve6375 commented 2 months ago

You may need to specify the device at the start of the path E.g. ls (hd1,gpt1)/

Filippvas commented 2 months ago

If i use ls it just says the file type and size

Partition hd1,gpt1 (or 2,3,4): filesystem type fat, UUID ... - Partition start at ...KiB - Total Size ...KiB

Filippvas commented 2 months ago

Also hd1 gpt 1 is fat, 2 is unknown and 3 and 4 are ntfs

steve6375 commented 2 months ago

Did you see the forward slash ? This is a forward slash /

Why are you not typing it ?

Is there no hd0,gpt1 listed ? That is usually the Ventoy partition but you did not list that before?

Filippvas commented 2 months ago

There is one. I have gone inside all of the partitions, I have tried ls, ventoy, ventoy.json, themes but I always get an invalid file name