Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[issue]: Theme not working #2982

Open
1 task done
Filippvas opened this issue Sep 22, 2024 · 18 comments
Open
1 task done

[issue]: Theme not working #2982

Filippvas opened this issue Sep 22, 2024 · 18 comments

Comments

@Filippvas
Copy link

Filippvas commented Sep 22, 2024

Official FAQ

  • I have checked the 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
Copy link

steve6375 commented Sep 22, 2024

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
Copy link
Author

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
Copy link

steve6375 commented Sep 22, 2024

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
Copy link

Also use the ventoyplugson app to edit the JSON file

@Filippvas
Copy link
Author

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
Copy link

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

@Filippvas
Copy link
Author

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

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

@steve6375
Copy link

Did you try ls command
Did you use ventoyplugson app?

@steve6375
Copy link

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

@Filippvas
Copy link
Author

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
Copy link
Author

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

@steve6375
Copy link

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
Copy link
Author

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
Copy link

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

@Filippvas
Copy link
Author

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
Copy link
Author

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

@steve6375
Copy link

steve6375 commented Sep 22, 2024

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants