-
Notifications
You must be signed in to change notification settings - Fork 8
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
Trouble adding an icon #44
Comments
Thank you for the detailed explanation of this issue. I'll try and see what is happening when I find the time and I'll report back here. |
I circled back to troubleshoot a little bit this evening and decided to test the
That path (
A standard way to write the stanza is with the icon field first, with the path to the icon relative to the EFI partition. However, rEFInd allows for specifying an icon path where the icon is inside the root file system instead of on the EFI partition (in my case, the icon is in It appears Armed with this clue, I moved the icon from the boot directory to the EFI partition, and moved the icon field above the volume field in my rEFInd stanza. The script succeeded after this change, and the boot screen correctly showed the Btrfs-embedded logo. Then, I changed back to This last piece I am still scratching my head over, because the custom icon was on the EFI partition with a path relative to the I'll close the issue here since I'm perfectly happy with this workaround. I realize this is kind of an unconventional bug that is unlikely to impact many folks, so I'm not sure if it is even worth to attempt some kind of fix or not, but either way I appreciate you taking a look and I thank you for your time. |
Yeah, I assumed it needs to be somewhere on the ESP and I also mentioned that prerequisite in the config file as well as the fact that it isn't being used as-is but that it's format is also validated.
This I don't understand, honestly. Perhaps rEFInd itself was somehow confused by the path, couldn't find the icon and used that ugly fallback icon instead? Still, that doesn't explain how it managed to find it afterwards. 😕 Anyhow, I'm glad it worked out for you in the end and thank you for a detailed subsequent reply. 👍 |
Hello,
I am having a little trouble getting an icon to show up on my snapshot stanza boot entry. I do have a custom icon I would like to use, but I can't seem to get any icons to display for some reason. I have tested with an icon from the default set (
refind/icons/os_arch.png
), and I have also tried to use the default configuration with themode = "default"
setting under[boot-stanza-generation.icon]
, but instead of showing an icon I recognize I am getting this small box with yellow and black diagonal striping (on the right in this image):The script announces it is validating the image, and appears to succeed (I have tried an invalid path as well; it is not shy to point out my mistake):
The stanza that is generated shows the expected path for the icon, here is the top part of the stanza:
The image is in the same directory as the main
refind.conf
file, but I have tested moving it to other directories like../refind/icons
and.../refind/btrfs-snapshot-stanzas/
as well with the same result (the script validates the image, but the icon doesn't show up as I would expect).The pillow library is installed. I think something else pulled it in because I didn't explicitly install it, but I did confirm it is there.
I did see this note in the README:
My impression is that instruction is only applicable if the PyPI package is installed, so I have not attempted to do that.
I am using the prebuilt binary from the Chaotic-AUR repo. When I became stumped on the icon I did remove the Chaotic-AUR package and built the AUR package myself with Paru, however this did not have an impact on the issue with the icon.
Other than the issue with the icon, the package seems to be working great--it is finding my snapshots, setting up the rw versions in
/root/.refind-btrfs
, and the snapshots are bootable.The text was updated successfully, but these errors were encountered: