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

Icons #2

Open
EvilSeal1980 opened this issue Jan 3, 2021 · 3 comments
Open

Icons #2

EvilSeal1980 opened this issue Jan 3, 2021 · 3 comments
Assignees

Comments

@EvilSeal1980
Copy link

I am in Garuda Linux whose icon is not in icons folder so it's default selecting the os_linux.png
So how would I use my custom icon or select any other icon in the matrix folder??

@Yannis4444
Copy link
Owner

This shouldn't be a problem. I did the same for a friend of mine with EndeavourOS.

rEFInd will look for the icons in the themes/Matrix-rEFInd/icons directory. There you would have to add an icon with the same naming convention as the other icons. My guess would be os_garuda.png but it might be something else like os_garudaLinux.png. To find out which it is, you can add multiple different icons with the names it might have and reboot. Then you can hopefully find what the name of the icon needs to be.

Or you can look in you EFI directory in your boot partition where you will probably find a folder for garuda and use the folders name with the prefix os_.

"You can place a boot loader in a directory with a name that matches one of rEFInd's standard icons, which take names of the form os_name.icns or os_name.png. To use such an icon, you would place the boot loader in the directory called name. For instance, the boot loader in the EFI/freebsd directory will use rEFInd's os_freebsd.png icon." (https://www.rodsbooks.com/refind/configfile.html#icons)

Once you have the name of the icon, you would have to create the icon you would like to use. For that I would open one of the other icons, copy the actual icon (There are some good ones here) in there and change it until you are happy with it. Or you could use any other icon by just adding it in the folder with the correct name.

Or you could create a new menuentry.

For you that would probably be something like this example but without the options:

menuentry "Windows via shell script" {
    icon \EFI\refind\icons\os_win.png
    loader \EFI\tools\shell.efi
    options "fs0:\EFI\tools\launch_windows.nsh"
}

I haven't used these custom entries so I can't really give you more information than what is on the refind documentation.

I hope this helps. But if it doesn't or you encounter any other issues please let me know.

@Yannis4444 Yannis4444 self-assigned this Jan 3, 2021
@EvilSeal1980
Copy link
Author

EvilSeal1980 commented Jan 3, 2021

Can you help me regarding the theme orientation
The icons tend to little outside if I compare with your theme pic..
IMG_20210103_113821_461.jpg

And please let me know if you have a telegram account
Communicating there would be better...😃

@Yannis4444
Copy link
Owner

You probably have to change the big_icon_size 380 to a smaller number. It can be a pain to get the right size, I had to restart my Laptop more often than I'd like to admit when creating this.

As I do not have telegram, I can't give you my account there, but you can find me on Discord under 'Yannis4444#7066`, if you like.

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