mateosss / matter

Customizable GRUB theme inspired by Material Design
Boost Software License 1.0
868 stars 50 forks source link

Icons not showing correct #55

Closed 1vnt closed 3 years ago

1vnt commented 3 years ago

I installed icons for Linux mint and arch. Only one arch icon is showing, the Linuxmint and folder icons are missing. I'm using grub, any help or ideas?

mateosss commented 3 years ago

Could you copy and paste the command you are using and its output?

1vnt commented 3 years ago

I am using this command: sudo ./matter.py -b -i linux-mint folder linux linux arch folder arch arch arch. I only let it build and copy the Matter directory to /boot/grub/themes and apply it with grub-customizer. It gives me following output: [I] Build theme from user preferences [I] Convert icons [I] Build font So it should work right?

mateosss commented 3 years ago

Oh the problem is that you are using -b and manually copying the theme folder. The -b option does not apply the necessary modifications to your grub files to have the icons working.

Try running the same command without the -b flag (there is no need to manually copy anything) and it should work. Also, remember to keep matter in a permanent folder.

1vnt commented 3 years ago

Well, im doing the buildonly option only because I had the experience with for example Vimix, that the theme doesn't even get applied at all. Im going to try it without tomorrow.

1vnt commented 3 years ago

Its working now, thanks very much! Can you tell me why manually apllying doesn't work doe? What patches are being made for the icons?

mateosss commented 3 years ago

Great! About the system modifications you can read it here. Basically, having icons persist in a grub theme is usually not an easy task with a regular theme, mainly because the place the icons are specified (/boot/grub/grub.cfg) is constantly being regenerated through the grub-mkconfig command in every system update. So what happens when you install matter is that a line gets added to grub-mkconfig itself to, after the new grub.cfg is regenerated, overwrite it with the icons the user selected. There are still some moments in which icons will stop working temporarily or permanently, but they seldom happen and I have some ideas about how to fix them so eventually they will be worked out.