dakanji / RefindPlus

A Boot Manager for Mac and PC
GNU General Public License v3.0
320 stars 68 forks source link

Wrong icon for detected kernels #170

Closed emperor06 closed 1 year ago

emperor06 commented 1 year ago

RefindPlus Version

v0.14.0.AA Release

Device Type

UEFI PC

Problem Description

When scanning for linux kernels, the icon can be set using the filesystem's label or the gpt partition's label. I don't know if it's a bug or a feature, but the word 'linux' is always appended first to the icon hints:

Trying to Locate an Icon Based on Hints:- 'linux,deboot,DEBIAN,BOOT'

Because of this, the gpt label is never used and all the kernels have the same os_linux.png icon.

Problem Point

Before starting a loader or tool

Affected Items

Lin OS Loader

Debug Log

23p31j1712.log

***[ Creating Icon Hint From Loader Path:- 'vmlinuz-6.4.0-3-amd64'
0:781    0:000  Merge Hints Based on Filesystem Name:- 'deboot'
0:782    0:000  Merge Hints Based on Partition Name:- 'DEBIAN_BOOT'
0:783    0:000  Trying to Locate an Icon Based on Hints:- 'linux,deboot,DEBIAN,BOOT'
***[ Trying to Load Icon from 'themes\minimal\icons' with Base Name:- 'os_linux'
***[ In egLoadFile ... Loaded File:- 'themes\minimal\icons\os_linux.png'

Additional Context

No response

dakanji commented 1 year ago

Consult the ReadMe on the front page of this repo.

Hint ... go the the Divergence Section and read the Loader Icons entry.

emperor06 commented 1 year ago

My apologies, I missed that option. That was the issue. Thanks a lot for the hint.

github-actions[bot] commented 1 year ago

This thread is being locked.

Please use the Discussions Feature for follow-on discussion or raise a new issue if appropriate.