Lxtharia / minegrub-theme

A Grub Theme in the style of Minecraft!
MIT License
3.22k stars 41 forks source link

How to set resolution #25

Open iamdaniel6969 opened 1 year ago

iamdaniel6969 commented 1 year ago

Resolution is stretched

Lxtharia commented 1 year ago

I'd love to see a picture! One thing to check is if the settings in the /etc/default/grub is set correctly: https://wiki.archlinux.org/title/GRUB/Tips_and_tricks#Visual_configuration If only the background is stretched it should be enough to replace the background.png with a file that matches the display size. Hope this helps!

iamdaniel6969 commented 1 year ago

https://www.mediafire.com/file/zdl69wnqxz8ctmk/IMG_20230827_220538.jpg/file

Lxtharia commented 1 year ago

Ok, what is the resolution of your screen? And what resolution did you set in /etc/grub/default for GRUB_GFXMODE=? try setting it to your resolution, for example GRUB_GFXMODE=1920x1080x30,auto you can see supported resolutions by entering videoinfo in the console while in grub.

iamdaniel6969 commented 1 year ago

1366x768 and 1366x768x32

Lxtharia commented 1 year ago

Hmm, trying that resolution on my 1920x1080 screen works for the most part. I may try it in a VM later. I don't know what causes this, maybe you could post the output of videoinfo and set while in grub, maybe there is something weird there?

iamdaniel6969 commented 1 year ago

output of videoinfo https://www.mediafire.com/file/lg5nqig3xmw9398/IMG_20230828_140818.jpg/file

Lxtharia commented 1 year ago

Ah, your preferred resolution 1360x768 is not in that list so that explains it. Try setting it to 1024x768x32 and regenerate the grub.cfg It would still be as crammed (sorry about that, there is no easy solution yet for making elements smaller), but it shouldn't be stretched anymore.

iamdaniel6969 commented 1 year ago

it's still the same

On Mon, Aug 28, 2023, 14:18 Lxtharia @.***> wrote:

Ah, your preferred resolution 1360x768 is not in that list so that explains it. Try setting it to 1024x768x32 and regenerate the grub.cfg It would still be as crammed (sorry about that, there is no easy solution yet for making elements smaller), but it shouldn't be stretched anymore.

— Reply to this email directly, view it on GitHub https://github.com/Lxtharia/minegrub-theme/issues/25#issuecomment-1695595745, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5AB2HLML3CAUGQG2UC635LXXSD7ZANCNFSM6AAAAAA3FI2NGA . You are receiving this because you authored the thread.Message ID: @.***>

Lxtharia commented 5 months ago

Hello, sorry I abandoned this issue for a bit. Has this been fixed in the meantime? You need to look at what ratio your monitor has, for example 16:10, then choose the highest resolution from the output of videoinfo that matches your aspect ratio. Write this in the /etc/default/grub and regenerate the grub config

iamdaniel6969 commented 5 months ago

Hello! i got a new monitor and haven't had time to try minegrub since but i will soon, the monitor is actually 1920x1080 so that is very nice